{ "type": "File", "start": 0, "end": 20039, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 597, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 20039, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 597, "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": 20003, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 594, "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": 20003, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 594, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 5952, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 116, "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": 5952, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 116, "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 * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4849, "end": 4865, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 4849, "end": 4864, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4849, "end": 4859, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4854, "end": 4859, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 4862, "end": 4864, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4871, "end": 4911, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 4871, "end": 4910, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4871, "end": 4905, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4871, "end": 4881, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4876, "end": 4881, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 4882, "end": 4904, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4882, "end": 4894, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4882, "end": 4886, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 19 } } }, "property": { "type": "Identifier", "start": 4887, "end": 4894, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4895, "end": 4904, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 4908, "end": 4910, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5034, "end": 5095, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 5034, "end": 5094, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5034, "end": 5055, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5034, "end": 5038, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5039, "end": 5055, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 5058, "end": 5094, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5090, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "CallExpression", "start": 5058, "end": 5085, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5080, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 50 } }, "object": { "type": "Identifier", "start": 5058, "end": 5074, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 5075, "end": 5080, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5081, "end": 5084, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 5086, "end": 5090, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5091, "end": 5093, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5254, "end": 5279, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 5254, "end": 5278, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5254, "end": 5273, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5254, "end": 5258, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5259, "end": 5273, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 5276, "end": 5278, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5332, "end": 5511, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 101, "column": 5 } }, "test": { "type": "MemberExpression", "start": 5335, "end": 5351, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5335, "end": 5339, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5340, "end": 5351, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5360, "end": 5374, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 20 } }, "expression": { "type": "CallExpression", "start": 5360, "end": 5373, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 5360, "end": 5371, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5360, "end": 5364, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 10 } } }, "property": { "type": "Identifier", "start": 5365, "end": 5371, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 5385, "end": 5511, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 101, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5394, "end": 5458, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 70 } }, "expression": { "type": "CallExpression", "start": 5394, "end": 5457, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 5394, "end": 5406, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 18 } }, "object": { "type": "Identifier", "start": 5394, "end": 5401, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 5402, "end": 5406, "loc": { "start": { "line": 99, "column": 14 }, "end": { "line": 99, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 5407, "end": 5456, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 5411, "end": 5427, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 5408, "end": 5409, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 5428, "end": 5455, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 5466, "end": 5504, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 44 } }, "argument": { "type": "NewExpression", "start": 5472, "end": 5503, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 43 } }, "callee": { "type": "Identifier", "start": 5476, "end": 5481, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 5482, "end": 5502, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "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": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5638, "end": 5723, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 108, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 5641, "end": 5675, "loc": { "start": { "line": 107, "column": 7 }, "end": { "line": 107, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5642, "end": 5675, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 41 } }, "object": { "type": "Identifier", "start": 5642, "end": 5648, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 5649, "end": 5674, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5684, "end": 5723, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5684, "end": 5722, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5684, "end": 5717, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 39 } }, "object": { "type": "Identifier", "start": 5684, "end": 5690, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5691, "end": 5716, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 5720, "end": 5722, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "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": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5737, "end": 5827, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 5737, "end": 5826, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5737, "end": 5819, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 86 } }, "object": { "type": "MemberExpression", "start": 5737, "end": 5770, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 37 } }, "object": { "type": "Identifier", "start": 5737, "end": 5743, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5744, "end": 5769, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 5771, "end": 5818, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 5771, "end": 5795, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 62 } }, "object": { "type": "MemberExpression", "start": 5771, "end": 5785, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 52 } }, "object": { "type": "ThisExpression", "start": 5771, "end": 5775, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 42 } } }, "property": { "type": "Identifier", "start": 5776, "end": 5785, "loc": { "start": { "line": 110, "column": 43 }, "end": { "line": 110, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 5786, "end": 5795, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5796, "end": 5817, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 84 } }, "object": { "type": "ThisExpression", "start": 5796, "end": 5800, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 67 } } }, "property": { "type": "Identifier", "start": 5801, "end": 5817, "loc": { "start": { "line": 110, "column": 68 }, "end": { "line": 110, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 5822, "end": 5826, "loc": { "start": { "line": 110, "column": 89 }, "end": { "line": 110, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5887, "end": 5947, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 5887, "end": 5946, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5887, "end": 5917, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5887, "end": 5891, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5892, "end": 5917, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 5920, "end": 5946, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 63 } }, "callee": { "type": "Identifier", "start": 5924, "end": 5940, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 5941, "end": 5945, "loc": { "start": { "line": 115, "column": 58 }, "end": { "line": 115, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] } ], "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 6072, "end": 7466, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 171, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6072, "end": 6091, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 6094, "end": 7466, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 171, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6095, "end": 6101, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 31 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 6106, "end": 7466, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 171, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 6113, "end": 6144, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6117, "end": 6143, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 34 } }, "id": { "type": "Identifier", "start": 6117, "end": 6122, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 6125, "end": 6143, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 34 } }, "object": { "type": "MemberExpression", "start": 6125, "end": 6137, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 28 } }, "object": { "type": "ThisExpression", "start": 6125, "end": 6129, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, "property": { "type": "Identifier", "start": 6130, "end": 6137, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6138, "end": 6143, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6207, "end": 6249, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 128, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 6210, "end": 6227, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 24 } }, "left": { "type": "Identifier", "start": 6210, "end": 6216, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6221, "end": 6227, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 6236, "end": 6249, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 6243, "end": 6248, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6302, "end": 6391, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 134, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 6305, "end": 6350, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 6305, "end": 6335, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 6312, "end": 6335, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6312, "end": 6324, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 26 } }, "object": { "type": "ThisExpression", "start": 6312, "end": 6316, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6317, "end": 6324, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6325, "end": 6335, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6340, "end": 6350, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6359, "end": 6391, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 38 } }, "expression": { "type": "CallExpression", "start": 6359, "end": 6390, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 6359, "end": 6382, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 29 } }, "object": { "type": "MemberExpression", "start": 6359, "end": 6371, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6359, "end": 6363, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 10 } } }, "property": { "type": "Identifier", "start": 6364, "end": 6371, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6372, "end": 6382, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6383, "end": 6389, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6403, "end": 6490, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 137, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 6406, "end": 6441, "loc": { "start": { "line": 136, "column": 7 }, "end": { "line": 136, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6407, "end": 6441, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 42 } }, "object": { "type": "MemberExpression", "start": 6407, "end": 6417, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6407, "end": 6411, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, "property": { "type": "Identifier", "start": 6412, "end": 6417, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6418, "end": 6440, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6418, "end": 6430, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 31 } }, "object": { "type": "ThisExpression", "start": 6418, "end": 6422, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 23 } } }, "property": { "type": "Identifier", "start": 6423, "end": 6430, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6431, "end": 6440, "loc": { "start": { "line": 136, "column": 32 }, "end": { "line": 136, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 6450, "end": 6490, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 6450, "end": 6489, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6450, "end": 6484, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6450, "end": 6460, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6450, "end": 6454, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, "property": { "type": "Identifier", "start": 6455, "end": 6460, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6461, "end": 6483, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6461, "end": 6473, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6461, "end": 6465, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 21 } } }, "property": { "type": "Identifier", "start": 6466, "end": 6473, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6474, "end": 6483, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6487, "end": 6489, "loc": { "start": { "line": 137, "column": 43 }, "end": { "line": 137, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 6498, "end": 6626, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6502, "end": 6625, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 131 } }, "id": { "type": "Identifier", "start": 6502, "end": 6514, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 6517, "end": 6625, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6547, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 53 } }, "object": { "type": "MemberExpression", "start": 6517, "end": 6531, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 37 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 27 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6531, "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 139, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6532, "end": 6547, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6548, "end": 6554, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 6556, "end": 6590, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 96 } }, "object": { "type": "MemberExpression", "start": 6556, "end": 6566, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 72 } }, "object": { "type": "ThisExpression", "start": 6556, "end": 6560, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 66 } } }, "property": { "type": "Identifier", "start": 6561, "end": 6566, "loc": { "start": { "line": 139, "column": 67 }, "end": { "line": 139, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6567, "end": 6589, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 95 } }, "object": { "type": "MemberExpression", "start": 6567, "end": 6579, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 85 } }, "object": { "type": "ThisExpression", "start": 6567, "end": 6571, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 77 } } }, "property": { "type": "Identifier", "start": 6572, "end": 6579, "loc": { "start": { "line": 139, "column": 78 }, "end": { "line": 139, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6580, "end": 6589, "loc": { "start": { "line": 139, "column": 86 }, "end": { "line": 139, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 6592, "end": 6604, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 110 } }, "object": { "type": "ThisExpression", "start": 6592, "end": 6596, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 102 } } }, "property": { "type": "Identifier", "start": 6597, "end": 6604, "loc": { "start": { "line": 139, "column": 103 }, "end": { "line": 139, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 6606, "end": 6624, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 130 } }, "object": { "type": "ThisExpression", "start": 6606, "end": 6610, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 116 } } }, "property": { "type": "Identifier", "start": 6611, "end": 6624, "loc": { "start": { "line": 139, "column": 117 }, "end": { "line": 139, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 6634, "end": 7388, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 166, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6637, "end": 6688, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 58 } }, "left": { "type": "MemberExpression", "start": 6637, "end": 6671, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6637, "end": 6647, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6637, "end": 6641, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 11 } } }, "property": { "type": "Identifier", "start": 6642, "end": 6647, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6648, "end": 6670, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6648, "end": 6660, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 30 } }, "object": { "type": "ThisExpression", "start": 6648, "end": 6652, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 22 } } }, "property": { "type": "Identifier", "start": 6653, "end": 6660, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6661, "end": 6670, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 6676, "end": 6688, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 6689, "end": 7388, "loc": { "start": { "line": 141, "column": 59 }, "end": { "line": 166, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6785, "end": 6918, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 148, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 6788, "end": 6884, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 105 } }, "left": { "type": "MemberExpression", "start": 6788, "end": 6810, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 31 } }, "object": { "type": "MemberExpression", "start": 6788, "end": 6800, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 21 } }, "object": { "type": "ThisExpression", "start": 6788, "end": 6792, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6793, "end": 6800, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6801, "end": 6810, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 6814, "end": 6884, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 6814, "end": 6844, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6814, "end": 6828, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 49 } }, "object": { "type": "ThisExpression", "start": 6814, "end": 6818, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 39 } } }, "property": { "type": "Identifier", "start": 6819, "end": 6828, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6829, "end": 6844, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6845, "end": 6855, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 76 } }, "object": { "type": "ThisExpression", "start": 6845, "end": 6849, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 70 } } }, "property": { "type": "Identifier", "start": 6850, "end": 6855, "loc": { "start": { "line": 146, "column": 71 }, "end": { "line": 146, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 6857, "end": 6869, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 90 } }, "object": { "type": "ThisExpression", "start": 6857, "end": 6861, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 82 } } }, "property": { "type": "Identifier", "start": 6862, "end": 6869, "loc": { "start": { "line": 146, "column": 83 }, "end": { "line": 146, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 6871, "end": 6883, "loc": { "start": { "line": 146, "column": 92 }, "end": { "line": 146, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6885, "end": 6918, "loc": { "start": { "line": 146, "column": 106 }, "end": { "line": 148, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 6896, "end": 6909, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 6903, "end": 6908, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 6928, "end": 6978, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 6928, "end": 6977, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6928, "end": 6962, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6938, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 10 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6938, "loc": { "start": { "line": 150, "column": 11 }, "end": { "line": 150, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6939, "end": 6961, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6939, "end": 6951, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6939, "end": 6943, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, "property": { "type": "Identifier", "start": 6944, "end": 6951, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6952, "end": 6961, "loc": { "start": { "line": 150, "column": 30 }, "end": { "line": 150, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 6965, "end": 6977, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 6988, "end": 7049, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 153, "column": 50 } }, "test": { "type": "Identifier", "start": 6991, "end": 6996, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 7007, "end": 7049, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 50 } }, "expression": { "type": "CallExpression", "start": 7007, "end": 7048, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7007, "end": 7018, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 19 } }, "object": { "type": "Identifier", "start": 7007, "end": 7014, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7015, "end": 7018, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7019, "end": 7035, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 7037, "end": 7047, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 48 } }, "object": { "type": "ThisExpression", "start": 7037, "end": 7041, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 42 } } }, "property": { "type": "Identifier", "start": 7042, "end": 7047, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 48 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7126, "end": 7207, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 159, "column": 44 } }, "test": { "type": "MemberExpression", "start": 7129, "end": 7160, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7129, "end": 7141, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7129, "end": 7133, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7134, "end": 7141, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7142, "end": 7160, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7171, "end": 7207, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7171, "end": 7206, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7171, "end": 7194, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7171, "end": 7175, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, "property": { "type": "Identifier", "start": 7176, "end": 7194, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7195, "end": 7205, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7195, "end": 7199, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 36 } } }, "property": { "type": "Identifier", "start": 7200, "end": 7205, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 42 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7266, "end": 7381, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 165, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 7269, "end": 7312, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7269, "end": 7297, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7276, "end": 7297, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7276, "end": 7288, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7276, "end": 7280, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7281, "end": 7288, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7289, "end": 7297, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7302, "end": 7312, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7323, "end": 7381, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 66 } }, "expression": { "type": "CallExpression", "start": 7323, "end": 7380, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 7323, "end": 7344, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 12 } } }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7336, "end": 7344, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7345, "end": 7379, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 64 } }, "object": { "type": "MemberExpression", "start": 7345, "end": 7355, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7345, "end": 7349, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 34 } } }, "property": { "type": "Identifier", "start": 7350, "end": 7355, "loc": { "start": { "line": 165, "column": 35 }, "end": { "line": 165, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7356, "end": 7378, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 63 } }, "object": { "type": "MemberExpression", "start": 7356, "end": 7368, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 53 } }, "object": { "type": "ThisExpression", "start": 7356, "end": 7360, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 45 } } }, "property": { "type": "Identifier", "start": 7361, "end": 7368, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7369, "end": 7378, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7400, "end": 7461, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } }, "test": { "type": "Identifier", "start": 7403, "end": 7408, "loc": { "start": { "line": 168, "column": 7 }, "end": { "line": 168, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 7409, "end": 7461, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 170, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7418, "end": 7454, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 42 } }, "expression": { "type": "CallExpression", "start": 7418, "end": 7453, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 7418, "end": 7429, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 17 } }, "object": { "type": "Identifier", "start": 7418, "end": 7425, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7426, "end": 7429, "loc": { "start": { "line": 169, "column": 14 }, "end": { "line": 169, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7430, "end": 7444, "loc": { "start": { "line": 169, "column": 18 }, "end": { "line": 169, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 7446, "end": 7452, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7573, "end": 7692, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 180, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7573, "end": 7591, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 176, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7594, "end": 7692, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 180, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7600, "end": 7692, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 180, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7607, "end": 7687, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 7 } }, "expression": { "type": "CallExpression", "start": 7607, "end": 7686, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 7607, "end": 7620, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7607, "end": 7611, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 8 } } }, "property": { "type": "Identifier", "start": 7612, "end": 7620, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7621, "end": 7685, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 179, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7622, "end": 7630, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 7635, "end": 7685, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 179, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7644, "end": 7678, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 40 } }, "expression": { "type": "CallExpression", "start": 7644, "end": 7677, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 7644, "end": 7665, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 27 } }, "object": { "type": "Identifier", "start": 7644, "end": 7652, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 7653, "end": 7665, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7666, "end": 7676, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 38 } }, "object": { "type": "ThisExpression", "start": 7666, "end": 7670, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 32 } } }, "property": { "type": "Identifier", "start": 7671, "end": 7676, "loc": { "start": { "line": 178, "column": 33 }, "end": { "line": 178, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 7700, "end": 7818, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7822, "end": 8104, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 195, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7822, "end": 7832, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 186, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7835, "end": 8104, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 195, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7836, "end": 7845, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 7850, "end": 8104, "loc": { "start": { "line": 186, "column": 30 }, "end": { "line": 195, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7857, "end": 7905, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 7857, "end": 7904, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 7857, "end": 7866, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 7869, "end": 7904, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 51 } }, "left": { "type": "Identifier", "start": 7869, "end": 7878, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 7882, "end": 7904, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 51 } }, "object": { "type": "MemberExpression", "start": 7882, "end": 7894, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 41 } }, "object": { "type": "ThisExpression", "start": 7882, "end": 7886, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 33 } } }, "property": { "type": "Identifier", "start": 7887, "end": 7894, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7895, "end": 7904, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 7911, "end": 7951, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 7911, "end": 7950, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7911, "end": 7945, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7911, "end": 7921, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 14 } }, "object": { "type": "ThisExpression", "start": 7911, "end": 7915, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 8 } } }, "property": { "type": "Identifier", "start": 7916, "end": 7921, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7922, "end": 7944, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7922, "end": 7934, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7922, "end": 7926, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 19 } } }, "property": { "type": "Identifier", "start": 7927, "end": 7934, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7935, "end": 7944, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7948, "end": 7950, "loc": { "start": { "line": 188, "column": 41 }, "end": { "line": 188, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7959, "end": 8014, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8020, "end": 8099, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 194, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8023, "end": 8054, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8023, "end": 8035, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8023, "end": 8027, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8028, "end": 8035, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8036, "end": 8054, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8063, "end": 8099, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8063, "end": 8098, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8063, "end": 8086, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8063, "end": 8067, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 10 } } }, "property": { "type": "Identifier", "start": 8068, "end": 8086, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8087, "end": 8097, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8087, "end": 8091, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 34 } } }, "property": { "type": "Identifier", "start": 8092, "end": 8097, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7959, "end": 8014, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 7700, "end": 7818, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "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": 8110, "end": 8272, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8276, "end": 8560, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 211, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8276, "end": 8284, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 201, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8287, "end": 8560, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 211, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8288, "end": 8297, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 23 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8302, "end": 8560, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 211, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8309, "end": 8357, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8309, "end": 8356, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8309, "end": 8318, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8321, "end": 8356, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 51 } }, "left": { "type": "Identifier", "start": 8321, "end": 8330, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8334, "end": 8356, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8334, "end": 8346, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8334, "end": 8338, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 33 } } }, "property": { "type": "Identifier", "start": 8339, "end": 8346, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8347, "end": 8356, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8365, "end": 8420, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8426, "end": 8505, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 208, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8429, "end": 8460, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8429, "end": 8441, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8429, "end": 8433, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8434, "end": 8441, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8442, "end": 8460, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8469, "end": 8505, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8469, "end": 8504, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8469, "end": 8492, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8469, "end": 8473, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 10 } } }, "property": { "type": "Identifier", "start": 8474, "end": 8492, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8493, "end": 8503, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8493, "end": 8497, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, "property": { "type": "Identifier", "start": 8498, "end": 8503, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8365, "end": 8420, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 8513, "end": 8555, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 8520, "end": 8554, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 45 } }, "object": { "type": "MemberExpression", "start": 8520, "end": 8530, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8520, "end": 8524, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 15 } } }, "property": { "type": "Identifier", "start": 8525, "end": 8530, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8531, "end": 8553, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 44 } }, "object": { "type": "MemberExpression", "start": 8531, "end": 8543, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 34 } }, "object": { "type": "ThisExpression", "start": 8531, "end": 8535, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 26 } } }, "property": { "type": "Identifier", "start": 8536, "end": 8543, "loc": { "start": { "line": 210, "column": 27 }, "end": { "line": 210, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8544, "end": 8553, "loc": { "start": { "line": 210, "column": 35 }, "end": { "line": 210, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 8110, "end": 8272, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 8566, "end": 8726, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8730, "end": 9007, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 227, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8730, "end": 8738, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8741, "end": 9007, "loc": { "start": { "line": 218, "column": 13 }, "end": { "line": 227, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8742, "end": 8747, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 19 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 8749, "end": 8758, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 30 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8763, "end": 9007, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 227, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8770, "end": 8818, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8770, "end": 8817, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8770, "end": 8779, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8782, "end": 8817, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 51 } }, "left": { "type": "Identifier", "start": 8782, "end": 8791, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8795, "end": 8817, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8795, "end": 8807, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8795, "end": 8799, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 33 } } }, "property": { "type": "Identifier", "start": 8800, "end": 8807, "loc": { "start": { "line": 219, "column": 34 }, "end": { "line": 219, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8808, "end": 8817, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 8824, "end": 8854, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 8824, "end": 8853, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8824, "end": 8845, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 25 } }, "object": { "type": "MemberExpression", "start": 8824, "end": 8834, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 14 } }, "object": { "type": "ThisExpression", "start": 8824, "end": 8828, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 8 } } }, "property": { "type": "Identifier", "start": 8829, "end": 8834, "loc": { "start": { "line": 220, "column": 9 }, "end": { "line": 220, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 8835, "end": 8844, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 8848, "end": 8853, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8862, "end": 8917, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8923, "end": 9002, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 226, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8926, "end": 8957, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8926, "end": 8938, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8926, "end": 8930, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8931, "end": 8938, "loc": { "start": { "line": 225, "column": 12 }, "end": { "line": 225, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8939, "end": 8957, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8966, "end": 9002, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8966, "end": 9001, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8966, "end": 8989, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8966, "end": 8970, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, "property": { "type": "Identifier", "start": 8971, "end": 8989, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8990, "end": 9000, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8990, "end": 8994, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 34 } } }, "property": { "type": "Identifier", "start": 8995, "end": 9000, "loc": { "start": { "line": 226, "column": 35 }, "end": { "line": 226, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8862, "end": 8917, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 8566, "end": 8726, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9015, "end": 9124, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9128, "end": 9191, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 235, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9128, "end": 9140, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 233, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9143, "end": 9191, "loc": { "start": { "line": 233, "column": 17 }, "end": { "line": 235, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9144, "end": 9152, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 26 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 9157, "end": 9191, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 235, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9164, "end": 9186, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9164, "end": 9185, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9164, "end": 9174, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9164, "end": 9168, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 8 } } }, "property": { "type": "Identifier", "start": 9169, "end": 9174, "loc": { "start": { "line": 234, "column": 9 }, "end": { "line": 234, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 9177, "end": 9185, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9015, "end": 9124, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "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": 9197, "end": 9323, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9327, "end": 9461, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 245, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9327, "end": 9337, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 241, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9340, "end": 9461, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 245, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9340, "end": 9346, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 9350, "end": 9461, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 245, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9357, "end": 9379, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9357, "end": 9378, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 9357, "end": 9363, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 9366, "end": 9378, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 25 } }, "left": { "type": "Identifier", "start": 9366, "end": 9372, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 9376, "end": 9378, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 9385, "end": 9436, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9385, "end": 9435, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9385, "end": 9397, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 16 } }, "object": { "type": "ThisExpression", "start": 9385, "end": 9389, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 8 } } }, "property": { "type": "Identifier", "start": 9390, "end": 9397, "loc": { "start": { "line": 243, "column": 9 }, "end": { "line": 243, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 9400, "end": 9435, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 9400, "end": 9413, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 32 } }, "object": { "type": "Identifier", "start": 9400, "end": 9406, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 9407, "end": 9413, "loc": { "start": { "line": 243, "column": 26 }, "end": { "line": 243, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9414, "end": 9426, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 45 } }, "object": { "type": "ThisExpression", "start": 9414, "end": 9418, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 37 } } }, "property": { "type": "Identifier", "start": 9419, "end": 9426, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 9428, "end": 9434, "loc": { "start": { "line": 243, "column": 47 }, "end": { "line": 243, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 9442, "end": 9456, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 } }, "expression": { "type": "CallExpression", "start": 9442, "end": 9455, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 9442, "end": 9453, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 15 } }, "object": { "type": "ThisExpression", "start": 9442, "end": 9446, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, "property": { "type": "Identifier", "start": 9447, "end": 9453, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "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": 9197, "end": 9323, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "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": 9467, "end": 9576, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9580, "end": 9726, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 255, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9580, "end": 9585, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9588, "end": 9726, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 255, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9594, "end": 9726, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 255, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9601, "end": 9633, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 9601, "end": 9632, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9601, "end": 9627, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9601, "end": 9617, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9601, "end": 9605, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, "property": { "type": "Identifier", "start": 9606, "end": 9617, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9618, "end": 9627, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 9630, "end": 9632, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 9639, "end": 9690, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9639, "end": 9689, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9639, "end": 9665, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9639, "end": 9655, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9639, "end": 9643, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, "property": { "type": "Identifier", "start": 9644, "end": 9655, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9656, "end": 9665, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 9668, "end": 9689, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 54 } }, "object": { "type": "ThisExpression", "start": 9668, "end": 9672, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 37 } } }, "property": { "type": "Identifier", "start": 9673, "end": 9689, "loc": { "start": { "line": 253, "column": 38 }, "end": { "line": 253, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 9696, "end": 9721, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9696, "end": 9720, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9696, "end": 9715, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9696, "end": 9700, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, "property": { "type": "Identifier", "start": 9701, "end": 9715, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 9718, "end": 9720, "loc": { "start": { "line": 254, "column": 26 }, "end": { "line": 254, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 9467, "end": 9576, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "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": 9732, "end": 9937, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9941, "end": 10316, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 270, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9941, "end": 9949, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9952, "end": 10316, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 270, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9953, "end": 9961, "loc": { "start": { "line": 261, "column": 14 }, "end": { "line": 261, "column": 22 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 9966, "end": 10316, "loc": { "start": { "line": 261, "column": 27 }, "end": { "line": 270, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 9973, "end": 10157, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 9976, "end": 10010, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9977, "end": 10010, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 41 } }, "object": { "type": "Identifier", "start": 9977, "end": 9983, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 9984, "end": 10009, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10011, "end": 10157, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10020, "end": 10103, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 89 } }, "expression": { "type": "CallExpression", "start": 10020, "end": 10102, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 10020, "end": 10032, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 18 } }, "object": { "type": "Identifier", "start": 10020, "end": 10027, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10028, "end": 10032, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 10033, "end": 10101, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 10034, "end": 10100, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "column": 86 } }, "value": { "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 10111, "end": 10150, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 45 } }, "argument": { "type": "NewExpression", "start": 10117, "end": 10149, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 44 } }, "callee": { "type": "Identifier", "start": 10121, "end": 10126, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 10127, "end": 10148, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 10169, "end": 10311, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 269, "column": 6 } }, "argument": { "type": "CallExpression", "start": 10176, "end": 10311, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 269, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10176, "end": 10230, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 65 } }, "object": { "type": "CallExpression", "start": 10176, "end": 10222, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 10176, "end": 10187, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 22 } }, "object": { "type": "Identifier", "start": 10176, "end": 10182, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 10183, "end": 10187, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10188, "end": 10221, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 56 } }, "object": { "type": "Identifier", "start": 10188, "end": 10194, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10195, "end": 10220, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 10223, "end": 10230, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10231, "end": 10310, "loc": { "start": { "line": 267, "column": 66 }, "end": { "line": 269, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10232, "end": 10235, "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 10240, "end": 10310, "loc": { "start": { "line": 267, "column": 75 }, "end": { "line": 269, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10249, "end": 10303, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 60 } }, "expression": { "type": "CallExpression", "start": 10249, "end": 10302, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 59 } }, "callee": { "type": "Identifier", "start": 10249, "end": 10257, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 10258, "end": 10296, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 53 } }, "object": { "type": "MemberExpression", "start": 10258, "end": 10291, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 48 } }, "object": { "type": "Identifier", "start": 10258, "end": 10264, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10265, "end": 10290, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 10292, "end": 10295, "loc": { "start": { "line": 268, "column": 49 }, "end": { "line": 268, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 10298, "end": 10301, "loc": { "start": { "line": 268, "column": 55 }, "end": { "line": 268, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 9732, "end": 9937, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 10322, "end": 10603, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 10607, "end": 11846, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 320, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10607, "end": 10621, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 10624, "end": 11846, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 320, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10625, "end": 10632, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 10634, "end": 10643, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 10648, "end": 11846, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 320, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10655, "end": 10702, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 279, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 10658, "end": 10680, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 10658, "end": 10668, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10659, "end": 10668, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 10672, "end": 10680, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10673, "end": 10680, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 10689, "end": 10702, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 10696, "end": 10701, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 10710, "end": 11819, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10710, "end": 11818, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10710, "end": 10736, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 30 } }, "object": { "type": "CallExpression", "start": 10710, "end": 10728, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 10710, "end": 10723, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 17 } }, "object": { "type": "Identifier", "start": 10710, "end": 10717, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 10718, "end": 10723, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10724, "end": 10727, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10729, "end": 10736, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10737, "end": 11817, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 317, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10737, "end": 10743, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 281, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10747, "end": 11817, "loc": { "start": { "line": 281, "column": 41 }, "end": { "line": 317, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10756, "end": 11810, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 9 } }, "expression": { "type": "CallExpression", "start": 10756, "end": 11809, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 10756, "end": 10784, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 34 } }, "object": { "type": "CallExpression", "start": 10756, "end": 10776, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 10756, "end": 10771, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 21 } }, "object": { "type": "Identifier", "start": 10756, "end": 10765, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 10766, "end": 10771, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10772, "end": 10775, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10777, "end": 10784, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10785, "end": 11808, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 316, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10785, "end": 10798, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 282, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 10802, "end": 11808, "loc": { "start": { "line": 282, "column": 52 }, "end": { "line": 316, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 10813, "end": 10884, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 284, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 10816, "end": 10841, "loc": { "start": { "line": 283, "column": 11 }, "end": { "line": 283, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10817, "end": 10841, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 36 } }, "object": { "type": "MemberExpression", "start": 10817, "end": 10829, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 24 } }, "object": { "type": "ThisExpression", "start": 10817, "end": 10821, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 16 } } }, "property": { "type": "Identifier", "start": 10822, "end": 10829, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10830, "end": 10841, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 10854, "end": 10884, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 10854, "end": 10883, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10854, "end": 10878, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 34 } }, "object": { "type": "MemberExpression", "start": 10854, "end": 10866, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 22 } }, "object": { "type": "ThisExpression", "start": 10854, "end": 10858, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 14 } } }, "property": { "type": "Identifier", "start": 10859, "end": 10866, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10867, "end": 10878, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 10881, "end": 10883, "loc": { "start": { "line": 284, "column": 37 }, "end": { "line": 284, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 10896, "end": 10923, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10900, "end": 10922, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 34 } }, "id": { "type": "Identifier", "start": 10900, "end": 10914, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 10917, "end": 10922, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "column": 34 } }, "value": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10937, "end": 11028, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 11038, "end": 11546, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 11 } }, "expression": { "type": "CallExpression", "start": 11038, "end": 11545, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 11038, "end": 11066, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11038, "end": 11062, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 32 } }, "object": { "type": "MemberExpression", "start": 11038, "end": 11050, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 20 } }, "object": { "type": "ThisExpression", "start": 11038, "end": 11042, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11043, "end": 11050, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11051, "end": 11062, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11063, "end": 11066, "loc": { "start": { "line": 291, "column": 33 }, "end": { "line": 291, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11067, "end": 11544, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 304, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11067, "end": 11078, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 11082, "end": 11544, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 304, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 11097, "end": 11502, "loc": { "start": { "line": 293, "column": 10 }, "end": { "line": 302, "column": 11 } }, "test": { "type": "CallExpression", "start": 11100, "end": 11152, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11100, "end": 11137, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 50 } }, "object": { "type": "CallExpression", "start": 11100, "end": 11128, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11100, "end": 11123, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11100, "end": 11117, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 30 } }, "object": { "type": "Identifier", "start": 11100, "end": 11111, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11112, "end": 11117, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 11118, "end": 11123, "loc": { "start": { "line": 293, "column": 31 }, "end": { "line": 293, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11124, "end": 11127, "loc": { "start": { "line": 293, "column": 37 }, "end": { "line": 293, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 11129, "end": 11137, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11138, "end": 11151, "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 11153, "end": 11502, "loc": { "start": { "line": 293, "column": 66 }, "end": { "line": 302, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 11168, "end": 11190, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11168, "end": 11189, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 11168, "end": 11182, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11185, "end": 11189, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 11218, "end": 11272, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11222, "end": 11271, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 65 } }, "id": { "type": "Identifier", "start": 11222, "end": 11238, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 11241, "end": 11271, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11241, "end": 11266, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11241, "end": 11260, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 54 } }, "object": { "type": "Identifier", "start": 11241, "end": 11252, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11253, "end": 11260, "loc": { "start": { "line": 296, "column": 47 }, "end": { "line": 296, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 11261, "end": 11266, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11267, "end": 11270, "loc": { "start": { "line": 296, "column": 61 }, "end": { "line": 296, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 11286, "end": 11489, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 301, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 11289, "end": 11323, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 11290, "end": 11323, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 11290, "end": 11315, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 41 } }, "object": { "type": "Identifier", "start": 11290, "end": 11306, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11307, "end": 11315, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11316, "end": 11322, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11324, "end": 11489, "loc": { "start": { "line": 297, "column": 50 }, "end": { "line": 301, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 11341, "end": 11363, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 11341, "end": 11362, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 11341, "end": 11355, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11358, "end": 11362, "loc": { "start": { "line": 298, "column": 31 }, "end": { "line": 298, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 11379, "end": 11409, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 44 } }, "expression": { "type": "CallExpression", "start": 11379, "end": 11408, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 11379, "end": 11400, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 35 } }, "object": { "type": "Identifier", "start": 11379, "end": 11395, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11396, "end": 11400, "loc": { "start": { "line": 299, "column": 31 }, "end": { "line": 299, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11401, "end": 11407, "loc": { "start": { "line": 299, "column": 36 }, "end": { "line": 299, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 11425, "end": 11474, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 11425, "end": 11473, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11425, "end": 11444, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 33 } }, "object": { "type": "Identifier", "start": 11425, "end": 11436, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11437, "end": 11444, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 11447, "end": 11473, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 11447, "end": 11468, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 57 } }, "object": { "type": "Identifier", "start": 11447, "end": 11463, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11464, "end": 11468, "loc": { "start": { "line": 300, "column": 53 }, "end": { "line": 300, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11469, "end": 11472, "loc": { "start": { "line": 300, "column": 58 }, "end": { "line": 300, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 11514, "end": 11533, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 29 } }, "argument": { "type": "Identifier", "start": 11521, "end": 11532, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10937, "end": 11028, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11558, "end": 11633, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] }, { "type": "IfStatement", "start": 11643, "end": 11797, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 314, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11646, "end": 11661, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 11647, "end": 11661, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11662, "end": 11797, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 314, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11675, "end": 11786, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 13 } }, "expression": { "type": "CallExpression", "start": 11675, "end": 11785, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 11675, "end": 11704, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11675, "end": 11699, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 34 } }, "object": { "type": "MemberExpression", "start": 11675, "end": 11687, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11675, "end": 11679, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 14 } } }, "property": { "type": "Identifier", "start": 11680, "end": 11687, "loc": { "start": { "line": 310, "column": 15 }, "end": { "line": 310, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11688, "end": 11699, "loc": { "start": { "line": 310, "column": 23 }, "end": { "line": 310, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 11700, "end": 11704, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 11705, "end": 11784, "loc": { "start": { "line": 310, "column": 40 }, "end": { "line": 313, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 11720, "end": 11740, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11720, "end": 11725, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 11727, "end": 11740, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 11755, "end": 11771, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11755, "end": 11762, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 11764, "end": 11771, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "column": 28 }, "identifierName": "buttons" }, "name": "buttons" } } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11558, "end": 11633, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 11827, "end": 11841, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11827, "end": 11840, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11827, "end": 11838, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11827, "end": 11831, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, "property": { "type": "Identifier", "start": 11832, "end": 11838, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "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": 10322, "end": 10603, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "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": 11852, "end": 12192, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12196, "end": 13620, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 373, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12196, "end": 12213, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12216, "end": 13620, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 373, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12217, "end": 12224, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 30 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 12226, "end": 12235, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 41 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 12240, "end": 13620, "loc": { "start": { "line": 327, "column": 46 }, "end": { "line": 373, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12333, "end": 12448, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 335, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12336, "end": 12358, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 12336, "end": 12344, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12337, "end": 12344, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 12348, "end": 12358, "loc": { "start": { "line": 331, "column": 19 }, "end": { "line": 331, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12349, "end": 12358, "loc": { "start": { "line": 331, "column": 20 }, "end": { "line": 331, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12359, "end": 12448, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 335, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12368, "end": 12398, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12368, "end": 12397, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12368, "end": 12392, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12368, "end": 12380, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 18 } }, "object": { "type": "ThisExpression", "start": 12368, "end": 12372, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 10 } } }, "property": { "type": "Identifier", "start": 12373, "end": 12380, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12381, "end": 12392, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 12395, "end": 12397, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 12406, "end": 12420, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 20 } }, "expression": { "type": "CallExpression", "start": 12406, "end": 12419, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 12406, "end": 12417, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12406, "end": 12410, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 10 } } }, "property": { "type": "Identifier", "start": 12411, "end": 12417, "loc": { "start": { "line": 333, "column": 11 }, "end": { "line": 333, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 12428, "end": 12441, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 12435, "end": 12440, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "column": 18 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 12247, "end": 12327, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12456, "end": 12524, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12530, "end": 13615, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 372, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12533, "end": 12618, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 12533, "end": 12583, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 57 } }, "left": { "type": "Identifier", "start": 12533, "end": 12540, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12544, "end": 12583, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12544, "end": 12557, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 31 } }, "object": { "type": "Identifier", "start": 12544, "end": 12549, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 12550, "end": 12557, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12558, "end": 12582, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 56 } }, "object": { "type": "MemberExpression", "start": 12558, "end": 12570, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 44 } }, "object": { "type": "ThisExpression", "start": 12558, "end": 12562, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 36 } } }, "property": { "type": "Identifier", "start": 12563, "end": 12570, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12571, "end": 12582, "loc": { "start": { "line": 340, "column": 45 }, "end": { "line": 340, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 12587, "end": 12618, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 92 } }, "object": { "type": "MemberExpression", "start": 12587, "end": 12611, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 85 } }, "object": { "type": "MemberExpression", "start": 12587, "end": 12599, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 73 } }, "object": { "type": "ThisExpression", "start": 12587, "end": 12591, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 65 } } }, "property": { "type": "Identifier", "start": 12592, "end": 12599, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12600, "end": 12611, "loc": { "start": { "line": 340, "column": 74 }, "end": { "line": 340, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12612, "end": 12618, "loc": { "start": { "line": 340, "column": 86 }, "end": { "line": 340, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12619, "end": 13615, "loc": { "start": { "line": 340, "column": 93 }, "end": { "line": 372, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12628, "end": 12665, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12632, "end": 12664, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 42 } }, "id": { "type": "Identifier", "start": 12632, "end": 12643, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 12646, "end": 12664, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12646, "end": 12659, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 37 } }, "object": { "type": "Identifier", "start": 12646, "end": 12653, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 12654, "end": 12659, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12660, "end": 12663, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 12673, "end": 13584, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 9 } }, "expression": { "type": "CallExpression", "start": 12673, "end": 13583, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 12673, "end": 12692, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 25 } }, "object": { "type": "Identifier", "start": 12673, "end": 12684, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 12685, "end": 12692, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12693, "end": 13582, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 369, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12694, "end": 12700, "loc": { "start": { "line": 342, "column": 27 }, "end": { "line": 342, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 12702, "end": 12705, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12710, "end": 13582, "loc": { "start": { "line": 342, "column": 43 }, "end": { "line": 369, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12721, "end": 13573, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 11 } }, "expression": { "type": "CallExpression", "start": 12721, "end": 13572, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 12721, "end": 12749, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 36 } }, "object": { "type": "MemberExpression", "start": 12721, "end": 12745, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 32 } }, "object": { "type": "MemberExpression", "start": 12721, "end": 12733, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12721, "end": 12725, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 12 } } }, "property": { "type": "Identifier", "start": 12726, "end": 12733, "loc": { "start": { "line": 343, "column": 13 }, "end": { "line": 343, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12734, "end": 12745, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12746, "end": 12749, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12750, "end": 13571, "loc": { "start": { "line": 343, "column": 37 }, "end": { "line": 368, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12751, "end": 12762, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 12764, "end": 12769, "loc": { "start": { "line": 343, "column": 51 }, "end": { "line": 343, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 12774, "end": 13571, "loc": { "start": { "line": 343, "column": 61 }, "end": { "line": 368, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 12942, "end": 13527, "loc": { "start": { "line": 349, "column": 10 }, "end": { "line": 365, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 12959, "end": 13038, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 351, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 12960, "end": 13010, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 63 } }, "left": { "type": "Identifier", "start": 12960, "end": 12969, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12973, "end": 13010, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 12973, "end": 12991, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 44 } }, "object": { "type": "Identifier", "start": 12973, "end": 12982, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 12983, "end": 12991, "loc": { "start": { "line": 350, "column": 36 }, "end": { "line": 350, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12992, "end": 13009, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 62 } }, "object": { "type": "Identifier", "start": 12992, "end": 13003, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13004, "end": 13009, "loc": { "start": { "line": 350, "column": 57 }, "end": { "line": 350, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 12959 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13028, "end": 13038, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13029, "end": 13038, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13051, "end": 13527, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 365, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 13066, "end": 13155, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13070, "end": 13154, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 100 } }, "id": { "type": "Identifier", "start": 13070, "end": 13089, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 13092, "end": 13154, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 13092, "end": 13129, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 75 } }, "object": { "type": "CallExpression", "start": 13092, "end": 13122, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 13092, "end": 13117, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 63 } }, "object": { "type": "MemberExpression", "start": 13092, "end": 13111, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 57 } }, "object": { "type": "Identifier", "start": 13092, "end": 13103, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13104, "end": 13111, "loc": { "start": { "line": 353, "column": 50 }, "end": { "line": 353, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13112, "end": 13117, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13118, "end": 13121, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13123, "end": 13129, "loc": { "start": { "line": 353, "column": 69 }, "end": { "line": 353, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13130, "end": 13153, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 13130, "end": 13134, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 13138, "end": 13153, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 99 } }, "left": { "type": "Identifier", "start": 13138, "end": 13142, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 13147, "end": 13153, "loc": { "start": { "line": 353, "column": 93 }, "end": { "line": 353, "column": 99 }, "identifierName": "button" }, "name": "button" } } } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13171, "end": 13268, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } } ] }, { "type": "IfStatement", "start": 13282, "end": 13511, "loc": { "start": { "line": 358, "column": 12 }, "end": { "line": 363, "column": 13 } }, "test": { "type": "MemberExpression", "start": 13285, "end": 13311, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 41 } }, "object": { "type": "Identifier", "start": 13285, "end": 13304, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 13305, "end": 13311, "loc": { "start": { "line": 358, "column": 35 }, "end": { "line": 358, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13312, "end": 13396, "loc": { "start": { "line": 358, "column": 42 }, "end": { "line": 360, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13329, "end": 13381, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 13329, "end": 13380, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13329, "end": 13348, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 33 } }, "object": { "type": "Identifier", "start": 13329, "end": 13340, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13341, "end": 13348, "loc": { "start": { "line": 359, "column": 26 }, "end": { "line": 359, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 13351, "end": 13380, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13351, "end": 13375, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 60 } }, "object": { "type": "Identifier", "start": 13351, "end": 13370, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 13371, "end": 13375, "loc": { "start": { "line": 359, "column": 56 }, "end": { "line": 359, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13376, "end": 13379, "loc": { "start": { "line": 359, "column": 61 }, "end": { "line": 359, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 13402, "end": 13511, "loc": { "start": { "line": 360, "column": 19 }, "end": { "line": 363, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13419, "end": 13461, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 56 } }, "expression": { "type": "CallExpression", "start": 13419, "end": 13460, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 13419, "end": 13450, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13419, "end": 13443, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13419, "end": 13431, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 26 } }, "object": { "type": "ThisExpression", "start": 13419, "end": 13423, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, "property": { "type": "Identifier", "start": 13424, "end": 13431, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13432, "end": 13443, "loc": { "start": { "line": 361, "column": 27 }, "end": { "line": 361, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 13444, "end": 13450, "loc": { "start": { "line": 361, "column": 39 }, "end": { "line": 361, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13451, "end": 13456, "loc": { "start": { "line": 361, "column": 46 }, "end": { "line": 361, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 13458, "end": 13459, "loc": { "start": { "line": 361, "column": 53 }, "end": { "line": 361, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 13477, "end": 13496, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 13477, "end": 13495, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 13477, "end": 13488, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 13491, "end": 13495, "loc": { "start": { "line": 362, "column": 28 }, "end": { "line": 362, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13171, "end": 13268, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } } ] } ], "directives": [] }, "alternate": null, "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": 12789, "end": 12930, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 13541, "end": 13560, "loc": { "start": { "line": 367, "column": 10 }, "end": { "line": 367, "column": 29 } }, "argument": { "type": "Identifier", "start": 13548, "end": 13559, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 13594, "end": 13608, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 20 } }, "expression": { "type": "CallExpression", "start": 13594, "end": 13607, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 13594, "end": 13605, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 17 } }, "object": { "type": "ThisExpression", "start": 13594, "end": 13598, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, "property": { "type": "Identifier", "start": 13599, "end": 13605, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12456, "end": 12524, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 11852, "end": 12192, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 13626, "end": 13829, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 13833, "end": 14107, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 392, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13833, "end": 13849, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 13852, "end": 14107, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 392, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13853, "end": 13859, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13864, "end": 14107, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 392, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 13871, "end": 13882, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13875, "end": 13881, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 } }, "id": { "type": "Identifier", "start": 13875, "end": 13881, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 13890, "end": 13934, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13894, "end": 13933, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 47 } }, "id": { "type": "Identifier", "start": 13894, "end": 13903, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 13906, "end": 13933, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 47 } }, "object": { "type": "MemberExpression", "start": 13906, "end": 13925, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 39 } }, "object": { "type": "ThisExpression", "start": 13906, "end": 13910, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 24 } } }, "property": { "type": "Identifier", "start": 13911, "end": 13925, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 13926, "end": 13932, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 13940, "end": 14080, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 389, "column": 5 } }, "test": { "type": "Identifier", "start": 13943, "end": 13952, "loc": { "start": { "line": 383, "column": 7 }, "end": { "line": 383, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 13953, "end": 14080, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 389, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13962, "end": 14073, "loc": { "start": { "line": 384, "column": 6 }, "end": { "line": 388, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 13965, "end": 13985, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 29 } }, "left": { "type": "MemberExpression", "start": 13965, "end": 13981, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 25 } }, "object": { "type": "Identifier", "start": 13965, "end": 13974, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 13975, "end": 13981, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 13984, "end": 13985, "loc": { "start": { "line": 384, "column": 28 }, "end": { "line": 384, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13986, "end": 14025, "loc": { "start": { "line": 384, "column": 30 }, "end": { "line": 386, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 13997, "end": 14016, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 13997, "end": 14015, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 13997, "end": 14003, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 14006, "end": 14015, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 14031, "end": 14073, "loc": { "start": { "line": 386, "column": 13 }, "end": { "line": 388, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 14042, "end": 14064, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 14042, "end": 14063, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 14042, "end": 14048, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 14051, "end": 14063, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 29 } }, "object": { "type": "Identifier", "start": 14051, "end": 14060, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 14061, "end": 14062, "loc": { "start": { "line": 387, "column": 27 }, "end": { "line": 387, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14088, "end": 14102, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 18 } }, "argument": { "type": "Identifier", "start": 14095, "end": 14101, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 13626, "end": 13829, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14113, "end": 14203, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14207, "end": 14517, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 405, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14207, "end": 14218, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 397, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14221, "end": 14517, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 405, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 14227, "end": 14517, "loc": { "start": { "line": 397, "column": 22 }, "end": { "line": 405, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14234, "end": 14310, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 400, "column": 5 } }, "test": { "type": "MemberExpression", "start": 14237, "end": 14255, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 25 } }, "object": { "type": "MemberExpression", "start": 14237, "end": 14249, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 19 } }, "object": { "type": "ThisExpression", "start": 14237, "end": 14241, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 11 } } }, "property": { "type": "Identifier", "start": 14242, "end": 14249, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14250, "end": 14255, "loc": { "start": { "line": 398, "column": 20 }, "end": { "line": 398, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 14256, "end": 14310, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 400, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14265, "end": 14303, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14265, "end": 14302, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14265, "end": 14276, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 17 } }, "object": { "type": "Identifier", "start": 14265, "end": 14272, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 14273, "end": 14276, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14277, "end": 14301, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 14318, "end": 14377, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 63 } }, "expression": { "type": "CallExpression", "start": 14318, "end": 14376, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14318, "end": 14343, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 29 } }, "object": { "type": "Identifier", "start": 14318, "end": 14326, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14327, "end": 14343, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14344, "end": 14351, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 14353, "end": 14375, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 61 } }, "object": { "type": "ThisExpression", "start": 14353, "end": 14357, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, "property": { "type": "Identifier", "start": 14358, "end": 14375, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14383, "end": 14444, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 65 } }, "expression": { "type": "CallExpression", "start": 14383, "end": 14443, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 14383, "end": 14408, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 29 } }, "object": { "type": "Identifier", "start": 14383, "end": 14391, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14392, "end": 14408, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14409, "end": 14418, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 14420, "end": 14442, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 63 } }, "object": { "type": "ThisExpression", "start": 14420, "end": 14424, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 45 } } }, "property": { "type": "Identifier", "start": 14425, "end": 14442, "loc": { "start": { "line": 403, "column": 46 }, "end": { "line": 403, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14450, "end": 14512, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 66 } }, "expression": { "type": "CallExpression", "start": 14450, "end": 14511, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14450, "end": 14475, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 29 } }, "object": { "type": "Identifier", "start": 14450, "end": 14458, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14459, "end": 14475, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14476, "end": 14486, "loc": { "start": { "line": 404, "column": 30 }, "end": { "line": 404, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 14488, "end": 14510, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 64 } }, "object": { "type": "ThisExpression", "start": 14488, "end": 14492, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 46 } } }, "property": { "type": "Identifier", "start": 14493, "end": 14510, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14113, "end": 14203, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "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": 14523, "end": 14635, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14639, "end": 15196, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 427, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14639, "end": 14656, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 410, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14659, "end": 15196, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 427, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14660, "end": 14665, "loc": { "start": { "line": 410, "column": 23 }, "end": { "line": 410, "column": 28 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 14670, "end": 15196, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 427, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 14677, "end": 14732, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14681, "end": 14731, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 58 } }, "id": { "type": "Identifier", "start": 14681, "end": 14694, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 14697, "end": 14731, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 14697, "end": 14729, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 56 } }, "object": { "type": "MemberExpression", "start": 14697, "end": 14717, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 44 } }, "object": { "type": "MemberExpression", "start": 14697, "end": 14709, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 36 } }, "object": { "type": "Identifier", "start": 14697, "end": 14702, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14703, "end": 14709, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 14710, "end": 14717, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 14718, "end": 14729, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14740, "end": 15191, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14751, "end": 14815, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 14751, "end": 14779, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 34 } }, "left": { "type": "Identifier", "start": 14751, "end": 14764, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14769, "end": 14779, "loc": { "start": { "line": 414, "column": 24 }, "end": { "line": 414, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 14790, "end": 14815, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "Identifier", "start": 14790, "end": 14803, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14808, "end": 14815, "loc": { "start": { "line": 415, "column": 24 }, "end": { "line": 415, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 14822, "end": 15191, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14987, "end": 15036, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 14987, "end": 15035, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14987, "end": 15005, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 24 } }, "object": { "type": "ThisExpression", "start": 14987, "end": 14991, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14992, "end": 15005, "loc": { "start": { "line": 421, "column": 11 }, "end": { "line": 421, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 15008, "end": 15035, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 54 } }, "object": { "type": "MemberExpression", "start": 15008, "end": 15020, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "Identifier", "start": 15008, "end": 15013, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15014, "end": 15020, "loc": { "start": { "line": 421, "column": 33 }, "end": { "line": 421, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15021, "end": 15035, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "column": 54 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 14831, "end": 14979, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "column": 9 } } } ] }, { "type": "IfStatement", "start": 15046, "end": 15179, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 425, "column": 7 } }, "test": { "type": "MemberExpression", "start": 15049, "end": 15067, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15049, "end": 15061, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 21 } }, "object": { "type": "ThisExpression", "start": 15049, "end": 15053, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 13 } } }, "property": { "type": "Identifier", "start": 15054, "end": 15061, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15062, "end": 15067, "loc": { "start": { "line": 423, "column": 22 }, "end": { "line": 423, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15068, "end": 15179, "loc": { "start": { "line": 423, "column": 28 }, "end": { "line": 425, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15079, "end": 15170, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 99 } }, "expression": { "type": "CallExpression", "start": 15079, "end": 15169, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 15079, "end": 15090, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 19 } }, "object": { "type": "Identifier", "start": 15079, "end": 15086, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15087, "end": 15090, "loc": { "start": { "line": 424, "column": 16 }, "end": { "line": 424, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15091, "end": 15103, "loc": { "start": { "line": 424, "column": 20 }, "end": { "line": 424, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 15105, "end": 15132, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 61 } }, "object": { "type": "MemberExpression", "start": 15105, "end": 15117, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 46 } }, "object": { "type": "Identifier", "start": 15105, "end": 15110, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15111, "end": 15117, "loc": { "start": { "line": 424, "column": 40 }, "end": { "line": 424, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15118, "end": 15132, "loc": { "start": { "line": 424, "column": 47 }, "end": { "line": 424, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 15134, "end": 15168, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 15134, "end": 15166, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 95 } }, "object": { "type": "MemberExpression", "start": 15134, "end": 15154, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 83 } }, "object": { "type": "MemberExpression", "start": 15134, "end": 15146, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 75 } }, "object": { "type": "Identifier", "start": 15134, "end": 15139, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15140, "end": 15146, "loc": { "start": { "line": 424, "column": 69 }, "end": { "line": 424, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15147, "end": 15154, "loc": { "start": { "line": 424, "column": 76 }, "end": { "line": 424, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 15155, "end": 15166, "loc": { "start": { "line": 424, "column": 84 }, "end": { "line": 424, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 14523, "end": 14635, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "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": 15202, "end": 15322, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15326, "end": 15569, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 444, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15326, "end": 15332, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15335, "end": 15569, "loc": { "start": { "line": 432, "column": 11 }, "end": { "line": 444, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15341, "end": 15569, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 444, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15348, "end": 15413, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 435, "column": 5 } }, "test": { "type": "MemberExpression", "start": 15351, "end": 15369, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15351, "end": 15363, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 19 } }, "object": { "type": "ThisExpression", "start": 15351, "end": 15355, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 11 } } }, "property": { "type": "Identifier", "start": 15356, "end": 15363, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15364, "end": 15369, "loc": { "start": { "line": 433, "column": 20 }, "end": { "line": 433, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15370, "end": 15413, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 435, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15379, "end": 15406, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 33 } }, "expression": { "type": "CallExpression", "start": 15379, "end": 15405, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 15379, "end": 15390, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 17 } }, "object": { "type": "Identifier", "start": 15379, "end": 15386, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15387, "end": 15390, "loc": { "start": { "line": 434, "column": 14 }, "end": { "line": 434, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15391, "end": 15404, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 31 } }, "extra": { "rawValue": "Initialized", "raw": "\"Initialized\"" }, "value": "Initialized" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15421, "end": 15456, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 15462, "end": 15481, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 23 } }, "expression": { "type": "CallExpression", "start": 15462, "end": 15480, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 15462, "end": 15478, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15462, "end": 15466, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15467, "end": 15478, "loc": { "start": { "line": 440, "column": 9 }, "end": { "line": 440, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15421, "end": 15456, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15489, "end": 15564, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 443, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 15492, "end": 15533, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 15492, "end": 15518, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15499, "end": 15518, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 33 } }, "object": { "type": "MemberExpression", "start": 15499, "end": 15511, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15499, "end": 15503, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 18 } } }, "property": { "type": "Identifier", "start": 15504, "end": 15511, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15512, "end": 15518, "loc": { "start": { "line": 442, "column": 27 }, "end": { "line": 442, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15523, "end": 15533, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15542, "end": 15564, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 28 } }, "expression": { "type": "CallExpression", "start": 15542, "end": 15563, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 15542, "end": 15561, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15542, "end": 15554, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15542, "end": 15546, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 15547, "end": 15554, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15555, "end": 15561, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 15202, "end": 15322, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "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": 15575, "end": 15693, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15697, "end": 15805, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 452, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15697, "end": 15705, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 449, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15708, "end": 15805, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 452, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15714, "end": 15805, "loc": { "start": { "line": 449, "column": 19 }, "end": { "line": 452, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15721, "end": 15800, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 451, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 15724, "end": 15767, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 15724, "end": 15752, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15731, "end": 15752, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 35 } }, "object": { "type": "MemberExpression", "start": 15731, "end": 15743, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15731, "end": 15735, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 18 } } }, "property": { "type": "Identifier", "start": 15736, "end": 15743, "loc": { "start": { "line": 450, "column": 19 }, "end": { "line": 450, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15744, "end": 15752, "loc": { "start": { "line": 450, "column": 27 }, "end": { "line": 450, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15757, "end": 15767, "loc": { "start": { "line": 450, "column": 40 }, "end": { "line": 450, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15776, "end": 15800, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 30 } }, "expression": { "type": "CallExpression", "start": 15776, "end": 15799, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 15776, "end": 15797, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15776, "end": 15788, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15776, "end": 15780, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 10 } } }, "property": { "type": "Identifier", "start": 15781, "end": 15788, "loc": { "start": { "line": 451, "column": 11 }, "end": { "line": 451, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15789, "end": 15797, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 15575, "end": 15693, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15811, "end": 15867, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15871, "end": 20000, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 593, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15871, "end": 15877, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15880, "end": 20000, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 593, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15886, "end": 20000, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 593, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 15934, "end": 15947, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 17 } }, "expression": { "type": "CallExpression", "start": 15934, "end": 15946, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 15934, "end": 15944, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 14 } }, "object": { "type": "ThisExpression", "start": 15934, "end": 15938, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15939, "end": 15944, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15893, "end": 15928, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 15955, "end": 16055, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15959, "end": 16054, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 103 } }, "id": { "type": "Identifier", "start": 15959, "end": 15970, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 15973, "end": 16054, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 103 } }, "test": { "type": "MemberExpression", "start": 15973, "end": 15992, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 41 } }, "object": { "type": "MemberExpression", "start": 15973, "end": 15985, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 34 } }, "object": { "type": "ThisExpression", "start": 15973, "end": 15977, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 26 } } }, "property": { "type": "Identifier", "start": 15978, "end": 15985, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15986, "end": 15992, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 15995, "end": 16013, "loc": { "start": { "line": 463, "column": 44 }, "end": { "line": 463, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 16016, "end": 16054, "loc": { "start": { "line": 463, "column": 65 }, "end": { "line": 463, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 16029, "end": 16052, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 101 } }, "object": { "type": "MemberExpression", "start": 16029, "end": 16041, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 90 } }, "object": { "type": "ThisExpression", "start": 16029, "end": 16033, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 82 } } }, "property": { "type": "Identifier", "start": 16034, "end": 16041, "loc": { "start": { "line": 463, "column": 83 }, "end": { "line": 463, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16042, "end": 16052, "loc": { "start": { "line": 463, "column": 91 }, "end": { "line": 463, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 16017, "end": 16027, "loc": { "start": { "line": 463, "column": 66 }, "end": { "line": 463, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 16053, "end": 16053, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16061, "end": 16131, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16065, "end": 16130, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 73 } }, "id": { "type": "Identifier", "start": 16065, "end": 16071, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 16074, "end": 16130, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 73 } }, "left": { "type": "MemberExpression", "start": 16074, "end": 16093, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16074, "end": 16086, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 29 } }, "object": { "type": "ThisExpression", "start": 16074, "end": 16078, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 21 } } }, "property": { "type": "Identifier", "start": 16079, "end": 16086, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16087, "end": 16093, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 16097, "end": 16130, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 16097, "end": 16128, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 71 } }, "object": { "type": "Identifier", "start": 16097, "end": 16111, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 16112, "end": 16128, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16139, "end": 16191, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 16197, "end": 16225, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16201, "end": 16224, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 31 } }, "id": { "type": "Identifier", "start": 16201, "end": 16219, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 16222, "end": 16224, "loc": { "start": { "line": 469, "column": 29 }, "end": { "line": 469, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16139, "end": 16191, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "IfStatement", "start": 16231, "end": 17370, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "CallExpression", "start": 16234, "end": 16273, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16234, "end": 16247, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 20 } }, "object": { "type": "Identifier", "start": 16234, "end": 16239, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 16240, "end": 16247, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16248, "end": 16272, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16248, "end": 16260, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 33 } }, "object": { "type": "ThisExpression", "start": 16248, "end": 16252, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 25 } } }, "property": { "type": "Identifier", "start": 16253, "end": 16260, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16261, "end": 16272, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 16274, "end": 17370, "loc": { "start": { "line": 470, "column": 47 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16283, "end": 17363, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 9 } }, "expression": { "type": "CallExpression", "start": 16283, "end": 17362, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 16283, "end": 16315, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16283, "end": 16307, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 30 } }, "object": { "type": "MemberExpression", "start": 16283, "end": 16295, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 18 } }, "object": { "type": "ThisExpression", "start": 16283, "end": 16287, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 10 } } }, "property": { "type": "Identifier", "start": 16288, "end": 16295, "loc": { "start": { "line": 471, "column": 11 }, "end": { "line": 471, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16296, "end": 16307, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16308, "end": 16315, "loc": { "start": { "line": 471, "column": 31 }, "end": { "line": 471, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16316, "end": 17361, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 497, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16316, "end": 16324, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 471, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 16328, "end": 17361, "loc": { "start": { "line": 471, "column": 51 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 16339, "end": 17352, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 496, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 16342, "end": 16376, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 45 } }, "left": { "type": "MemberExpression", "start": 16342, "end": 16358, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 27 } }, "object": { "type": "Identifier", "start": 16342, "end": 16350, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16351, "end": 16358, "loc": { "start": { "line": 472, "column": 20 }, "end": { "line": 472, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 16362, "end": 16376, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "Identifier", "start": 16362, "end": 16370, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16371, "end": 16376, "loc": { "start": { "line": 472, "column": 40 }, "end": { "line": 472, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 16377, "end": 17218, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 494, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16390, "end": 16407, "loc": { "start": { "line": 473, "column": 10 }, "end": { "line": 473, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16394, "end": 16406, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 } }, "id": { "type": "Identifier", "start": 16394, "end": 16406, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 16421, "end": 16532, "loc": { "start": { "line": 475, "column": 10 }, "end": { "line": 477, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 16424, "end": 16460, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 16424, "end": 16447, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 16431, "end": 16447, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 36 } }, "object": { "type": "Identifier", "start": 16431, "end": 16439, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16440, "end": 16447, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 16452, "end": 16460, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 16461, "end": 16532, "loc": { "start": { "line": 475, "column": 50 }, "end": { "line": 477, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16476, "end": 16519, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 16476, "end": 16518, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 16476, "end": 16488, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 16491, "end": 16518, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 16491, "end": 16513, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 49 } }, "object": { "type": "MemberExpression", "start": 16491, "end": 16507, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 43 } }, "object": { "type": "Identifier", "start": 16491, "end": 16499, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16500, "end": 16507, "loc": { "start": { "line": 476, "column": 36 }, "end": { "line": 476, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16508, "end": 16513, "loc": { "start": { "line": 476, "column": 44 }, "end": { "line": 476, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16514, "end": 16517, "loc": { "start": { "line": 476, "column": 50 }, "end": { "line": 476, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 16546, "end": 17207, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 493, "column": 11 } }, "test": { "type": "Identifier", "start": 16549, "end": 16561, "loc": { "start": { "line": 479, "column": 13 }, "end": { "line": 479, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 16562, "end": 17207, "loc": { "start": { "line": 479, "column": 26 }, "end": { "line": 493, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16577, "end": 17194, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 15 } }, "expression": { "type": "CallExpression", "start": 16577, "end": 17193, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 16577, "end": 16597, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 32 } }, "object": { "type": "Identifier", "start": 16577, "end": 16589, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 16590, "end": 16597, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16598, "end": 17192, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 492, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16598, "end": 16609, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 16613, "end": 17192, "loc": { "start": { "line": 480, "column": 48 }, "end": { "line": 492, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 16630, "end": 16680, "loc": { "start": { "line": 481, "column": 14 }, "end": { "line": 481, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16634, "end": 16679, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 63 } }, "id": { "type": "Identifier", "start": 16634, "end": 16645, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 16648, "end": 16679, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 63 } }, "object": { "type": "Identifier", "start": 16648, "end": 16666, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 16667, "end": 16678, "loc": { "start": { "line": 481, "column": 51 }, "end": { "line": 481, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16698, "end": 16737, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] }, { "type": "IfStatement", "start": 16753, "end": 17177, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 491, "column": 15 } }, "test": { "type": "Identifier", "start": 16756, "end": 16767, "loc": { "start": { "line": 484, "column": 17 }, "end": { "line": 484, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16768, "end": 17086, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 489, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 16888, "end": 17069, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 488, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 16891, "end": 16959, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 16892, "end": 16959, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 16892, "end": 16919, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16892, "end": 16906, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 34 } }, "object": { "type": "ThisExpression", "start": 16892, "end": 16896, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 16897, "end": 16906, "loc": { "start": { "line": 486, "column": 25 }, "end": { "line": 486, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 16907, "end": 16919, "loc": { "start": { "line": 486, "column": 35 }, "end": { "line": 486, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 16920, "end": 16942, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 16920, "end": 16937, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 65 } }, "object": { "type": "Identifier", "start": 16920, "end": 16931, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 16932, "end": 16937, "loc": { "start": { "line": 486, "column": 60 }, "end": { "line": 486, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16938, "end": 16941, "loc": { "start": { "line": 486, "column": 66 }, "end": { "line": 486, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 16944, "end": 16958, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 86 } }, "object": { "type": "Identifier", "start": 16944, "end": 16952, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16953, "end": 16958, "loc": { "start": { "line": 486, "column": 81 }, "end": { "line": 486, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16960, "end": 17069, "loc": { "start": { "line": 486, "column": 88 }, "end": { "line": 488, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 16981, "end": 17050, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 16981, "end": 17049, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16981, "end": 17012, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 49 } }, "object": { "type": "Identifier", "start": 16981, "end": 16999, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17000, "end": 17011, "loc": { "start": { "line": 487, "column": 37 }, "end": { "line": 487, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 17015, "end": 17049, "loc": { "start": { "line": 487, "column": 52 }, "end": { "line": 487, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 17018, "end": 17029, "loc": { "start": { "line": 487, "column": 55 }, "end": { "line": 487, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 17033, "end": 17047, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 84 } }, "object": { "type": "Identifier", "start": 17033, "end": 17041, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17042, "end": 17047, "loc": { "start": { "line": 487, "column": 79 }, "end": { "line": 487, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 17016, "end": 17016, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 17030, "end": 17031, "loc": { "start": { "line": 487, "column": 67 }, "end": { "line": 487, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17048, "end": 17048, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "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": 16787, "end": 16870, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17092, "end": 17177, "loc": { "start": { "line": 489, "column": 21 }, "end": { "line": 491, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 17111, "end": 17160, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 17111, "end": 17159, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17111, "end": 17142, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 47 } }, "object": { "type": "Identifier", "start": 17111, "end": 17129, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17130, "end": 17141, "loc": { "start": { "line": 490, "column": 35 }, "end": { "line": 490, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 17145, "end": 17159, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 64 } }, "object": { "type": "Identifier", "start": 17145, "end": 17153, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17154, "end": 17159, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16698, "end": 16737, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17224, "end": 17352, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 496, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 17237, "end": 17341, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "expression": { "type": "CallExpression", "start": 17237, "end": 17341, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 17237, "end": 17249, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 22 } }, "object": { "type": "Identifier", "start": 17237, "end": 17244, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17245, "end": 17249, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 17250, "end": 17340, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 17251, "end": 17339, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "column": 112 } }, "value": { "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." }, "tail": true } ] } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17378, "end": 17444, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17450, "end": 17520, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 17450, "end": 17519, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17450, "end": 17476, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 30 } }, "object": { "type": "MemberExpression", "start": 17450, "end": 17466, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17450, "end": 17454, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17455, "end": 17466, "loc": { "start": { "line": 503, "column": 9 }, "end": { "line": 503, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 17467, "end": 17476, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 17480, "end": 17519, "loc": { "start": { "line": 503, "column": 34 }, "end": { "line": 503, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 17484, "end": 17502, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17484, "end": 17496, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 50 } }, "object": { "type": "ThisExpression", "start": 17484, "end": 17488, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 42 } } }, "property": { "type": "Identifier", "start": 17489, "end": 17496, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17497, "end": 17502, "loc": { "start": { "line": 503, "column": 51 }, "end": { "line": 503, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 17506, "end": 17517, "loc": { "start": { "line": 503, "column": 60 }, "end": { "line": 503, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 17481, "end": 17482, "loc": { "start": { "line": 503, "column": 35 }, "end": { "line": 503, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17503, "end": 17504, "loc": { "start": { "line": 503, "column": 57 }, "end": { "line": 503, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17518, "end": 17518, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17378, "end": 17444, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17528, "end": 17575, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17581, "end": 19698, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 7 } }, "expression": { "type": "CallExpression", "start": 17581, "end": 19697, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 17581, "end": 17620, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 43 } }, "object": { "type": "MemberExpression", "start": 17581, "end": 17612, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 35 } }, "object": { "type": "Identifier", "start": 17581, "end": 17587, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 17588, "end": 17611, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 34 } }, "object": { "type": "MemberExpression", "start": 17588, "end": 17600, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 23 } }, "object": { "type": "ThisExpression", "start": 17588, "end": 17592, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 15 } } }, "property": { "type": "Identifier", "start": 17593, "end": 17600, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17601, "end": 17611, "loc": { "start": { "line": 508, "column": 24 }, "end": { "line": 508, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 17613, "end": 17620, "loc": { "start": { "line": 508, "column": 36 }, "end": { "line": 508, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17621, "end": 19696, "loc": { "start": { "line": 508, "column": 44 }, "end": { "line": 575, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17622, "end": 17625, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 17627, "end": 17633, "loc": { "start": { "line": 508, "column": 50 }, "end": { "line": 508, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 17638, "end": 19696, "loc": { "start": { "line": 508, "column": 61 }, "end": { "line": 575, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17647, "end": 17677, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17651, "end": 17676, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 35 } }, "id": { "type": "Identifier", "start": 17651, "end": 17659, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 17662, "end": 17676, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 17662, "end": 17671, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 30 } }, "object": { "type": "Identifier", "start": 17662, "end": 17665, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 17666, "end": 17671, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17672, "end": 17675, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17687, "end": 17730, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 17738, "end": 17781, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17742, "end": 17780, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 48 } }, "id": { "type": "Identifier", "start": 17742, "end": 17748, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 17751, "end": 17780, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 17751, "end": 17773, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 41 } }, "object": { "type": "Identifier", "start": 17751, "end": 17759, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17760, "end": 17773, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17774, "end": 17779, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 47 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17687, "end": 17730, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17789, "end": 17818, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 17789, "end": 17817, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17789, "end": 17805, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 22 } }, "object": { "type": "Identifier", "start": 17789, "end": 17795, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 17796, "end": 17805, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 17809, "end": 17817, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "column": 34 } }, "extra": { "rawValue": "hg-row", "raw": "\"hg-row\"" }, "value": "hg-row" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17828, "end": 17889, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17897, "end": 19584, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 9 } }, "expression": { "type": "CallExpression", "start": 17897, "end": 19583, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 17897, "end": 17913, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 22 } }, "object": { "type": "Identifier", "start": 17897, "end": 17905, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 17906, "end": 17913, "loc": { "start": { "line": 520, "column": 15 }, "end": { "line": 520, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17914, "end": 19582, "loc": { "start": { "line": 520, "column": 23 }, "end": { "line": 569, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17915, "end": 17921, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 17923, "end": 17929, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 17934, "end": 19582, "loc": { "start": { "line": 520, "column": 43 }, "end": { "line": 569, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 17945, "end": 18001, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17949, "end": 18000, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 63 } }, "id": { "type": "Identifier", "start": 17949, "end": 17960, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 17963, "end": 18000, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 17963, "end": 17992, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 55 } }, "object": { "type": "MemberExpression", "start": 17963, "end": 17977, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 40 } }, "object": { "type": "ThisExpression", "start": 17963, "end": 17967, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 30 } } }, "property": { "type": "Identifier", "start": 17968, "end": 17977, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 17978, "end": 17992, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17993, "end": 17999, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18011, "end": 18061, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18015, "end": 18060, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 57 } }, "id": { "type": "Identifier", "start": 18015, "end": 18031, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 18034, "end": 18060, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 57 } }, "object": { "type": "Identifier", "start": 18034, "end": 18052, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 18053, "end": 18059, "loc": { "start": { "line": 522, "column": 50 }, "end": { "line": 522, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18071, "end": 18188, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18075, "end": 18187, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 124 } }, "id": { "type": "Identifier", "start": 18075, "end": 18092, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 18095, "end": 18187, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 18095, "end": 18130, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 67 } }, "object": { "type": "MemberExpression", "start": 18095, "end": 18109, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 46 } }, "object": { "type": "ThisExpression", "start": 18095, "end": 18099, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 36 } } }, "property": { "type": "Identifier", "start": 18100, "end": 18109, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18110, "end": 18130, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18131, "end": 18137, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 18139, "end": 18159, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 96 } }, "object": { "type": "MemberExpression", "start": 18139, "end": 18151, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 88 } }, "object": { "type": "ThisExpression", "start": 18139, "end": 18143, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 80 } } }, "property": { "type": "Identifier", "start": 18144, "end": 18151, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18152, "end": 18159, "loc": { "start": { "line": 523, "column": 89 }, "end": { "line": 523, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 18161, "end": 18186, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 123 } }, "object": { "type": "MemberExpression", "start": 18161, "end": 18173, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 110 } }, "object": { "type": "ThisExpression", "start": 18161, "end": 18165, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 102 } } }, "property": { "type": "Identifier", "start": 18166, "end": 18173, "loc": { "start": { "line": 523, "column": 103 }, "end": { "line": 523, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18174, "end": 18186, "loc": { "start": { "line": 523, "column": 111 }, "end": { "line": 523, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18200, "end": 18244, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18254, "end": 18300, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18258, "end": 18299, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 53 } }, "id": { "type": "Identifier", "start": 18258, "end": 18267, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 18270, "end": 18299, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 18270, "end": 18292, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 46 } }, "object": { "type": "Identifier", "start": 18270, "end": 18278, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18279, "end": 18292, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18293, "end": 18298, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18200, "end": 18244, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18310, "end": 18407, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 18310, "end": 18406, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 18310, "end": 18329, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 27 } }, "object": { "type": "Identifier", "start": 18310, "end": 18319, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18320, "end": 18329, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 18333, "end": 18406, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 18346, "end": 18357, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 18360, "end": 18404, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 102 } }, "test": { "type": "Identifier", "start": 18360, "end": 18376, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 18379, "end": 18399, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 97 } }, "left": { "type": "StringLiteral", "start": 18379, "end": 18382, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 18383, "end": 18399, "loc": { "start": { "line": 529, "column": 81 }, "end": { "line": 529, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 18402, "end": 18404, "loc": { "start": { "line": 529, "column": 100 }, "end": { "line": 529, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 18334, "end": 18344, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 18358, "end": 18358, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18405, "end": 18405, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 18417, "end": 18476, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 18417, "end": 18475, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18417, "end": 18434, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 25 } }, "object": { "type": "Identifier", "start": 18417, "end": 18426, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18427, "end": 18434, "loc": { "start": { "line": 530, "column": 18 }, "end": { "line": 530, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 18437, "end": 18475, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 18443, "end": 18475, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 18443, "end": 18467, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 58 } }, "object": { "type": "ThisExpression", "start": 18443, "end": 18447, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 38 } } }, "property": { "type": "Identifier", "start": 18448, "end": 18467, "loc": { "start": { "line": 530, "column": 39 }, "end": { "line": 530, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18468, "end": 18474, "loc": { "start": { "line": 530, "column": 59 }, "end": { "line": 530, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18488, "end": 18534, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18544, "end": 18589, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 53 } }, "expression": { "type": "CallExpression", "start": 18544, "end": 18588, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 18544, "end": 18566, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 30 } }, "object": { "type": "Identifier", "start": 18544, "end": 18553, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18554, "end": 18566, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18567, "end": 18579, "loc": { "start": { "line": 535, "column": 31 }, "end": { "line": 535, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 18581, "end": 18587, "loc": { "start": { "line": 535, "column": 45 }, "end": { "line": 535, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18488, "end": 18534, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 18601, "end": 18756, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18766, "end": 18832, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18770, "end": 18831, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 73 } }, "id": { "type": "Identifier", "start": 18770, "end": 18779, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 18782, "end": 18831, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 18785, "end": 18808, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 50 } }, "object": { "type": "MemberExpression", "start": 18785, "end": 18797, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 39 } }, "object": { "type": "ThisExpression", "start": 18785, "end": 18789, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 31 } } }, "property": { "type": "Identifier", "start": 18790, "end": 18797, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18798, "end": 18808, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 18813, "end": 18819, "loc": { "start": { "line": 541, "column": 55 }, "end": { "line": 541, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 18823, "end": 18829, "loc": { "start": { "line": 541, "column": 65 }, "end": { "line": 541, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 18783, "end": 18783, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18809, "end": 18811, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 18820, "end": 18821, "loc": { "start": { "line": 541, "column": 62 }, "end": { "line": 541, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 18830, "end": 18830, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 18601, "end": 18756, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18842, "end": 18893, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 59 } }, "expression": { "type": "CallExpression", "start": 18842, "end": 18892, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 18842, "end": 18864, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 30 } }, "object": { "type": "Identifier", "start": 18842, "end": 18851, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18852, "end": 18864, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18865, "end": 18880, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 18882, "end": 18891, "loc": { "start": { "line": 542, "column": 48 }, "end": { "line": 542, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18905, "end": 18954, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18964, "end": 19027, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 71 } }, "expression": { "type": "CallExpression", "start": 18964, "end": 19026, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 18964, "end": 18986, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 30 } }, "object": { "type": "Identifier", "start": 18964, "end": 18973, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18974, "end": 18986, "loc": { "start": { "line": 547, "column": 18 }, "end": { "line": 547, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18987, "end": 19006, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 19008, "end": 19025, "loc": { "start": { "line": 547, "column": 52 }, "end": { "line": 547, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18905, "end": 18954, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19039, "end": 19097, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 19107, "end": 19158, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19111, "end": 19157, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 58 } }, "id": { "type": "Identifier", "start": 19111, "end": 19124, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19127, "end": 19157, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 19127, "end": 19149, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 50 } }, "object": { "type": "Identifier", "start": 19127, "end": 19135, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 19136, "end": 19149, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19150, "end": 19156, "loc": { "start": { "line": 552, "column": 51 }, "end": { "line": 552, "column": 57 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19039, "end": 19097, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19168, "end": 19212, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 19168, "end": 19211, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19168, "end": 19191, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 31 } }, "object": { "type": "Identifier", "start": 19168, "end": 19181, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 19182, "end": 19191, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 19194, "end": 19211, "loc": { "start": { "line": 553, "column": 34 }, "end": { "line": 553, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 19222, "end": 19259, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 45 } }, "expression": { "type": "CallExpression", "start": 19222, "end": 19258, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 19222, "end": 19243, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 29 } }, "object": { "type": "Identifier", "start": 19222, "end": 19231, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 19232, "end": 19243, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19244, "end": 19257, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19271, "end": 19324, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "IfStatement", "start": 19334, "end": 19411, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 560, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 19337, "end": 19365, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19338, "end": 19365, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 39 } }, "object": { "type": "MemberExpression", "start": 19338, "end": 19357, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 31 } }, "object": { "type": "ThisExpression", "start": 19338, "end": 19342, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19343, "end": 19357, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19358, "end": 19364, "loc": { "start": { "line": 559, "column": 32 }, "end": { "line": 559, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 19378, "end": 19411, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 19378, "end": 19410, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19378, "end": 19405, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 37 } }, "object": { "type": "MemberExpression", "start": 19378, "end": 19397, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19378, "end": 19382, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, "property": { "type": "Identifier", "start": 19383, "end": 19397, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19398, "end": 19404, "loc": { "start": { "line": 560, "column": 30 }, "end": { "line": 560, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 19408, "end": 19410, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19271, "end": 19324, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19423, "end": 19467, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 52 } }, "expression": { "type": "CallExpression", "start": 19423, "end": 19466, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 19423, "end": 19455, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 40 } }, "object": { "type": "MemberExpression", "start": 19423, "end": 19450, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19423, "end": 19442, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 27 } }, "object": { "type": "ThisExpression", "start": 19423, "end": 19427, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 12 } } }, "property": { "type": "Identifier", "start": 19428, "end": 19442, "loc": { "start": { "line": 562, "column": 13 }, "end": { "line": 562, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19443, "end": 19449, "loc": { "start": { "line": 562, "column": 28 }, "end": { "line": 562, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 19451, "end": 19455, "loc": { "start": { "line": 562, "column": 36 }, "end": { "line": 562, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19456, "end": 19465, "loc": { "start": { "line": 562, "column": 41 }, "end": { "line": 562, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19479, "end": 19531, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19541, "end": 19571, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 38 } }, "expression": { "type": "CallExpression", "start": 19541, "end": 19570, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 19541, "end": 19559, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 26 } }, "object": { "type": "Identifier", "start": 19541, "end": 19547, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 19548, "end": 19559, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19560, "end": 19569, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19479, "end": 19531, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17828, "end": 17889, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19594, "end": 19644, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19652, "end": 19689, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 43 } }, "expression": { "type": "CallExpression", "start": 19652, "end": 19688, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19652, "end": 19680, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19652, "end": 19668, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19652, "end": 19656, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19657, "end": 19668, "loc": { "start": { "line": 574, "column": 11 }, "end": { "line": 574, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19669, "end": 19680, "loc": { "start": { "line": 574, "column": 23 }, "end": { "line": 574, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19681, "end": 19687, "loc": { "start": { "line": 574, "column": 35 }, "end": { "line": 574, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19594, "end": 19644, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17528, "end": 17575, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19706, "end": 19743, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19749, "end": 19765, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19749, "end": 19764, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19749, "end": 19762, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19749, "end": 19753, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19754, "end": 19762, "loc": { "start": { "line": 580, "column": 9 }, "end": { "line": 580, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19706, "end": 19743, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19773, "end": 19995, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 592, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 19776, "end": 19793, "loc": { "start": { "line": 582, "column": 7 }, "end": { "line": 582, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19777, "end": 19793, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 24 } }, "object": { "type": "ThisExpression", "start": 19777, "end": 19781, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 12 } } }, "property": { "type": "Identifier", "start": 19782, "end": 19793, "loc": { "start": { "line": 582, "column": 13 }, "end": { "line": 582, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 19794, "end": 19995, "loc": { "start": { "line": 582, "column": 25 }, "end": { "line": 592, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19893, "end": 19917, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19893, "end": 19916, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19893, "end": 19909, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19893, "end": 19897, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19898, "end": 19909, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 19912, "end": 19916, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19803, "end": 19885, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19927, "end": 19966, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19974, "end": 19988, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19974, "end": 19987, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19974, "end": 19985, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19974, "end": 19978, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19979, "end": 19985, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19927, "end": 19966, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15811, "end": 15867, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 20007, "end": 20037, "loc": { "start": { "line": 596, "column": 0 }, "end": { "line": 596, "column": 30 } }, "declaration": { "type": "Identifier", "start": 20022, "end": 20036, "loc": { "start": { "line": 596, "column": 15 }, "end": { "line": 596, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 20007, "end": 20037, "loc": { "start": { "line": 596, "column": 0 }, "end": { "line": 596, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 20003, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 594, "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": 20003, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 594, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 5952, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 116, "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": 5952, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 116, "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 * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4849, "end": 4865, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 4849, "end": 4864, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4849, "end": 4859, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4849, "end": 4853, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4854, "end": 4859, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 4862, "end": 4864, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "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": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4871, "end": 4911, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 4871, "end": 4910, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4871, "end": 4905, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4871, "end": 4881, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4871, "end": 4875, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4876, "end": 4881, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 4882, "end": 4904, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "MemberExpression", "start": 4882, "end": 4894, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4882, "end": 4886, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 19 } } }, "property": { "type": "Identifier", "start": 4887, "end": 4894, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4895, "end": 4904, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 4908, "end": 4910, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5034, "end": 5095, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 5034, "end": 5094, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5034, "end": 5055, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5034, "end": 5038, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5039, "end": 5055, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 5058, "end": 5094, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5090, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 60 } }, "object": { "type": "CallExpression", "start": 5058, "end": 5085, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 5058, "end": 5080, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 50 } }, "object": { "type": "Identifier", "start": 5058, "end": 5074, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 5075, "end": 5080, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5081, "end": 5084, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 5086, "end": 5090, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5091, "end": 5093, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "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": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5254, "end": 5279, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 5254, "end": 5278, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5254, "end": 5273, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5254, "end": 5258, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5259, "end": 5273, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 5276, "end": 5278, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "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": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5332, "end": 5511, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 101, "column": 5 } }, "test": { "type": "MemberExpression", "start": 5335, "end": 5351, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5335, "end": 5339, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5340, "end": 5351, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5360, "end": 5374, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 20 } }, "expression": { "type": "CallExpression", "start": 5360, "end": 5373, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 5360, "end": 5371, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5360, "end": 5364, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 10 } } }, "property": { "type": "Identifier", "start": 5365, "end": 5371, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 5385, "end": 5511, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 101, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5394, "end": 5458, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 70 } }, "expression": { "type": "CallExpression", "start": 5394, "end": 5457, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 5394, "end": 5406, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 18 } }, "object": { "type": "Identifier", "start": 5394, "end": 5401, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 5402, "end": 5406, "loc": { "start": { "line": 99, "column": 14 }, "end": { "line": 99, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 5407, "end": 5456, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 5411, "end": 5427, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 5408, "end": 5409, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 5428, "end": 5455, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 5466, "end": 5504, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 44 } }, "argument": { "type": "NewExpression", "start": 5472, "end": 5503, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 43 } }, "callee": { "type": "Identifier", "start": 5476, "end": 5481, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 5482, "end": 5502, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "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": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "IfStatement", "start": 5638, "end": 5723, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 108, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 5641, "end": 5675, "loc": { "start": { "line": 107, "column": 7 }, "end": { "line": 107, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5642, "end": 5675, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 41 } }, "object": { "type": "Identifier", "start": 5642, "end": 5648, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 5649, "end": 5674, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 5684, "end": 5723, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5684, "end": 5722, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5684, "end": 5717, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 39 } }, "object": { "type": "Identifier", "start": 5684, "end": 5690, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5691, "end": 5716, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 5720, "end": 5722, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "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": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5737, "end": 5827, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 5737, "end": 5826, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5737, "end": 5819, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 86 } }, "object": { "type": "MemberExpression", "start": 5737, "end": 5770, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 37 } }, "object": { "type": "Identifier", "start": 5737, "end": 5743, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 5744, "end": 5769, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 5771, "end": 5818, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 5771, "end": 5795, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 62 } }, "object": { "type": "MemberExpression", "start": 5771, "end": 5785, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 52 } }, "object": { "type": "ThisExpression", "start": 5771, "end": 5775, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 42 } } }, "property": { "type": "Identifier", "start": 5776, "end": 5785, "loc": { "start": { "line": 110, "column": 43 }, "end": { "line": 110, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 5786, "end": 5795, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5796, "end": 5817, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 84 } }, "object": { "type": "ThisExpression", "start": 5796, "end": 5800, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 67 } } }, "property": { "type": "Identifier", "start": 5801, "end": 5817, "loc": { "start": { "line": 110, "column": 68 }, "end": { "line": 110, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 5822, "end": 5826, "loc": { "start": { "line": 110, "column": 89 }, "end": { "line": 110, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 5887, "end": 5947, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 5887, "end": 5946, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5887, "end": 5917, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5887, "end": 5891, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5892, "end": 5917, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 5920, "end": 5946, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 63 } }, "callee": { "type": "Identifier", "start": 5924, "end": 5940, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 5941, "end": 5945, "loc": { "start": { "line": 115, "column": 58 }, "end": { "line": 115, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } } ] } ], "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 6072, "end": 7466, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 171, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6072, "end": 6091, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 6094, "end": 7466, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 171, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6095, "end": 6101, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 31 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 6106, "end": 7466, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 171, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 6113, "end": 6144, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6117, "end": 6143, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 34 } }, "id": { "type": "Identifier", "start": 6117, "end": 6122, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 6125, "end": 6143, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 34 } }, "object": { "type": "MemberExpression", "start": 6125, "end": 6137, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 28 } }, "object": { "type": "ThisExpression", "start": 6125, "end": 6129, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, "property": { "type": "Identifier", "start": 6130, "end": 6137, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6138, "end": 6143, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6207, "end": 6249, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 128, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 6210, "end": 6227, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 24 } }, "left": { "type": "Identifier", "start": 6210, "end": 6216, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6221, "end": 6227, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 6236, "end": 6249, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 6243, "end": 6248, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6302, "end": 6391, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 134, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 6305, "end": 6350, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 6305, "end": 6335, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 6312, "end": 6335, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6312, "end": 6324, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 26 } }, "object": { "type": "ThisExpression", "start": 6312, "end": 6316, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6317, "end": 6324, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6325, "end": 6335, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 6340, "end": 6350, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6359, "end": 6391, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 38 } }, "expression": { "type": "CallExpression", "start": 6359, "end": 6390, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 6359, "end": 6382, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 29 } }, "object": { "type": "MemberExpression", "start": 6359, "end": 6371, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6359, "end": 6363, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 10 } } }, "property": { "type": "Identifier", "start": 6364, "end": 6371, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6372, "end": 6382, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6383, "end": 6389, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6403, "end": 6490, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 137, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 6406, "end": 6441, "loc": { "start": { "line": 136, "column": 7 }, "end": { "line": 136, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 6407, "end": 6441, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 42 } }, "object": { "type": "MemberExpression", "start": 6407, "end": 6417, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 18 } }, "object": { "type": "ThisExpression", "start": 6407, "end": 6411, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, "property": { "type": "Identifier", "start": 6412, "end": 6417, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6418, "end": 6440, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6418, "end": 6430, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 31 } }, "object": { "type": "ThisExpression", "start": 6418, "end": 6422, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 23 } } }, "property": { "type": "Identifier", "start": 6423, "end": 6430, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6431, "end": 6440, "loc": { "start": { "line": 136, "column": 32 }, "end": { "line": 136, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 6450, "end": 6490, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 6450, "end": 6489, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6450, "end": 6484, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6450, "end": 6460, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6450, "end": 6454, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, "property": { "type": "Identifier", "start": 6455, "end": 6460, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6461, "end": 6483, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6461, "end": 6473, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6461, "end": 6465, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 21 } } }, "property": { "type": "Identifier", "start": 6466, "end": 6473, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6474, "end": 6483, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6487, "end": 6489, "loc": { "start": { "line": 137, "column": 43 }, "end": { "line": 137, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 6498, "end": 6626, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6502, "end": 6625, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 131 } }, "id": { "type": "Identifier", "start": 6502, "end": 6514, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 6517, "end": 6625, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 131 } }, "callee": { "type": "MemberExpression", "start": 6517, "end": 6547, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 53 } }, "object": { "type": "MemberExpression", "start": 6517, "end": 6531, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 37 } }, "object": { "type": "ThisExpression", "start": 6517, "end": 6521, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 27 } } }, "property": { "type": "Identifier", "start": 6522, "end": 6531, "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 139, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6532, "end": 6547, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6548, "end": 6554, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 60 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 6556, "end": 6590, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 96 } }, "object": { "type": "MemberExpression", "start": 6556, "end": 6566, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 72 } }, "object": { "type": "ThisExpression", "start": 6556, "end": 6560, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 66 } } }, "property": { "type": "Identifier", "start": 6561, "end": 6566, "loc": { "start": { "line": 139, "column": 67 }, "end": { "line": 139, "column": 72 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6567, "end": 6589, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 95 } }, "object": { "type": "MemberExpression", "start": 6567, "end": 6579, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 85 } }, "object": { "type": "ThisExpression", "start": 6567, "end": 6571, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 77 } } }, "property": { "type": "Identifier", "start": 6572, "end": 6579, "loc": { "start": { "line": 139, "column": 78 }, "end": { "line": 139, "column": 85 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6580, "end": 6589, "loc": { "start": { "line": 139, "column": 86 }, "end": { "line": 139, "column": 95 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 6592, "end": 6604, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 110 } }, "object": { "type": "ThisExpression", "start": 6592, "end": 6596, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 102 } } }, "property": { "type": "Identifier", "start": 6597, "end": 6604, "loc": { "start": { "line": 139, "column": 103 }, "end": { "line": 139, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 6606, "end": 6624, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 130 } }, "object": { "type": "ThisExpression", "start": 6606, "end": 6610, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 116 } } }, "property": { "type": "Identifier", "start": 6611, "end": 6624, "loc": { "start": { "line": 139, "column": 117 }, "end": { "line": 139, "column": 130 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 6634, "end": 7388, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 166, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6637, "end": 6688, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 58 } }, "left": { "type": "MemberExpression", "start": 6637, "end": 6671, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 41 } }, "object": { "type": "MemberExpression", "start": 6637, "end": 6647, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6637, "end": 6641, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 11 } } }, "property": { "type": "Identifier", "start": 6642, "end": 6647, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6648, "end": 6670, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6648, "end": 6660, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 30 } }, "object": { "type": "ThisExpression", "start": 6648, "end": 6652, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 22 } } }, "property": { "type": "Identifier", "start": 6653, "end": 6660, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6661, "end": 6670, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 6676, "end": 6688, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 6689, "end": 7388, "loc": { "start": { "line": 141, "column": 59 }, "end": { "line": 166, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 6785, "end": 6918, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 148, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 6788, "end": 6884, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 105 } }, "left": { "type": "MemberExpression", "start": 6788, "end": 6810, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 31 } }, "object": { "type": "MemberExpression", "start": 6788, "end": 6800, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 21 } }, "object": { "type": "ThisExpression", "start": 6788, "end": 6792, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6793, "end": 6800, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 6801, "end": 6810, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 6814, "end": 6884, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 6814, "end": 6844, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 65 } }, "object": { "type": "MemberExpression", "start": 6814, "end": 6828, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 49 } }, "object": { "type": "ThisExpression", "start": 6814, "end": 6818, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 39 } } }, "property": { "type": "Identifier", "start": 6819, "end": 6828, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 6829, "end": 6844, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6845, "end": 6855, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 76 } }, "object": { "type": "ThisExpression", "start": 6845, "end": 6849, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 70 } } }, "property": { "type": "Identifier", "start": 6850, "end": 6855, "loc": { "start": { "line": 146, "column": 71 }, "end": { "line": 146, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 6857, "end": 6869, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 90 } }, "object": { "type": "ThisExpression", "start": 6857, "end": 6861, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 82 } } }, "property": { "type": "Identifier", "start": 6862, "end": 6869, "loc": { "start": { "line": 146, "column": 83 }, "end": { "line": 146, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 6871, "end": 6883, "loc": { "start": { "line": 146, "column": 92 }, "end": { "line": 146, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6885, "end": 6918, "loc": { "start": { "line": 146, "column": 106 }, "end": { "line": 148, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 6896, "end": 6909, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 6903, "end": 6908, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 6928, "end": 6978, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 6928, "end": 6977, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6928, "end": 6962, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 40 } }, "object": { "type": "MemberExpression", "start": 6928, "end": 6938, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 16 } }, "object": { "type": "ThisExpression", "start": 6928, "end": 6932, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 10 } } }, "property": { "type": "Identifier", "start": 6933, "end": 6938, "loc": { "start": { "line": 150, "column": 11 }, "end": { "line": 150, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6939, "end": 6961, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 39 } }, "object": { "type": "MemberExpression", "start": 6939, "end": 6951, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 29 } }, "object": { "type": "ThisExpression", "start": 6939, "end": 6943, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, "property": { "type": "Identifier", "start": 6944, "end": 6951, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6952, "end": 6961, "loc": { "start": { "line": 150, "column": 30 }, "end": { "line": 150, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "Identifier", "start": 6965, "end": 6977, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 55 }, "identifierName": "updatedInput" }, "name": "updatedInput" } } }, { "type": "IfStatement", "start": 6988, "end": 7049, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 153, "column": 50 } }, "test": { "type": "Identifier", "start": 6991, "end": 6996, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 7007, "end": 7049, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 50 } }, "expression": { "type": "CallExpression", "start": 7007, "end": 7048, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7007, "end": 7018, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 19 } }, "object": { "type": "Identifier", "start": 7007, "end": 7014, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7015, "end": 7018, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7019, "end": 7035, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 7037, "end": 7047, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 48 } }, "object": { "type": "ThisExpression", "start": 7037, "end": 7041, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 42 } } }, "property": { "type": "Identifier", "start": 7042, "end": 7047, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 48 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7126, "end": 7207, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 159, "column": 44 } }, "test": { "type": "MemberExpression", "start": 7129, "end": 7160, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 40 } }, "object": { "type": "MemberExpression", "start": 7129, "end": 7141, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 21 } }, "object": { "type": "ThisExpression", "start": 7129, "end": 7133, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7134, "end": 7141, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7142, "end": 7160, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7171, "end": 7207, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 44 } }, "expression": { "type": "CallExpression", "start": 7171, "end": 7206, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 7171, "end": 7194, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 31 } }, "object": { "type": "ThisExpression", "start": 7171, "end": 7175, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, "property": { "type": "Identifier", "start": 7176, "end": 7194, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7195, "end": 7205, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7195, "end": 7199, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 36 } } }, "property": { "type": "Identifier", "start": 7200, "end": 7205, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 42 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] }, { "type": "IfStatement", "start": 7266, "end": 7381, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 165, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 7269, "end": 7312, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7269, "end": 7297, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7276, "end": 7297, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7276, "end": 7288, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7276, "end": 7280, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7281, "end": 7288, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7289, "end": 7297, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7302, "end": 7312, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7323, "end": 7381, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 66 } }, "expression": { "type": "CallExpression", "start": 7323, "end": 7380, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 7323, "end": 7344, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 29 } }, "object": { "type": "MemberExpression", "start": 7323, "end": 7335, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7323, "end": 7327, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 12 } } }, "property": { "type": "Identifier", "start": 7328, "end": 7335, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7336, "end": 7344, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7345, "end": 7379, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 64 } }, "object": { "type": "MemberExpression", "start": 7345, "end": 7355, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 40 } }, "object": { "type": "ThisExpression", "start": 7345, "end": 7349, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 34 } } }, "property": { "type": "Identifier", "start": 7350, "end": 7355, "loc": { "start": { "line": 165, "column": 35 }, "end": { "line": 165, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7356, "end": 7378, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 63 } }, "object": { "type": "MemberExpression", "start": 7356, "end": 7368, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 53 } }, "object": { "type": "ThisExpression", "start": 7356, "end": 7360, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 45 } } }, "property": { "type": "Identifier", "start": 7361, "end": 7368, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7369, "end": 7378, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 7400, "end": 7461, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } }, "test": { "type": "Identifier", "start": 7403, "end": 7408, "loc": { "start": { "line": 168, "column": 7 }, "end": { "line": 168, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 7409, "end": 7461, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 170, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7418, "end": 7454, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 42 } }, "expression": { "type": "CallExpression", "start": 7418, "end": 7453, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 7418, "end": 7429, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 17 } }, "object": { "type": "Identifier", "start": 7418, "end": 7425, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 7426, "end": 7429, "loc": { "start": { "line": 169, "column": 14 }, "end": { "line": 169, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7430, "end": 7444, "loc": { "start": { "line": 169, "column": 18 }, "end": { "line": 169, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 7446, "end": 7452, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7573, "end": 7692, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 180, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7573, "end": 7591, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 176, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7594, "end": 7692, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 180, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 7600, "end": 7692, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 180, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7607, "end": 7687, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 7 } }, "expression": { "type": "CallExpression", "start": 7607, "end": 7686, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 179, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 7607, "end": 7620, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 17 } }, "object": { "type": "ThisExpression", "start": 7607, "end": 7611, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 8 } } }, "property": { "type": "Identifier", "start": 7612, "end": 7620, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 7621, "end": 7685, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 179, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7622, "end": 7630, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 7635, "end": 7685, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 179, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7644, "end": 7678, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 40 } }, "expression": { "type": "CallExpression", "start": 7644, "end": 7677, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 7644, "end": 7665, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 27 } }, "object": { "type": "Identifier", "start": 7644, "end": 7652, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 7653, "end": 7665, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7666, "end": 7676, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 38 } }, "object": { "type": "ThisExpression", "start": 7666, "end": 7670, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 32 } } }, "property": { "type": "Identifier", "start": 7671, "end": 7676, "loc": { "start": { "line": 178, "column": 33 }, "end": { "line": 178, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 7700, "end": 7818, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 7822, "end": 8104, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 195, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7822, "end": 7832, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 186, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 7835, "end": 8104, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 195, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7836, "end": 7845, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 7850, "end": 8104, "loc": { "start": { "line": 186, "column": 30 }, "end": { "line": 195, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 7857, "end": 7905, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 7857, "end": 7904, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 7857, "end": 7866, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 7869, "end": 7904, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 51 } }, "left": { "type": "Identifier", "start": 7869, "end": 7878, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 7882, "end": 7904, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 51 } }, "object": { "type": "MemberExpression", "start": 7882, "end": 7894, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 41 } }, "object": { "type": "ThisExpression", "start": 7882, "end": 7886, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 33 } } }, "property": { "type": "Identifier", "start": 7887, "end": 7894, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7895, "end": 7904, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 7911, "end": 7951, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 7911, "end": 7950, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7911, "end": 7945, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7911, "end": 7921, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 14 } }, "object": { "type": "ThisExpression", "start": 7911, "end": 7915, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 8 } } }, "property": { "type": "Identifier", "start": 7916, "end": 7921, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 7922, "end": 7944, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7922, "end": 7934, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7922, "end": 7926, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 19 } } }, "property": { "type": "Identifier", "start": 7927, "end": 7934, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7935, "end": 7944, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 7948, "end": 7950, "loc": { "start": { "line": 188, "column": 41 }, "end": { "line": 188, "column": 43 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7959, "end": 8014, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8020, "end": 8099, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 194, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8023, "end": 8054, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8023, "end": 8035, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8023, "end": 8027, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8028, "end": 8035, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8036, "end": 8054, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8063, "end": 8099, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8063, "end": 8098, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8063, "end": 8086, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8063, "end": 8067, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 10 } } }, "property": { "type": "Identifier", "start": 8068, "end": 8086, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8087, "end": 8097, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8087, "end": 8091, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 34 } } }, "property": { "type": "Identifier", "start": 8092, "end": 8097, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7959, "end": 8014, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 7700, "end": 7818, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "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": 8110, "end": 8272, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8276, "end": 8560, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 211, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8276, "end": 8284, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 201, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8287, "end": 8560, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 211, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8288, "end": 8297, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 23 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8302, "end": 8560, "loc": { "start": { "line": 201, "column": 28 }, "end": { "line": 211, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8309, "end": 8357, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8309, "end": 8356, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8309, "end": 8318, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8321, "end": 8356, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 51 } }, "left": { "type": "Identifier", "start": 8321, "end": 8330, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8334, "end": 8356, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8334, "end": 8346, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8334, "end": 8338, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 33 } } }, "property": { "type": "Identifier", "start": 8339, "end": 8346, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8347, "end": 8356, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8365, "end": 8420, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8426, "end": 8505, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 208, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8429, "end": 8460, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8429, "end": 8441, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8429, "end": 8433, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8434, "end": 8441, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8442, "end": 8460, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8469, "end": 8505, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8469, "end": 8504, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8469, "end": 8492, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8469, "end": 8473, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 10 } } }, "property": { "type": "Identifier", "start": 8474, "end": 8492, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8493, "end": 8503, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8493, "end": 8497, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, "property": { "type": "Identifier", "start": 8498, "end": 8503, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8365, "end": 8420, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 8513, "end": 8555, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 8520, "end": 8554, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 45 } }, "object": { "type": "MemberExpression", "start": 8520, "end": 8530, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8520, "end": 8524, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 15 } } }, "property": { "type": "Identifier", "start": 8525, "end": 8530, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8531, "end": 8553, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 44 } }, "object": { "type": "MemberExpression", "start": 8531, "end": 8543, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 34 } }, "object": { "type": "ThisExpression", "start": 8531, "end": 8535, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 26 } } }, "property": { "type": "Identifier", "start": 8536, "end": 8543, "loc": { "start": { "line": 210, "column": 27 }, "end": { "line": 210, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8544, "end": 8553, "loc": { "start": { "line": 210, "column": 35 }, "end": { "line": 210, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 8110, "end": 8272, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 8566, "end": 8726, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 8730, "end": 9007, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 227, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8730, "end": 8738, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 8741, "end": 9007, "loc": { "start": { "line": 218, "column": 13 }, "end": { "line": 227, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8742, "end": 8747, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 19 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 8749, "end": 8758, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 30 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 8763, "end": 9007, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 227, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 8770, "end": 8818, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 8770, "end": 8817, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 8770, "end": 8779, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 8782, "end": 8817, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 51 } }, "left": { "type": "Identifier", "start": 8782, "end": 8791, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 8795, "end": 8817, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 51 } }, "object": { "type": "MemberExpression", "start": 8795, "end": 8807, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 41 } }, "object": { "type": "ThisExpression", "start": 8795, "end": 8799, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 33 } } }, "property": { "type": "Identifier", "start": 8800, "end": 8807, "loc": { "start": { "line": 219, "column": 34 }, "end": { "line": 219, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8808, "end": 8817, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 8824, "end": 8854, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 8824, "end": 8853, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8824, "end": 8845, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 25 } }, "object": { "type": "MemberExpression", "start": 8824, "end": 8834, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 14 } }, "object": { "type": "ThisExpression", "start": 8824, "end": 8828, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 8 } } }, "property": { "type": "Identifier", "start": 8829, "end": 8834, "loc": { "start": { "line": 220, "column": 9 }, "end": { "line": 220, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 8835, "end": 8844, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 8848, "end": 8853, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8862, "end": 8917, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8923, "end": 9002, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 226, "column": 42 } }, "test": { "type": "MemberExpression", "start": 8926, "end": 8957, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 38 } }, "object": { "type": "MemberExpression", "start": 8926, "end": 8938, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 19 } }, "object": { "type": "ThisExpression", "start": 8926, "end": 8930, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8931, "end": 8938, "loc": { "start": { "line": 225, "column": 12 }, "end": { "line": 225, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8939, "end": 8957, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8966, "end": 9002, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 42 } }, "expression": { "type": "CallExpression", "start": 8966, "end": 9001, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 8966, "end": 8989, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8966, "end": 8970, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, "property": { "type": "Identifier", "start": 8971, "end": 8989, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8990, "end": 9000, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 40 } }, "object": { "type": "ThisExpression", "start": 8990, "end": 8994, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 34 } } }, "property": { "type": "Identifier", "start": 8995, "end": 9000, "loc": { "start": { "line": 226, "column": 35 }, "end": { "line": 226, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8862, "end": 8917, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 8566, "end": 8726, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9015, "end": 9124, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9128, "end": 9191, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 235, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9128, "end": 9140, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 233, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9143, "end": 9191, "loc": { "start": { "line": 233, "column": 17 }, "end": { "line": 235, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9144, "end": 9152, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 26 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 9157, "end": 9191, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 235, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9164, "end": 9186, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9164, "end": 9185, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9164, "end": 9174, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 14 } }, "object": { "type": "ThisExpression", "start": 9164, "end": 9168, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 8 } } }, "property": { "type": "Identifier", "start": 9169, "end": 9174, "loc": { "start": { "line": 234, "column": 9 }, "end": { "line": 234, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 9177, "end": 9185, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9015, "end": 9124, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "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": 9197, "end": 9323, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9327, "end": 9461, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 245, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9327, "end": 9337, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 241, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9340, "end": 9461, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 245, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9340, "end": 9346, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 9350, "end": 9461, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 245, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9357, "end": 9379, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 9357, "end": 9378, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 9357, "end": 9363, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 9366, "end": 9378, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 25 } }, "left": { "type": "Identifier", "start": 9366, "end": 9372, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 9376, "end": 9378, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 9385, "end": 9436, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9385, "end": 9435, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9385, "end": 9397, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 16 } }, "object": { "type": "ThisExpression", "start": 9385, "end": 9389, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 8 } } }, "property": { "type": "Identifier", "start": 9390, "end": 9397, "loc": { "start": { "line": 243, "column": 9 }, "end": { "line": 243, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 9400, "end": 9435, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 9400, "end": 9413, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 32 } }, "object": { "type": "Identifier", "start": 9400, "end": 9406, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 9407, "end": 9413, "loc": { "start": { "line": 243, "column": 26 }, "end": { "line": 243, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9414, "end": 9426, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 45 } }, "object": { "type": "ThisExpression", "start": 9414, "end": 9418, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 37 } } }, "property": { "type": "Identifier", "start": 9419, "end": 9426, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 9428, "end": 9434, "loc": { "start": { "line": 243, "column": 47 }, "end": { "line": 243, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 9442, "end": 9456, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 18 } }, "expression": { "type": "CallExpression", "start": 9442, "end": 9455, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 9442, "end": 9453, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 15 } }, "object": { "type": "ThisExpression", "start": 9442, "end": 9446, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, "property": { "type": "Identifier", "start": 9447, "end": 9453, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "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": 9197, "end": 9323, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "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": 9467, "end": 9576, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9580, "end": 9726, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 255, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9580, "end": 9585, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9588, "end": 9726, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 255, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9594, "end": 9726, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 255, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9601, "end": 9633, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 9601, "end": 9632, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9601, "end": 9627, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9601, "end": 9617, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9601, "end": 9605, "loc": { "start": { "line": 252, "column": 4 }, "end": { "line": 252, "column": 8 } } }, "property": { "type": "Identifier", "start": 9606, "end": 9617, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9618, "end": 9627, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 9630, "end": 9632, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 9639, "end": 9690, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 9639, "end": 9689, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9639, "end": 9665, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 30 } }, "object": { "type": "MemberExpression", "start": 9639, "end": 9655, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9639, "end": 9643, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, "property": { "type": "Identifier", "start": 9644, "end": 9655, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 9656, "end": 9665, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 9668, "end": 9689, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 54 } }, "object": { "type": "ThisExpression", "start": 9668, "end": 9672, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 37 } } }, "property": { "type": "Identifier", "start": 9673, "end": 9689, "loc": { "start": { "line": 253, "column": 38 }, "end": { "line": 253, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 9696, "end": 9721, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 9696, "end": 9720, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9696, "end": 9715, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9696, "end": 9700, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, "property": { "type": "Identifier", "start": 9701, "end": 9715, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 9718, "end": 9720, "loc": { "start": { "line": 254, "column": 26 }, "end": { "line": 254, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 9467, "end": 9576, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "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": 9732, "end": 9937, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9941, "end": 10316, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 270, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9941, "end": 9949, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9952, "end": 10316, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 270, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9953, "end": 9961, "loc": { "start": { "line": 261, "column": 14 }, "end": { "line": 261, "column": 22 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 9966, "end": 10316, "loc": { "start": { "line": 261, "column": 27 }, "end": { "line": 270, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 9973, "end": 10157, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 265, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 9976, "end": 10010, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9977, "end": 10010, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 41 } }, "object": { "type": "Identifier", "start": 9977, "end": 9983, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 9984, "end": 10009, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10011, "end": 10157, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 265, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10020, "end": 10103, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 89 } }, "expression": { "type": "CallExpression", "start": 10020, "end": 10102, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 10020, "end": 10032, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 18 } }, "object": { "type": "Identifier", "start": 10020, "end": 10027, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10028, "end": 10032, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 10033, "end": 10101, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 10034, "end": 10100, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "column": 86 } }, "value": { "raw": "SimpleKeyboardInstances is not defined. Dispatch cannot be called.", "cooked": "SimpleKeyboardInstances is not defined. Dispatch cannot be called." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 10111, "end": 10150, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "column": 45 } }, "argument": { "type": "NewExpression", "start": 10117, "end": 10149, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 44 } }, "callee": { "type": "Identifier", "start": 10121, "end": 10126, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 10127, "end": 10148, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 10169, "end": 10311, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 269, "column": 6 } }, "argument": { "type": "CallExpression", "start": 10176, "end": 10311, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 269, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10176, "end": 10230, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 65 } }, "object": { "type": "CallExpression", "start": 10176, "end": 10222, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 10176, "end": 10187, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 22 } }, "object": { "type": "Identifier", "start": 10176, "end": 10182, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 10183, "end": 10187, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10188, "end": 10221, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 56 } }, "object": { "type": "Identifier", "start": 10188, "end": 10194, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10195, "end": 10220, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 10223, "end": 10230, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10231, "end": 10310, "loc": { "start": { "line": 267, "column": 66 }, "end": { "line": 269, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10232, "end": 10235, "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 10240, "end": 10310, "loc": { "start": { "line": 267, "column": 75 }, "end": { "line": 269, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10249, "end": 10303, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 60 } }, "expression": { "type": "CallExpression", "start": 10249, "end": 10302, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 59 } }, "callee": { "type": "Identifier", "start": 10249, "end": 10257, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 10258, "end": 10296, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 53 } }, "object": { "type": "MemberExpression", "start": 10258, "end": 10291, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 48 } }, "object": { "type": "Identifier", "start": 10258, "end": 10264, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 10265, "end": 10290, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 10292, "end": 10295, "loc": { "start": { "line": 268, "column": 49 }, "end": { "line": 268, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 10298, "end": 10301, "loc": { "start": { "line": 268, "column": 55 }, "end": { "line": 268, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 9732, "end": 9937, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 10322, "end": 10603, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 10607, "end": 11846, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 320, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10607, "end": 10621, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 10624, "end": 11846, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 320, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10625, "end": 10632, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 10634, "end": 10643, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 10648, "end": 11846, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 320, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10655, "end": 10702, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 279, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 10658, "end": 10680, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 10658, "end": 10668, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10659, "end": 10668, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 10672, "end": 10680, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10673, "end": 10680, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 10689, "end": 10702, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 10696, "end": 10701, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 10710, "end": 11819, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 7 } }, "expression": { "type": "CallExpression", "start": 10710, "end": 11818, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 317, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 10710, "end": 10736, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 30 } }, "object": { "type": "CallExpression", "start": 10710, "end": 10728, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 10710, "end": 10723, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 17 } }, "object": { "type": "Identifier", "start": 10710, "end": 10717, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 10718, "end": 10723, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10724, "end": 10727, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10729, "end": 10736, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10737, "end": 11817, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 317, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10737, "end": 10743, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 281, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10747, "end": 11817, "loc": { "start": { "line": 281, "column": 41 }, "end": { "line": 317, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10756, "end": 11810, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 9 } }, "expression": { "type": "CallExpression", "start": 10756, "end": 11809, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 316, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 10756, "end": 10784, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 34 } }, "object": { "type": "CallExpression", "start": 10756, "end": 10776, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 10756, "end": 10771, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 21 } }, "object": { "type": "Identifier", "start": 10756, "end": 10765, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 10766, "end": 10771, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10772, "end": 10775, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 10777, "end": 10784, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10785, "end": 11808, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 316, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10785, "end": 10798, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 282, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 10802, "end": 11808, "loc": { "start": { "line": 282, "column": 52 }, "end": { "line": 316, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 10813, "end": 10884, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 284, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 10816, "end": 10841, "loc": { "start": { "line": 283, "column": 11 }, "end": { "line": 283, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 10817, "end": 10841, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 36 } }, "object": { "type": "MemberExpression", "start": 10817, "end": 10829, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 24 } }, "object": { "type": "ThisExpression", "start": 10817, "end": 10821, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 16 } } }, "property": { "type": "Identifier", "start": 10822, "end": 10829, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10830, "end": 10841, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 10854, "end": 10884, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 10854, "end": 10883, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10854, "end": 10878, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 34 } }, "object": { "type": "MemberExpression", "start": 10854, "end": 10866, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 22 } }, "object": { "type": "ThisExpression", "start": 10854, "end": 10858, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 14 } } }, "property": { "type": "Identifier", "start": 10859, "end": 10866, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10867, "end": 10878, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 10881, "end": 10883, "loc": { "start": { "line": 284, "column": 37 }, "end": { "line": 284, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 10896, "end": 10923, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10900, "end": 10922, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 34 } }, "id": { "type": "Identifier", "start": 10900, "end": 10914, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 10917, "end": 10922, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "column": 34 } }, "value": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10937, "end": 11028, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 11038, "end": 11546, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 11 } }, "expression": { "type": "CallExpression", "start": 11038, "end": 11545, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 304, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 11038, "end": 11066, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11038, "end": 11062, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 32 } }, "object": { "type": "MemberExpression", "start": 11038, "end": 11050, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 20 } }, "object": { "type": "ThisExpression", "start": 11038, "end": 11042, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11043, "end": 11050, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11051, "end": 11062, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11063, "end": 11066, "loc": { "start": { "line": 291, "column": 33 }, "end": { "line": 291, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11067, "end": 11544, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 304, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11067, "end": 11078, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 11082, "end": 11544, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 304, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 11097, "end": 11502, "loc": { "start": { "line": 293, "column": 10 }, "end": { "line": 302, "column": 11 } }, "test": { "type": "CallExpression", "start": 11100, "end": 11152, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11100, "end": 11137, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 50 } }, "object": { "type": "CallExpression", "start": 11100, "end": 11128, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11100, "end": 11123, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11100, "end": 11117, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 30 } }, "object": { "type": "Identifier", "start": 11100, "end": 11111, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11112, "end": 11117, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 11118, "end": 11123, "loc": { "start": { "line": 293, "column": 31 }, "end": { "line": 293, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11124, "end": 11127, "loc": { "start": { "line": 293, "column": 37 }, "end": { "line": 293, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 11129, "end": 11137, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11138, "end": 11151, "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 11153, "end": 11502, "loc": { "start": { "line": 293, "column": 66 }, "end": { "line": 302, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 11168, "end": 11190, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 11168, "end": 11189, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 11168, "end": 11182, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11185, "end": 11189, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 11218, "end": 11272, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11222, "end": 11271, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 65 } }, "id": { "type": "Identifier", "start": 11222, "end": 11238, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 11241, "end": 11271, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 11241, "end": 11266, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 60 } }, "object": { "type": "MemberExpression", "start": 11241, "end": 11260, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 54 } }, "object": { "type": "Identifier", "start": 11241, "end": 11252, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11253, "end": 11260, "loc": { "start": { "line": 296, "column": 47 }, "end": { "line": 296, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 11261, "end": 11266, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11267, "end": 11270, "loc": { "start": { "line": 296, "column": 61 }, "end": { "line": 296, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 11286, "end": 11489, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 301, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 11289, "end": 11323, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 11290, "end": 11323, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 11290, "end": 11315, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 41 } }, "object": { "type": "Identifier", "start": 11290, "end": 11306, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11307, "end": 11315, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11316, "end": 11322, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11324, "end": 11489, "loc": { "start": { "line": 297, "column": 50 }, "end": { "line": 301, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 11341, "end": 11363, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 11341, "end": 11362, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 11341, "end": 11355, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 11358, "end": 11362, "loc": { "start": { "line": 298, "column": 31 }, "end": { "line": 298, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 11379, "end": 11409, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 44 } }, "expression": { "type": "CallExpression", "start": 11379, "end": 11408, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 11379, "end": 11400, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 35 } }, "object": { "type": "Identifier", "start": 11379, "end": 11395, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11396, "end": 11400, "loc": { "start": { "line": 299, "column": 31 }, "end": { "line": 299, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11401, "end": 11407, "loc": { "start": { "line": 299, "column": 36 }, "end": { "line": 299, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 11425, "end": 11474, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 11425, "end": 11473, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11425, "end": 11444, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 33 } }, "object": { "type": "Identifier", "start": 11425, "end": 11436, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 11437, "end": 11444, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 11447, "end": 11473, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 11447, "end": 11468, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 57 } }, "object": { "type": "Identifier", "start": 11447, "end": 11463, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 11464, "end": 11468, "loc": { "start": { "line": 300, "column": 53 }, "end": { "line": 300, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11469, "end": 11472, "loc": { "start": { "line": 300, "column": 58 }, "end": { "line": 300, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 11514, "end": 11533, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 29 } }, "argument": { "type": "Identifier", "start": 11521, "end": 11532, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10937, "end": 11028, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11558, "end": 11633, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] }, { "type": "IfStatement", "start": 11643, "end": 11797, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 314, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11646, "end": 11661, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 11647, "end": 11661, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 11662, "end": 11797, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 314, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11675, "end": 11786, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 13 } }, "expression": { "type": "CallExpression", "start": 11675, "end": 11785, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 313, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 11675, "end": 11704, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 39 } }, "object": { "type": "MemberExpression", "start": 11675, "end": 11699, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 34 } }, "object": { "type": "MemberExpression", "start": 11675, "end": 11687, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 22 } }, "object": { "type": "ThisExpression", "start": 11675, "end": 11679, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 14 } } }, "property": { "type": "Identifier", "start": 11680, "end": 11687, "loc": { "start": { "line": 310, "column": 15 }, "end": { "line": 310, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11688, "end": 11699, "loc": { "start": { "line": 310, "column": 23 }, "end": { "line": 310, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 11700, "end": 11704, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 11705, "end": 11784, "loc": { "start": { "line": 310, "column": 40 }, "end": { "line": 313, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 11720, "end": 11740, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11720, "end": 11725, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 11727, "end": 11740, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 11755, "end": 11771, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 11755, "end": 11762, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 11764, "end": 11771, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "column": 28 }, "identifierName": "buttons" }, "name": "buttons" } } ] } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11558, "end": 11633, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 11827, "end": 11841, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 18 } }, "expression": { "type": "CallExpression", "start": 11827, "end": 11840, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 11827, "end": 11838, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 15 } }, "object": { "type": "ThisExpression", "start": 11827, "end": 11831, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, "property": { "type": "Identifier", "start": 11832, "end": 11838, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "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": 10322, "end": 10603, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "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": 11852, "end": 12192, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12196, "end": 13620, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 373, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12196, "end": 12213, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12216, "end": 13620, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 373, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12217, "end": 12224, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 30 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 12226, "end": 12235, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 41 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 12240, "end": 13620, "loc": { "start": { "line": 327, "column": 46 }, "end": { "line": 373, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 12333, "end": 12448, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 335, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12336, "end": 12358, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 12336, "end": 12344, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12337, "end": 12344, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 12348, "end": 12358, "loc": { "start": { "line": 331, "column": 19 }, "end": { "line": 331, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12349, "end": 12358, "loc": { "start": { "line": 331, "column": 20 }, "end": { "line": 331, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12359, "end": 12448, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 335, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 12368, "end": 12398, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 12368, "end": 12397, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12368, "end": 12392, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 30 } }, "object": { "type": "MemberExpression", "start": 12368, "end": 12380, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 18 } }, "object": { "type": "ThisExpression", "start": 12368, "end": 12372, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 10 } } }, "property": { "type": "Identifier", "start": 12373, "end": 12380, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12381, "end": 12392, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 12395, "end": 12397, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 12406, "end": 12420, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 20 } }, "expression": { "type": "CallExpression", "start": 12406, "end": 12419, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 12406, "end": 12417, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 17 } }, "object": { "type": "ThisExpression", "start": 12406, "end": 12410, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 10 } } }, "property": { "type": "Identifier", "start": 12411, "end": 12417, "loc": { "start": { "line": 333, "column": 11 }, "end": { "line": 333, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 12428, "end": 12441, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 12435, "end": 12440, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "column": 18 } }, "value": false } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 12247, "end": 12327, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12456, "end": 12524, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12530, "end": 13615, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 372, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 12533, "end": 12618, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 12533, "end": 12583, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 57 } }, "left": { "type": "Identifier", "start": 12533, "end": 12540, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12544, "end": 12583, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 12544, "end": 12557, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 31 } }, "object": { "type": "Identifier", "start": 12544, "end": 12549, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 12550, "end": 12557, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12558, "end": 12582, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 56 } }, "object": { "type": "MemberExpression", "start": 12558, "end": 12570, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 44 } }, "object": { "type": "ThisExpression", "start": 12558, "end": 12562, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 36 } } }, "property": { "type": "Identifier", "start": 12563, "end": 12570, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12571, "end": 12582, "loc": { "start": { "line": 340, "column": 45 }, "end": { "line": 340, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 12587, "end": 12618, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 92 } }, "object": { "type": "MemberExpression", "start": 12587, "end": 12611, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 85 } }, "object": { "type": "MemberExpression", "start": 12587, "end": 12599, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 73 } }, "object": { "type": "ThisExpression", "start": 12587, "end": 12591, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 65 } } }, "property": { "type": "Identifier", "start": 12592, "end": 12599, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12600, "end": 12611, "loc": { "start": { "line": 340, "column": 74 }, "end": { "line": 340, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12612, "end": 12618, "loc": { "start": { "line": 340, "column": 86 }, "end": { "line": 340, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12619, "end": 13615, "loc": { "start": { "line": 340, "column": 93 }, "end": { "line": 372, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12628, "end": 12665, "loc": { "start": { "line": 341, "column": 6 }, "end": { "line": 341, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12632, "end": 12664, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 42 } }, "id": { "type": "Identifier", "start": 12632, "end": 12643, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 12646, "end": 12664, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12646, "end": 12659, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 37 } }, "object": { "type": "Identifier", "start": 12646, "end": 12653, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 12654, "end": 12659, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 12660, "end": 12663, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 12673, "end": 13584, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 9 } }, "expression": { "type": "CallExpression", "start": 12673, "end": 13583, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 369, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 12673, "end": 12692, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 25 } }, "object": { "type": "Identifier", "start": 12673, "end": 12684, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 12685, "end": 12692, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12693, "end": 13582, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 369, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12694, "end": 12700, "loc": { "start": { "line": 342, "column": 27 }, "end": { "line": 342, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 12702, "end": 12705, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 12710, "end": 13582, "loc": { "start": { "line": 342, "column": 43 }, "end": { "line": 369, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 12721, "end": 13573, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 11 } }, "expression": { "type": "CallExpression", "start": 12721, "end": 13572, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 368, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 12721, "end": 12749, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 36 } }, "object": { "type": "MemberExpression", "start": 12721, "end": 12745, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 32 } }, "object": { "type": "MemberExpression", "start": 12721, "end": 12733, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 20 } }, "object": { "type": "ThisExpression", "start": 12721, "end": 12725, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 12 } } }, "property": { "type": "Identifier", "start": 12726, "end": 12733, "loc": { "start": { "line": 343, "column": 13 }, "end": { "line": 343, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12734, "end": 12745, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 12746, "end": 12749, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 12750, "end": 13571, "loc": { "start": { "line": 343, "column": 37 }, "end": { "line": 368, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12751, "end": 12762, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 12764, "end": 12769, "loc": { "start": { "line": 343, "column": 51 }, "end": { "line": 343, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 12774, "end": 13571, "loc": { "start": { "line": 343, "column": 61 }, "end": { "line": 368, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 12942, "end": 13527, "loc": { "start": { "line": 349, "column": 10 }, "end": { "line": 365, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 12959, "end": 13038, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 351, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 12960, "end": 13010, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 63 } }, "left": { "type": "Identifier", "start": 12960, "end": 12969, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 12973, "end": 13010, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 12973, "end": 12991, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 44 } }, "object": { "type": "Identifier", "start": 12973, "end": 12982, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 12983, "end": 12991, "loc": { "start": { "line": 350, "column": 36 }, "end": { "line": 350, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12992, "end": 13009, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 62 } }, "object": { "type": "Identifier", "start": 12992, "end": 13003, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13004, "end": 13009, "loc": { "start": { "line": 350, "column": 57 }, "end": { "line": 350, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 12959 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 13028, "end": 13038, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 13029, "end": 13038, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13051, "end": 13527, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 365, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 13066, "end": 13155, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13070, "end": 13154, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 100 } }, "id": { "type": "Identifier", "start": 13070, "end": 13089, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 13092, "end": 13154, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 13092, "end": 13129, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 75 } }, "object": { "type": "CallExpression", "start": 13092, "end": 13122, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 13092, "end": 13117, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 63 } }, "object": { "type": "MemberExpression", "start": 13092, "end": 13111, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 57 } }, "object": { "type": "Identifier", "start": 13092, "end": 13103, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13104, "end": 13111, "loc": { "start": { "line": 353, "column": 50 }, "end": { "line": 353, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 13112, "end": 13117, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13118, "end": 13121, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 13123, "end": 13129, "loc": { "start": { "line": 353, "column": 69 }, "end": { "line": 353, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13130, "end": 13153, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 13130, "end": 13134, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 13138, "end": 13153, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 99 } }, "left": { "type": "Identifier", "start": 13138, "end": 13142, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 13147, "end": 13153, "loc": { "start": { "line": 353, "column": 93 }, "end": { "line": 353, "column": 99 }, "identifierName": "button" }, "name": "button" } } } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13171, "end": 13268, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } } ] }, { "type": "IfStatement", "start": 13282, "end": 13511, "loc": { "start": { "line": 358, "column": 12 }, "end": { "line": 363, "column": 13 } }, "test": { "type": "MemberExpression", "start": 13285, "end": 13311, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 41 } }, "object": { "type": "Identifier", "start": 13285, "end": 13304, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 13305, "end": 13311, "loc": { "start": { "line": 358, "column": 35 }, "end": { "line": 358, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 13312, "end": 13396, "loc": { "start": { "line": 358, "column": 42 }, "end": { "line": 360, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13329, "end": 13381, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 13329, "end": 13380, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13329, "end": 13348, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 33 } }, "object": { "type": "Identifier", "start": 13329, "end": 13340, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 13341, "end": 13348, "loc": { "start": { "line": 359, "column": 26 }, "end": { "line": 359, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 13351, "end": 13380, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 13351, "end": 13375, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 60 } }, "object": { "type": "Identifier", "start": 13351, "end": 13370, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 13371, "end": 13375, "loc": { "start": { "line": 359, "column": 56 }, "end": { "line": 359, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13376, "end": 13379, "loc": { "start": { "line": 359, "column": 61 }, "end": { "line": 359, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 13402, "end": 13511, "loc": { "start": { "line": 360, "column": 19 }, "end": { "line": 363, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13419, "end": 13461, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 56 } }, "expression": { "type": "CallExpression", "start": 13419, "end": 13460, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 13419, "end": 13450, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 45 } }, "object": { "type": "MemberExpression", "start": 13419, "end": 13443, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 38 } }, "object": { "type": "MemberExpression", "start": 13419, "end": 13431, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 26 } }, "object": { "type": "ThisExpression", "start": 13419, "end": 13423, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, "property": { "type": "Identifier", "start": 13424, "end": 13431, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 13432, "end": 13443, "loc": { "start": { "line": 361, "column": 27 }, "end": { "line": 361, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 13444, "end": 13450, "loc": { "start": { "line": 361, "column": 39 }, "end": { "line": 361, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13451, "end": 13456, "loc": { "start": { "line": 361, "column": 46 }, "end": { "line": 361, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 13458, "end": 13459, "loc": { "start": { "line": 361, "column": 53 }, "end": { "line": 361, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 13477, "end": 13496, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 13477, "end": 13495, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 13477, "end": 13488, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 13491, "end": 13495, "loc": { "start": { "line": 362, "column": 28 }, "end": { "line": 362, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13171, "end": 13268, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } } ] } ], "directives": [] }, "alternate": null, "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": 12789, "end": 12930, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 13541, "end": 13560, "loc": { "start": { "line": 367, "column": 10 }, "end": { "line": 367, "column": 29 } }, "argument": { "type": "Identifier", "start": 13548, "end": 13559, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 13594, "end": 13608, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 20 } }, "expression": { "type": "CallExpression", "start": 13594, "end": 13607, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 13594, "end": 13605, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 17 } }, "object": { "type": "ThisExpression", "start": 13594, "end": 13598, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, "property": { "type": "Identifier", "start": 13599, "end": 13605, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12456, "end": 12524, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 11852, "end": 12192, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 13626, "end": 13829, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 13833, "end": 14107, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 392, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13833, "end": 13849, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 13852, "end": 14107, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 392, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13853, "end": 13859, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 13864, "end": 14107, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 392, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 13871, "end": 13882, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13875, "end": 13881, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 } }, "id": { "type": "Identifier", "start": 13875, "end": 13881, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 13890, "end": 13934, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13894, "end": 13933, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 47 } }, "id": { "type": "Identifier", "start": 13894, "end": 13903, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 13906, "end": 13933, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 47 } }, "object": { "type": "MemberExpression", "start": 13906, "end": 13925, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 39 } }, "object": { "type": "ThisExpression", "start": 13906, "end": 13910, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 24 } } }, "property": { "type": "Identifier", "start": 13911, "end": 13925, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 13926, "end": 13932, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 13940, "end": 14080, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 389, "column": 5 } }, "test": { "type": "Identifier", "start": 13943, "end": 13952, "loc": { "start": { "line": 383, "column": 7 }, "end": { "line": 383, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 13953, "end": 14080, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 389, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13962, "end": 14073, "loc": { "start": { "line": 384, "column": 6 }, "end": { "line": 388, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 13965, "end": 13985, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 29 } }, "left": { "type": "MemberExpression", "start": 13965, "end": 13981, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 25 } }, "object": { "type": "Identifier", "start": 13965, "end": 13974, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 13975, "end": 13981, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 13984, "end": 13985, "loc": { "start": { "line": 384, "column": 28 }, "end": { "line": 384, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 13986, "end": 14025, "loc": { "start": { "line": 384, "column": 30 }, "end": { "line": 386, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 13997, "end": 14016, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 13997, "end": 14015, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 13997, "end": 14003, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 14006, "end": 14015, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 14031, "end": 14073, "loc": { "start": { "line": 386, "column": 13 }, "end": { "line": 388, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 14042, "end": 14064, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 14042, "end": 14063, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 14042, "end": 14048, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 14051, "end": 14063, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 29 } }, "object": { "type": "Identifier", "start": 14051, "end": 14060, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 14061, "end": 14062, "loc": { "start": { "line": 387, "column": 27 }, "end": { "line": 387, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14088, "end": 14102, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 18 } }, "argument": { "type": "Identifier", "start": 14095, "end": 14101, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 13626, "end": 13829, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14113, "end": 14203, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14207, "end": 14517, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 405, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14207, "end": 14218, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 397, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14221, "end": 14517, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 405, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 14227, "end": 14517, "loc": { "start": { "line": 397, "column": 22 }, "end": { "line": 405, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14234, "end": 14310, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 400, "column": 5 } }, "test": { "type": "MemberExpression", "start": 14237, "end": 14255, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 25 } }, "object": { "type": "MemberExpression", "start": 14237, "end": 14249, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 19 } }, "object": { "type": "ThisExpression", "start": 14237, "end": 14241, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 11 } } }, "property": { "type": "Identifier", "start": 14242, "end": 14249, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14250, "end": 14255, "loc": { "start": { "line": 398, "column": 20 }, "end": { "line": 398, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 14256, "end": 14310, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 400, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14265, "end": 14303, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14265, "end": 14302, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14265, "end": 14276, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 17 } }, "object": { "type": "Identifier", "start": 14265, "end": 14272, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 14273, "end": 14276, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14277, "end": 14301, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 14318, "end": 14377, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 63 } }, "expression": { "type": "CallExpression", "start": 14318, "end": 14376, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14318, "end": 14343, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 29 } }, "object": { "type": "Identifier", "start": 14318, "end": 14326, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14327, "end": 14343, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14344, "end": 14351, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 14353, "end": 14375, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 61 } }, "object": { "type": "ThisExpression", "start": 14353, "end": 14357, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, "property": { "type": "Identifier", "start": 14358, "end": 14375, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14383, "end": 14444, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 65 } }, "expression": { "type": "CallExpression", "start": 14383, "end": 14443, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 14383, "end": 14408, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 29 } }, "object": { "type": "Identifier", "start": 14383, "end": 14391, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14392, "end": 14408, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14409, "end": 14418, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 14420, "end": 14442, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 63 } }, "object": { "type": "ThisExpression", "start": 14420, "end": 14424, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 45 } } }, "property": { "type": "Identifier", "start": 14425, "end": 14442, "loc": { "start": { "line": 403, "column": 46 }, "end": { "line": 403, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 14450, "end": 14512, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 66 } }, "expression": { "type": "CallExpression", "start": 14450, "end": 14511, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14450, "end": 14475, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 29 } }, "object": { "type": "Identifier", "start": 14450, "end": 14458, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 14459, "end": 14475, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14476, "end": 14486, "loc": { "start": { "line": 404, "column": 30 }, "end": { "line": 404, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 14488, "end": 14510, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 64 } }, "object": { "type": "ThisExpression", "start": 14488, "end": 14492, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 46 } } }, "property": { "type": "Identifier", "start": 14493, "end": 14510, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14113, "end": 14203, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "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": 14523, "end": 14635, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 14639, "end": 15196, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 427, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14639, "end": 14656, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 410, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 14659, "end": 15196, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 427, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14660, "end": 14665, "loc": { "start": { "line": 410, "column": 23 }, "end": { "line": 410, "column": 28 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 14670, "end": 15196, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 427, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 14677, "end": 14732, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14681, "end": 14731, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 58 } }, "id": { "type": "Identifier", "start": 14681, "end": 14694, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": { "type": "CallExpression", "start": 14697, "end": 14731, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 14697, "end": 14729, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 56 } }, "object": { "type": "MemberExpression", "start": 14697, "end": 14717, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 44 } }, "object": { "type": "MemberExpression", "start": 14697, "end": 14709, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 36 } }, "object": { "type": "Identifier", "start": 14697, "end": 14702, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 14703, "end": 14709, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 36 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 14710, "end": 14717, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 44 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 14718, "end": 14729, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 56 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14740, "end": 15191, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 426, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 14751, "end": 14815, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 14751, "end": 14779, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 34 } }, "left": { "type": "Identifier", "start": 14751, "end": 14764, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14769, "end": 14779, "loc": { "start": { "line": 414, "column": 24 }, "end": { "line": 414, "column": 34 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 14790, "end": 14815, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 31 } }, "left": { "type": "Identifier", "start": 14790, "end": 14803, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 14808, "end": 14815, "loc": { "start": { "line": 415, "column": 24 }, "end": { "line": 415, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } } }, "consequent": { "type": "BlockStatement", "start": 14822, "end": 15191, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 426, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14987, "end": 15036, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 14987, "end": 15035, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14987, "end": 15005, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 24 } }, "object": { "type": "ThisExpression", "start": 14987, "end": 14991, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14992, "end": 15005, "loc": { "start": { "line": 421, "column": 11 }, "end": { "line": 421, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 15008, "end": 15035, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 54 } }, "object": { "type": "MemberExpression", "start": 15008, "end": 15020, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "Identifier", "start": 15008, "end": 15013, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15014, "end": 15020, "loc": { "start": { "line": 421, "column": 33 }, "end": { "line": 421, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15021, "end": 15035, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "column": 54 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tracks current cursor position\r\n * As keys are pressed, text will be added/removed at that position within the input.\r\n ", "start": 14831, "end": 14979, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "column": 9 } } } ] }, { "type": "IfStatement", "start": 15046, "end": 15179, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 425, "column": 7 } }, "test": { "type": "MemberExpression", "start": 15049, "end": 15067, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15049, "end": 15061, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 21 } }, "object": { "type": "ThisExpression", "start": 15049, "end": 15053, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 13 } } }, "property": { "type": "Identifier", "start": 15054, "end": 15061, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15062, "end": 15067, "loc": { "start": { "line": 423, "column": 22 }, "end": { "line": 423, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15068, "end": 15179, "loc": { "start": { "line": 423, "column": 28 }, "end": { "line": 425, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 15079, "end": 15170, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 99 } }, "expression": { "type": "CallExpression", "start": 15079, "end": 15169, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 15079, "end": 15090, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 19 } }, "object": { "type": "Identifier", "start": 15079, "end": 15086, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15087, "end": 15090, "loc": { "start": { "line": 424, "column": 16 }, "end": { "line": 424, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15091, "end": 15103, "loc": { "start": { "line": 424, "column": 20 }, "end": { "line": 424, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 15105, "end": 15132, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 61 } }, "object": { "type": "MemberExpression", "start": 15105, "end": 15117, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 46 } }, "object": { "type": "Identifier", "start": 15105, "end": 15110, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15111, "end": 15117, "loc": { "start": { "line": 424, "column": 40 }, "end": { "line": 424, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15118, "end": 15132, "loc": { "start": { "line": 424, "column": 47 }, "end": { "line": 424, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 15134, "end": 15168, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 15134, "end": 15166, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 95 } }, "object": { "type": "MemberExpression", "start": 15134, "end": 15154, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 83 } }, "object": { "type": "MemberExpression", "start": 15134, "end": 15146, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 75 } }, "object": { "type": "Identifier", "start": 15134, "end": 15139, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 15140, "end": 15146, "loc": { "start": { "line": 424, "column": 69 }, "end": { "line": 424, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 15147, "end": 15154, "loc": { "start": { "line": 424, "column": 76 }, "end": { "line": 424, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 15155, "end": 15166, "loc": { "start": { "line": 424, "column": 84 }, "end": { "line": 424, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 14523, "end": 14635, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "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": 15202, "end": 15322, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15326, "end": 15569, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 444, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15326, "end": 15332, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15335, "end": 15569, "loc": { "start": { "line": 432, "column": 11 }, "end": { "line": 444, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15341, "end": 15569, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 444, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15348, "end": 15413, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 435, "column": 5 } }, "test": { "type": "MemberExpression", "start": 15351, "end": 15369, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15351, "end": 15363, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 19 } }, "object": { "type": "ThisExpression", "start": 15351, "end": 15355, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 11 } } }, "property": { "type": "Identifier", "start": 15356, "end": 15363, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15364, "end": 15369, "loc": { "start": { "line": 433, "column": 20 }, "end": { "line": 433, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 15370, "end": 15413, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 435, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15379, "end": 15406, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 33 } }, "expression": { "type": "CallExpression", "start": 15379, "end": 15405, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 15379, "end": 15390, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 17 } }, "object": { "type": "Identifier", "start": 15379, "end": 15386, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 15387, "end": 15390, "loc": { "start": { "line": 434, "column": 14 }, "end": { "line": 434, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 15391, "end": 15404, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 31 } }, "extra": { "rawValue": "Initialized", "raw": "\"Initialized\"" }, "value": "Initialized" } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15421, "end": 15456, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 15462, "end": 15481, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 23 } }, "expression": { "type": "CallExpression", "start": 15462, "end": 15480, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 15462, "end": 15478, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 20 } }, "object": { "type": "ThisExpression", "start": 15462, "end": 15466, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15467, "end": 15478, "loc": { "start": { "line": 440, "column": 9 }, "end": { "line": 440, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15421, "end": 15456, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15489, "end": 15564, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 443, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 15492, "end": 15533, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 15492, "end": 15518, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15499, "end": 15518, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 33 } }, "object": { "type": "MemberExpression", "start": 15499, "end": 15511, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15499, "end": 15503, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 18 } } }, "property": { "type": "Identifier", "start": 15504, "end": 15511, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15512, "end": 15518, "loc": { "start": { "line": 442, "column": 27 }, "end": { "line": 442, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15523, "end": 15533, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15542, "end": 15564, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 28 } }, "expression": { "type": "CallExpression", "start": 15542, "end": 15563, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 15542, "end": 15561, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 25 } }, "object": { "type": "MemberExpression", "start": 15542, "end": 15554, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15542, "end": 15546, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 15547, "end": 15554, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15555, "end": 15561, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 15202, "end": 15322, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "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": 15575, "end": 15693, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15697, "end": 15805, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 452, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15697, "end": 15705, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 449, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15708, "end": 15805, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 452, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15714, "end": 15805, "loc": { "start": { "line": 449, "column": 19 }, "end": { "line": 452, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15721, "end": 15800, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 451, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 15724, "end": 15767, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 15724, "end": 15752, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 15731, "end": 15752, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 35 } }, "object": { "type": "MemberExpression", "start": 15731, "end": 15743, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 26 } }, "object": { "type": "ThisExpression", "start": 15731, "end": 15735, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 18 } } }, "property": { "type": "Identifier", "start": 15736, "end": 15743, "loc": { "start": { "line": 450, "column": 19 }, "end": { "line": 450, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15744, "end": 15752, "loc": { "start": { "line": 450, "column": 27 }, "end": { "line": 450, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 15757, "end": 15767, "loc": { "start": { "line": 450, "column": 40 }, "end": { "line": 450, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 15776, "end": 15800, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 30 } }, "expression": { "type": "CallExpression", "start": 15776, "end": 15799, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 15776, "end": 15797, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 27 } }, "object": { "type": "MemberExpression", "start": 15776, "end": 15788, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15776, "end": 15780, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 10 } } }, "property": { "type": "Identifier", "start": 15781, "end": 15788, "loc": { "start": { "line": 451, "column": 11 }, "end": { "line": 451, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15789, "end": 15797, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 15575, "end": 15693, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15811, "end": 15867, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 15871, "end": 20000, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 593, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15871, "end": 15877, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 15880, "end": 20000, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 593, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 15886, "end": 20000, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 593, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 15934, "end": 15947, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 17 } }, "expression": { "type": "CallExpression", "start": 15934, "end": 15946, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 15934, "end": 15944, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 14 } }, "object": { "type": "ThisExpression", "start": 15934, "end": 15938, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 15939, "end": 15944, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15893, "end": 15928, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 15955, "end": 16055, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15959, "end": 16054, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 103 } }, "id": { "type": "Identifier", "start": 15959, "end": 15970, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 15973, "end": 16054, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 103 } }, "test": { "type": "MemberExpression", "start": 15973, "end": 15992, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 41 } }, "object": { "type": "MemberExpression", "start": 15973, "end": 15985, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 34 } }, "object": { "type": "ThisExpression", "start": 15973, "end": 15977, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 26 } } }, "property": { "type": "Identifier", "start": 15978, "end": 15985, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15986, "end": 15992, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 15995, "end": 16013, "loc": { "start": { "line": 463, "column": 44 }, "end": { "line": 463, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 16016, "end": 16054, "loc": { "start": { "line": 463, "column": 65 }, "end": { "line": 463, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 16029, "end": 16052, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 101 } }, "object": { "type": "MemberExpression", "start": 16029, "end": 16041, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 90 } }, "object": { "type": "ThisExpression", "start": 16029, "end": 16033, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 82 } } }, "property": { "type": "Identifier", "start": 16034, "end": 16041, "loc": { "start": { "line": 463, "column": 83 }, "end": { "line": 463, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16042, "end": 16052, "loc": { "start": { "line": 463, "column": 91 }, "end": { "line": 463, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 16017, "end": 16027, "loc": { "start": { "line": 463, "column": 66 }, "end": { "line": 463, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 16053, "end": 16053, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 16061, "end": 16131, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16065, "end": 16130, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 73 } }, "id": { "type": "Identifier", "start": 16065, "end": 16071, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 16074, "end": 16130, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 73 } }, "left": { "type": "MemberExpression", "start": 16074, "end": 16093, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16074, "end": 16086, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 29 } }, "object": { "type": "ThisExpression", "start": 16074, "end": 16078, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 21 } } }, "property": { "type": "Identifier", "start": 16079, "end": 16086, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16087, "end": 16093, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 16097, "end": 16130, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 16097, "end": 16128, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 71 } }, "object": { "type": "Identifier", "start": 16097, "end": 16111, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 16112, "end": 16128, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16139, "end": 16191, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 16197, "end": 16225, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16201, "end": 16224, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 31 } }, "id": { "type": "Identifier", "start": 16201, "end": 16219, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 16222, "end": 16224, "loc": { "start": { "line": 469, "column": 29 }, "end": { "line": 469, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16139, "end": 16191, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } } ] }, { "type": "IfStatement", "start": 16231, "end": 17370, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 498, "column": 5 } }, "test": { "type": "CallExpression", "start": 16234, "end": 16273, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16234, "end": 16247, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 20 } }, "object": { "type": "Identifier", "start": 16234, "end": 16239, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 16240, "end": 16247, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16248, "end": 16272, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16248, "end": 16260, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 33 } }, "object": { "type": "ThisExpression", "start": 16248, "end": 16252, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 25 } } }, "property": { "type": "Identifier", "start": 16253, "end": 16260, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16261, "end": 16272, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 16274, "end": 17370, "loc": { "start": { "line": 470, "column": 47 }, "end": { "line": 498, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 16283, "end": 17363, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 9 } }, "expression": { "type": "CallExpression", "start": 16283, "end": 17362, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 497, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 16283, "end": 16315, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16283, "end": 16307, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 30 } }, "object": { "type": "MemberExpression", "start": 16283, "end": 16295, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 18 } }, "object": { "type": "ThisExpression", "start": 16283, "end": 16287, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 10 } } }, "property": { "type": "Identifier", "start": 16288, "end": 16295, "loc": { "start": { "line": 471, "column": 11 }, "end": { "line": 471, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16296, "end": 16307, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16308, "end": 16315, "loc": { "start": { "line": 471, "column": 31 }, "end": { "line": 471, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16316, "end": 17361, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 497, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16316, "end": 16324, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 471, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 16328, "end": 17361, "loc": { "start": { "line": 471, "column": 51 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 16339, "end": 17352, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 496, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 16342, "end": 16376, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 45 } }, "left": { "type": "MemberExpression", "start": 16342, "end": 16358, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 27 } }, "object": { "type": "Identifier", "start": 16342, "end": 16350, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16351, "end": 16358, "loc": { "start": { "line": 472, "column": 20 }, "end": { "line": 472, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 16362, "end": 16376, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "Identifier", "start": 16362, "end": 16370, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16371, "end": 16376, "loc": { "start": { "line": 472, "column": 40 }, "end": { "line": 472, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 16377, "end": 17218, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 494, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16390, "end": 16407, "loc": { "start": { "line": 473, "column": 10 }, "end": { "line": 473, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16394, "end": 16406, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 } }, "id": { "type": "Identifier", "start": 16394, "end": 16406, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 16421, "end": 16532, "loc": { "start": { "line": 475, "column": 10 }, "end": { "line": 477, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 16424, "end": 16460, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 16424, "end": 16447, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 16431, "end": 16447, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 36 } }, "object": { "type": "Identifier", "start": 16431, "end": 16439, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16440, "end": 16447, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 16452, "end": 16460, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 16461, "end": 16532, "loc": { "start": { "line": 475, "column": 50 }, "end": { "line": 477, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16476, "end": 16519, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 16476, "end": 16518, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 16476, "end": 16488, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 16491, "end": 16518, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 16491, "end": 16513, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 49 } }, "object": { "type": "MemberExpression", "start": 16491, "end": 16507, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 43 } }, "object": { "type": "Identifier", "start": 16491, "end": 16499, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16500, "end": 16507, "loc": { "start": { "line": 476, "column": 36 }, "end": { "line": 476, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16508, "end": 16513, "loc": { "start": { "line": 476, "column": 44 }, "end": { "line": 476, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16514, "end": 16517, "loc": { "start": { "line": 476, "column": 50 }, "end": { "line": 476, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 16546, "end": 17207, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 493, "column": 11 } }, "test": { "type": "Identifier", "start": 16549, "end": 16561, "loc": { "start": { "line": 479, "column": 13 }, "end": { "line": 479, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 16562, "end": 17207, "loc": { "start": { "line": 479, "column": 26 }, "end": { "line": 493, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 16577, "end": 17194, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 15 } }, "expression": { "type": "CallExpression", "start": 16577, "end": 17193, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 492, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 16577, "end": 16597, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 32 } }, "object": { "type": "Identifier", "start": 16577, "end": 16589, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 16590, "end": 16597, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16598, "end": 17192, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 492, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16598, "end": 16609, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 16613, "end": 17192, "loc": { "start": { "line": 480, "column": 48 }, "end": { "line": 492, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 16630, "end": 16680, "loc": { "start": { "line": 481, "column": 14 }, "end": { "line": 481, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16634, "end": 16679, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 63 } }, "id": { "type": "Identifier", "start": 16634, "end": 16645, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 16648, "end": 16679, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 63 } }, "object": { "type": "Identifier", "start": 16648, "end": 16666, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 16667, "end": 16678, "loc": { "start": { "line": 481, "column": 51 }, "end": { "line": 481, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16698, "end": 16737, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] }, { "type": "IfStatement", "start": 16753, "end": 17177, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 491, "column": 15 } }, "test": { "type": "Identifier", "start": 16756, "end": 16767, "loc": { "start": { "line": 484, "column": 17 }, "end": { "line": 484, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16768, "end": 17086, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 489, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 16888, "end": 17069, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 488, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 16891, "end": 16959, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 16892, "end": 16959, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 16892, "end": 16919, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 47 } }, "object": { "type": "MemberExpression", "start": 16892, "end": 16906, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 34 } }, "object": { "type": "ThisExpression", "start": 16892, "end": 16896, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 16897, "end": 16906, "loc": { "start": { "line": 486, "column": 25 }, "end": { "line": 486, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 16907, "end": 16919, "loc": { "start": { "line": 486, "column": 35 }, "end": { "line": 486, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 16920, "end": 16942, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 16920, "end": 16937, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 65 } }, "object": { "type": "Identifier", "start": 16920, "end": 16931, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 16932, "end": 16937, "loc": { "start": { "line": 486, "column": 60 }, "end": { "line": 486, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16938, "end": 16941, "loc": { "start": { "line": 486, "column": 66 }, "end": { "line": 486, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 16944, "end": 16958, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 86 } }, "object": { "type": "Identifier", "start": 16944, "end": 16952, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 16953, "end": 16958, "loc": { "start": { "line": 486, "column": 81 }, "end": { "line": 486, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16960, "end": 17069, "loc": { "start": { "line": 486, "column": 88 }, "end": { "line": 488, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 16981, "end": 17050, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 16981, "end": 17049, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16981, "end": 17012, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 49 } }, "object": { "type": "Identifier", "start": 16981, "end": 16999, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17000, "end": 17011, "loc": { "start": { "line": 487, "column": 37 }, "end": { "line": 487, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 17015, "end": 17049, "loc": { "start": { "line": 487, "column": 52 }, "end": { "line": 487, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 17018, "end": 17029, "loc": { "start": { "line": 487, "column": 55 }, "end": { "line": 487, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 17033, "end": 17047, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 84 } }, "object": { "type": "Identifier", "start": 17033, "end": 17041, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17042, "end": 17047, "loc": { "start": { "line": 487, "column": 79 }, "end": { "line": 487, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 17016, "end": 17016, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 17030, "end": 17031, "loc": { "start": { "line": 487, "column": 67 }, "end": { "line": 487, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17048, "end": 17048, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "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": 16787, "end": 16870, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17092, "end": 17177, "loc": { "start": { "line": 489, "column": 21 }, "end": { "line": 491, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 17111, "end": 17160, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 17111, "end": 17159, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17111, "end": 17142, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 47 } }, "object": { "type": "Identifier", "start": 17111, "end": 17129, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 17130, "end": 17141, "loc": { "start": { "line": 490, "column": 35 }, "end": { "line": 490, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 17145, "end": 17159, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 64 } }, "object": { "type": "Identifier", "start": 17145, "end": 17153, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 17154, "end": 17159, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 16698, "end": 16737, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17224, "end": 17352, "loc": { "start": { "line": 494, "column": 15 }, "end": { "line": 496, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 17237, "end": 17341, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "expression": { "type": "CallExpression", "start": 17237, "end": 17341, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 17237, "end": 17249, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 22 } }, "object": { "type": "Identifier", "start": 17237, "end": 17244, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17245, "end": 17249, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 17250, "end": 17340, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 17251, "end": 17339, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "column": 112 } }, "value": { "raw": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation.", "cooked": "buttonTheme row is missing the \"buttons\" or the \"class\". Please check the documentation." }, "tail": true } ] } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17378, "end": 17444, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17450, "end": 17520, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 17450, "end": 17519, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 73 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17450, "end": 17476, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 30 } }, "object": { "type": "MemberExpression", "start": 17450, "end": 17466, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 20 } }, "object": { "type": "ThisExpression", "start": 17450, "end": 17454, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17455, "end": 17466, "loc": { "start": { "line": 503, "column": 9 }, "end": { "line": 503, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 17467, "end": 17476, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 17480, "end": 17519, "loc": { "start": { "line": 503, "column": 34 }, "end": { "line": 503, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 17484, "end": 17502, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 56 } }, "object": { "type": "MemberExpression", "start": 17484, "end": 17496, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 50 } }, "object": { "type": "ThisExpression", "start": 17484, "end": 17488, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 42 } } }, "property": { "type": "Identifier", "start": 17489, "end": 17496, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17497, "end": 17502, "loc": { "start": { "line": 503, "column": 51 }, "end": { "line": 503, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 17506, "end": 17517, "loc": { "start": { "line": 503, "column": 60 }, "end": { "line": 503, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" } ], "quasis": [ { "type": "TemplateElement", "start": 17481, "end": 17482, "loc": { "start": { "line": 503, "column": 35 }, "end": { "line": 503, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17503, "end": 17504, "loc": { "start": { "line": 503, "column": 57 }, "end": { "line": 503, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 17518, "end": 17518, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17378, "end": 17444, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17528, "end": 17575, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 17581, "end": 19698, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 7 } }, "expression": { "type": "CallExpression", "start": 17581, "end": 19697, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 575, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 17581, "end": 17620, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 43 } }, "object": { "type": "MemberExpression", "start": 17581, "end": 17612, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 35 } }, "object": { "type": "Identifier", "start": 17581, "end": 17587, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 17588, "end": 17611, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 34 } }, "object": { "type": "MemberExpression", "start": 17588, "end": 17600, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 23 } }, "object": { "type": "ThisExpression", "start": 17588, "end": 17592, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 15 } } }, "property": { "type": "Identifier", "start": 17593, "end": 17600, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17601, "end": 17611, "loc": { "start": { "line": 508, "column": 24 }, "end": { "line": 508, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 17613, "end": 17620, "loc": { "start": { "line": 508, "column": 36 }, "end": { "line": 508, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17621, "end": 19696, "loc": { "start": { "line": 508, "column": 44 }, "end": { "line": 575, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17622, "end": 17625, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 17627, "end": 17633, "loc": { "start": { "line": 508, "column": 50 }, "end": { "line": 508, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 17638, "end": 19696, "loc": { "start": { "line": 508, "column": 61 }, "end": { "line": 575, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 17647, "end": 17677, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17651, "end": 17676, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 35 } }, "id": { "type": "Identifier", "start": 17651, "end": 17659, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 17662, "end": 17676, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 17662, "end": 17671, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 30 } }, "object": { "type": "Identifier", "start": 17662, "end": 17665, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 17666, "end": 17671, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17672, "end": 17675, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17687, "end": 17730, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 17738, "end": 17781, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17742, "end": 17780, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 48 } }, "id": { "type": "Identifier", "start": 17742, "end": 17748, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 17751, "end": 17780, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 17751, "end": 17773, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 41 } }, "object": { "type": "Identifier", "start": 17751, "end": 17759, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17760, "end": 17773, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17774, "end": 17779, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 47 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17687, "end": 17730, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17789, "end": 17818, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 17789, "end": 17817, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 17789, "end": 17805, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 22 } }, "object": { "type": "Identifier", "start": 17789, "end": 17795, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 17796, "end": 17805, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 17809, "end": 17817, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "column": 34 } }, "extra": { "rawValue": "hg-row", "raw": "\"hg-row\"" }, "value": "hg-row" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17828, "end": 17889, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 17897, "end": 19584, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 9 } }, "expression": { "type": "CallExpression", "start": 17897, "end": 19583, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 569, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 17897, "end": 17913, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 22 } }, "object": { "type": "Identifier", "start": 17897, "end": 17905, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 17906, "end": 17913, "loc": { "start": { "line": 520, "column": 15 }, "end": { "line": 520, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 17914, "end": 19582, "loc": { "start": { "line": 520, "column": 23 }, "end": { "line": 569, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17915, "end": 17921, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 17923, "end": 17929, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 17934, "end": 19582, "loc": { "start": { "line": 520, "column": 43 }, "end": { "line": 569, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 17945, "end": 18001, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17949, "end": 18000, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 63 } }, "id": { "type": "Identifier", "start": 17949, "end": 17960, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 17963, "end": 18000, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 17963, "end": 17992, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 55 } }, "object": { "type": "MemberExpression", "start": 17963, "end": 17977, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 40 } }, "object": { "type": "ThisExpression", "start": 17963, "end": 17967, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 30 } } }, "property": { "type": "Identifier", "start": 17968, "end": 17977, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 17978, "end": 17992, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17993, "end": 17999, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18011, "end": 18061, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18015, "end": 18060, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 57 } }, "id": { "type": "Identifier", "start": 18015, "end": 18031, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 18034, "end": 18060, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 57 } }, "object": { "type": "Identifier", "start": 18034, "end": 18052, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 18053, "end": 18059, "loc": { "start": { "line": 522, "column": 50 }, "end": { "line": 522, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 18071, "end": 18188, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18075, "end": 18187, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 124 } }, "id": { "type": "Identifier", "start": 18075, "end": 18092, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 18095, "end": 18187, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 18095, "end": 18130, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 67 } }, "object": { "type": "MemberExpression", "start": 18095, "end": 18109, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 46 } }, "object": { "type": "ThisExpression", "start": 18095, "end": 18099, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 36 } } }, "property": { "type": "Identifier", "start": 18100, "end": 18109, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 18110, "end": 18130, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18131, "end": 18137, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 18139, "end": 18159, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 96 } }, "object": { "type": "MemberExpression", "start": 18139, "end": 18151, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 88 } }, "object": { "type": "ThisExpression", "start": 18139, "end": 18143, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 80 } } }, "property": { "type": "Identifier", "start": 18144, "end": 18151, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18152, "end": 18159, "loc": { "start": { "line": 523, "column": 89 }, "end": { "line": 523, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 18161, "end": 18186, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 123 } }, "object": { "type": "MemberExpression", "start": 18161, "end": 18173, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 110 } }, "object": { "type": "ThisExpression", "start": 18161, "end": 18165, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 102 } } }, "property": { "type": "Identifier", "start": 18166, "end": 18173, "loc": { "start": { "line": 523, "column": 103 }, "end": { "line": 523, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18174, "end": 18186, "loc": { "start": { "line": 523, "column": 111 }, "end": { "line": 523, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18200, "end": 18244, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18254, "end": 18300, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18258, "end": 18299, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 53 } }, "id": { "type": "Identifier", "start": 18258, "end": 18267, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 18270, "end": 18299, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 18270, "end": 18292, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 46 } }, "object": { "type": "Identifier", "start": 18270, "end": 18278, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18279, "end": 18292, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18293, "end": 18298, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18200, "end": 18244, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18310, "end": 18407, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 18310, "end": 18406, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 18310, "end": 18329, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 27 } }, "object": { "type": "Identifier", "start": 18310, "end": 18319, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18320, "end": 18329, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 18333, "end": 18406, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 18346, "end": 18357, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 18360, "end": 18404, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 102 } }, "test": { "type": "Identifier", "start": 18360, "end": 18376, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 18379, "end": 18399, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 97 } }, "left": { "type": "StringLiteral", "start": 18379, "end": 18382, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 18383, "end": 18399, "loc": { "start": { "line": 529, "column": 81 }, "end": { "line": 529, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 18402, "end": 18404, "loc": { "start": { "line": 529, "column": 100 }, "end": { "line": 529, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 18334, "end": 18344, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 18358, "end": 18358, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18405, "end": 18405, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "ExpressionStatement", "start": 18417, "end": 18476, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 18417, "end": 18475, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18417, "end": 18434, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 25 } }, "object": { "type": "Identifier", "start": 18417, "end": 18426, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18427, "end": 18434, "loc": { "start": { "line": 530, "column": 18 }, "end": { "line": 530, "column": 25 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 18437, "end": 18475, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 18443, "end": 18475, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 18443, "end": 18467, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 58 } }, "object": { "type": "ThisExpression", "start": 18443, "end": 18447, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 38 } } }, "property": { "type": "Identifier", "start": 18448, "end": 18467, "loc": { "start": { "line": 530, "column": 39 }, "end": { "line": 530, "column": 58 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 18468, "end": 18474, "loc": { "start": { "line": 530, "column": 59 }, "end": { "line": 530, "column": 65 }, "identifierName": "button" }, "name": "button" } ] } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18488, "end": 18534, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18544, "end": 18589, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 53 } }, "expression": { "type": "CallExpression", "start": 18544, "end": 18588, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 18544, "end": 18566, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 30 } }, "object": { "type": "Identifier", "start": 18544, "end": 18553, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18554, "end": 18566, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18567, "end": 18579, "loc": { "start": { "line": 535, "column": 31 }, "end": { "line": 535, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 18581, "end": 18587, "loc": { "start": { "line": 535, "column": 45 }, "end": { "line": 535, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18488, "end": 18534, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 18601, "end": 18756, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 18766, "end": 18832, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18770, "end": 18831, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 73 } }, "id": { "type": "Identifier", "start": 18770, "end": 18779, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 18782, "end": 18831, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 18785, "end": 18808, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 50 } }, "object": { "type": "MemberExpression", "start": 18785, "end": 18797, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 39 } }, "object": { "type": "ThisExpression", "start": 18785, "end": 18789, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 31 } } }, "property": { "type": "Identifier", "start": 18790, "end": 18797, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18798, "end": 18808, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 18813, "end": 18819, "loc": { "start": { "line": 541, "column": 55 }, "end": { "line": 541, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 18823, "end": 18829, "loc": { "start": { "line": 541, "column": 65 }, "end": { "line": 541, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 18783, "end": 18783, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 18809, "end": 18811, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 18820, "end": 18821, "loc": { "start": { "line": 541, "column": 62 }, "end": { "line": 541, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 18830, "end": 18830, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "column": 72 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 18601, "end": 18756, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18842, "end": 18893, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 59 } }, "expression": { "type": "CallExpression", "start": 18842, "end": 18892, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 18842, "end": 18864, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 30 } }, "object": { "type": "Identifier", "start": 18842, "end": 18851, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 18852, "end": 18864, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18865, "end": 18880, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 18882, "end": 18891, "loc": { "start": { "line": 542, "column": 48 }, "end": { "line": 542, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18905, "end": 18954, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 18964, "end": 19027, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 71 } }, "expression": { "type": "CallExpression", "start": 18964, "end": 19026, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 18964, "end": 18986, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 30 } }, "object": { "type": "Identifier", "start": 18964, "end": 18973, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 18974, "end": 18986, "loc": { "start": { "line": 547, "column": 18 }, "end": { "line": 547, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 18987, "end": 19006, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 19008, "end": 19025, "loc": { "start": { "line": 547, "column": 52 }, "end": { "line": 547, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18905, "end": 18954, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19039, "end": 19097, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 19107, "end": 19158, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19111, "end": 19157, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 58 } }, "id": { "type": "Identifier", "start": 19111, "end": 19124, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 19127, "end": 19157, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 19127, "end": 19149, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 50 } }, "object": { "type": "Identifier", "start": 19127, "end": 19135, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 19136, "end": 19149, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19150, "end": 19156, "loc": { "start": { "line": 552, "column": 51 }, "end": { "line": 552, "column": 57 } }, "extra": { "rawValue": "span", "raw": "'span'" }, "value": "span" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19039, "end": 19097, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19168, "end": 19212, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 19168, "end": 19211, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19168, "end": 19191, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 31 } }, "object": { "type": "Identifier", "start": 19168, "end": 19181, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 19182, "end": 19191, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 19194, "end": 19211, "loc": { "start": { "line": 553, "column": 34 }, "end": { "line": 553, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 19222, "end": 19259, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 45 } }, "expression": { "type": "CallExpression", "start": 19222, "end": 19258, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 19222, "end": 19243, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 29 } }, "object": { "type": "Identifier", "start": 19222, "end": 19231, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 19232, "end": 19243, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19244, "end": 19257, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19271, "end": 19324, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "IfStatement", "start": 19334, "end": 19411, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 560, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 19337, "end": 19365, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19338, "end": 19365, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 39 } }, "object": { "type": "MemberExpression", "start": 19338, "end": 19357, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 31 } }, "object": { "type": "ThisExpression", "start": 19338, "end": 19342, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19343, "end": 19357, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19358, "end": 19364, "loc": { "start": { "line": 559, "column": 32 }, "end": { "line": 559, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 19378, "end": 19411, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 19378, "end": 19410, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19378, "end": 19405, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 37 } }, "object": { "type": "MemberExpression", "start": 19378, "end": 19397, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19378, "end": 19382, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, "property": { "type": "Identifier", "start": 19383, "end": 19397, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19398, "end": 19404, "loc": { "start": { "line": 560, "column": 30 }, "end": { "line": 560, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 19408, "end": 19410, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19271, "end": 19324, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19423, "end": 19467, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 52 } }, "expression": { "type": "CallExpression", "start": 19423, "end": 19466, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 19423, "end": 19455, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 40 } }, "object": { "type": "MemberExpression", "start": 19423, "end": 19450, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19423, "end": 19442, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 27 } }, "object": { "type": "ThisExpression", "start": 19423, "end": 19427, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 12 } } }, "property": { "type": "Identifier", "start": 19428, "end": 19442, "loc": { "start": { "line": 562, "column": 13 }, "end": { "line": 562, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 19443, "end": 19449, "loc": { "start": { "line": 562, "column": 28 }, "end": { "line": 562, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 19451, "end": 19455, "loc": { "start": { "line": 562, "column": 36 }, "end": { "line": 562, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19456, "end": 19465, "loc": { "start": { "line": 562, "column": 41 }, "end": { "line": 562, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19479, "end": 19531, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 19541, "end": 19571, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 38 } }, "expression": { "type": "CallExpression", "start": 19541, "end": 19570, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 19541, "end": 19559, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 26 } }, "object": { "type": "Identifier", "start": 19541, "end": 19547, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 19548, "end": 19559, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19560, "end": 19569, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19479, "end": 19531, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17828, "end": 17889, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19594, "end": 19644, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19652, "end": 19689, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 43 } }, "expression": { "type": "CallExpression", "start": 19652, "end": 19688, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19652, "end": 19680, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19652, "end": 19668, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19652, "end": 19656, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19657, "end": 19668, "loc": { "start": { "line": 574, "column": 11 }, "end": { "line": 574, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19669, "end": 19680, "loc": { "start": { "line": 574, "column": 23 }, "end": { "line": 574, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 19681, "end": 19687, "loc": { "start": { "line": 574, "column": 35 }, "end": { "line": 574, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19594, "end": 19644, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17528, "end": 17575, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19706, "end": 19743, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19749, "end": 19765, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19749, "end": 19764, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19749, "end": 19762, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19749, "end": 19753, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19754, "end": 19762, "loc": { "start": { "line": 580, "column": 9 }, "end": { "line": 580, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19706, "end": 19743, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19773, "end": 19995, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 592, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 19776, "end": 19793, "loc": { "start": { "line": 582, "column": 7 }, "end": { "line": 582, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19777, "end": 19793, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 24 } }, "object": { "type": "ThisExpression", "start": 19777, "end": 19781, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 12 } } }, "property": { "type": "Identifier", "start": 19782, "end": 19793, "loc": { "start": { "line": 582, "column": 13 }, "end": { "line": 582, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 19794, "end": 19995, "loc": { "start": { "line": 582, "column": 25 }, "end": { "line": 592, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19893, "end": 19917, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19893, "end": 19916, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19893, "end": 19909, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 22 } }, "object": { "type": "ThisExpression", "start": 19893, "end": 19897, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19898, "end": 19909, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 19912, "end": 19916, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19803, "end": 19885, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19927, "end": 19966, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 19974, "end": 19988, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 20 } }, "expression": { "type": "CallExpression", "start": 19974, "end": 19987, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 19974, "end": 19985, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 17 } }, "object": { "type": "ThisExpression", "start": 19974, "end": 19978, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19979, "end": 19985, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19927, "end": 19966, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15811, "end": 15867, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "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 * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 7700, "end": 7818, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7959, "end": 8014, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 8110, "end": 8272, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8365, "end": 8420, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 8566, "end": 8726, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8862, "end": 8917, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9015, "end": 9124, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Set new option or modify existing ones after initialization. \r\n * @param {object} option The option to set\r\n ", "start": 9197, "end": 9323, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "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": 9467, "end": 9576, "loc": { "start": { "line": 247, "column": 2 }, "end": { "line": 250, "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": 9732, "end": 9937, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "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": 10322, "end": 10603, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10937, "end": 11028, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11558, "end": 11633, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 11852, "end": 12192, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 12247, "end": 12327, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12456, "end": 12524, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If className is set, we affect the buttons only for that class\r\n * Otherwise, we afect all classes\r\n ", "start": 12789, "end": 12930, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13171, "end": 13268, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 13626, "end": 13829, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14113, "end": 14203, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 14523, "end": 14635, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "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": 14831, "end": 14979, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "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": 15202, "end": 15322, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15421, "end": 15456, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 15575, "end": 15693, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15811, "end": 15867, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15893, "end": 15928, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16139, "end": 16191, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 16698, "end": 16737, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 16787, "end": 16870, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17378, "end": 17444, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17528, "end": 17575, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17687, "end": 17730, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17828, "end": 17889, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18200, "end": 18244, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18488, "end": 18534, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 18601, "end": 18756, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18905, "end": 18954, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19039, "end": 19097, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19271, "end": 19324, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19479, "end": 19531, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19594, "end": 19644, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19706, "end": 19743, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19803, "end": 19885, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19927, "end": 19966, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "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 * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 4184, "end": 4843, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 79, "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": 4849, "end": 4853, "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": 4853, "end": 4854, "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": "input", "start": 4854, "end": 4859, "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": 4860, "end": 4861, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4862, "end": 4863, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4863, "end": 4864, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4864, "end": 4865, "loc": { "start": { "line": 80, "column": 19 }, "end": { "line": 80, "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": 4871, "end": 4875, "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": 4875, "end": 4876, "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": "input", "start": 4876, "end": 4881, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4881, "end": 4882, "loc": { "start": { "line": 81, "column": 14 }, "end": { "line": 81, "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": 4882, "end": 4886, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4886, "end": 4887, "loc": { "start": { "line": 81, "column": 19 }, "end": { "line": 81, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4887, "end": 4894, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4894, "end": 4895, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4895, "end": 4904, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4904, "end": 4905, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4906, "end": 4907, "loc": { "start": { "line": 81, "column": 39 }, "end": { "line": 81, "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": 4908, "end": 4910, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4910, "end": 4911, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 4919, "end": 5028, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 85, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5034, "end": 5038, "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": 5038, "end": 5039, "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": "keyboardDOMClass", "start": 5039, "end": 5055, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5056, "end": 5057, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 5058, "end": 5074, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5074, "end": 5075, "loc": { "start": { "line": 86, "column": 44 }, "end": { "line": 86, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 5075, "end": 5080, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5080, "end": 5081, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 5081, "end": 5084, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5084, "end": 5085, "loc": { "start": { "line": 86, "column": 54 }, "end": { "line": 86, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5085, "end": 5086, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 5086, "end": 5090, "loc": { "start": { "line": 86, "column": 56 }, "end": { "line": 86, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5090, "end": 5091, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 5091, "end": 5093, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5093, "end": 5094, "loc": { "start": { "line": 86, "column": 63 }, "end": { "line": 86, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5094, "end": 5095, "loc": { "start": { "line": 86, "column": 64 }, "end": { "line": 86, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Contains the DOM elements of every rendered button, the key being the button's layout name (e.g.: \"{enter}\").\r\n ", "start": 5103, "end": 5248, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 90, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5254, "end": 5258, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5258, "end": 5259, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 5259, "end": 5273, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5274, "end": 5275, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5276, "end": 5277, "loc": { "start": { "line": 91, "column": 26 }, "end": { "line": 91, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5277, "end": 5278, "loc": { "start": { "line": 91, "column": 27 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5278, "end": 5279, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 5287, "end": 5326, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 95, "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": 5332, "end": 5334, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5334, "end": 5335, "loc": { "start": { "line": 96, "column": 6 }, "end": { "line": 96, "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": 5335, "end": 5339, "loc": { "start": { "line": 96, "column": 7 }, "end": { "line": 96, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5339, "end": 5340, "loc": { "start": { "line": 96, "column": 11 }, "end": { "line": 96, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 5340, "end": 5351, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5351, "end": 5352, "loc": { "start": { "line": 96, "column": 23 }, "end": { "line": 96, "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": 5360, "end": 5364, "loc": { "start": { "line": 97, "column": 6 }, "end": { "line": 97, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5364, "end": 5365, "loc": { "start": { "line": 97, "column": 10 }, "end": { "line": 97, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5365, "end": 5371, "loc": { "start": { "line": 97, "column": 11 }, "end": { "line": 97, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5371, "end": 5372, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5372, "end": 5373, "loc": { "start": { "line": 97, "column": 18 }, "end": { "line": 97, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5373, "end": 5374, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "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": 5380, "end": 5384, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5385, "end": 5386, "loc": { "start": { "line": 98, "column": 9 }, "end": { "line": 98, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 5394, "end": 5401, "loc": { "start": { "line": 99, "column": 6 }, "end": { "line": 99, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5401, "end": 5402, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 5402, "end": 5406, "loc": { "start": { "line": 99, "column": 14 }, "end": { "line": 99, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5406, "end": 5407, "loc": { "start": { "line": 99, "column": 18 }, "end": { "line": 99, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5407, "end": 5408, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "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": 5408, "end": 5409, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5409, "end": 5411, "loc": { "start": { "line": 99, "column": 21 }, "end": { "line": 99, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 5411, "end": 5427, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5427, "end": 5428, "loc": { "start": { "line": 99, "column": 39 }, "end": { "line": 99, "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": 5428, "end": 5455, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5455, "end": 5456, "loc": { "start": { "line": 99, "column": 67 }, "end": { "line": 99, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5456, "end": 5457, "loc": { "start": { "line": 99, "column": 68 }, "end": { "line": 99, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5457, "end": 5458, "loc": { "start": { "line": 99, "column": 69 }, "end": { "line": 99, "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": 5466, "end": 5471, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "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": 5472, "end": 5475, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 5476, "end": 5481, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5481, "end": 5482, "loc": { "start": { "line": 100, "column": 21 }, "end": { "line": 100, "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": 5482, "end": 5502, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5502, "end": 5503, "loc": { "start": { "line": 100, "column": 42 }, "end": { "line": 100, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5503, "end": 5504, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5510, "end": 5511, "loc": { "start": { "line": 101, "column": 4 }, "end": { "line": 101, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 5519, "end": 5632, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "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": 5638, "end": 5640, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5640, "end": 5641, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "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": 5641, "end": 5642, "loc": { "start": { "line": 107, "column": 7 }, "end": { "line": 107, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5642, "end": 5648, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5648, "end": 5649, "loc": { "start": { "line": 107, "column": 14 }, "end": { "line": 107, "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": 5649, "end": 5674, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5674, "end": 5675, "loc": { "start": { "line": 107, "column": 40 }, "end": { "line": 107, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5675, "end": 5676, "loc": { "start": { "line": 107, "column": 41 }, "end": { "line": 107, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5684, "end": 5690, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5690, "end": 5691, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "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": 5691, "end": 5716, "loc": { "start": { "line": 108, "column": 13 }, "end": { "line": 108, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5716, "end": 5717, "loc": { "start": { "line": 108, "column": 38 }, "end": { "line": 108, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5718, "end": 5719, "loc": { "start": { "line": 108, "column": 40 }, "end": { "line": 108, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5720, "end": 5721, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5721, "end": 5722, "loc": { "start": { "line": 108, "column": 43 }, "end": { "line": 108, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5722, "end": 5723, "loc": { "start": { "line": 108, "column": 44 }, "end": { "line": 108, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5737, "end": 5743, "loc": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5743, "end": 5744, "loc": { "start": { "line": 110, "column": 10 }, "end": { "line": 110, "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": 5744, "end": 5769, "loc": { "start": { "line": 110, "column": 11 }, "end": { "line": 110, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5769, "end": 5770, "loc": { "start": { "line": 110, "column": 36 }, "end": { "line": 110, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5770, "end": 5771, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 110, "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": 5771, "end": 5775, "loc": { "start": { "line": 110, "column": 38 }, "end": { "line": 110, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5775, "end": 5776, "loc": { "start": { "line": 110, "column": 42 }, "end": { "line": 110, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 5776, "end": 5785, "loc": { "start": { "line": 110, "column": 43 }, "end": { "line": 110, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5785, "end": 5786, "loc": { "start": { "line": 110, "column": 52 }, "end": { "line": 110, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 5786, "end": 5795, "loc": { "start": { "line": 110, "column": 53 }, "end": { "line": 110, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5795, "end": 5796, "loc": { "start": { "line": 110, "column": 62 }, "end": { "line": 110, "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": 5796, "end": 5800, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5800, "end": 5801, "loc": { "start": { "line": 110, "column": 67 }, "end": { "line": 110, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 5801, "end": 5817, "loc": { "start": { "line": 110, "column": 68 }, "end": { "line": 110, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5817, "end": 5818, "loc": { "start": { "line": 110, "column": 84 }, "end": { "line": 110, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5818, "end": 5819, "loc": { "start": { "line": 110, "column": 85 }, "end": { "line": 110, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5820, "end": 5821, "loc": { "start": { "line": 110, "column": 87 }, "end": { "line": 110, "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": 5822, "end": 5826, "loc": { "start": { "line": 110, "column": 89 }, "end": { "line": 110, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5826, "end": 5827, "loc": { "start": { "line": 110, "column": 93 }, "end": { "line": 110, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 5835, "end": 5881, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 114, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5887, "end": 5891, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5891, "end": 5892, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicalKeyboardInterface", "start": 5892, "end": 5917, "loc": { "start": { "line": 115, "column": 9 }, "end": { "line": 115, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5918, "end": 5919, "loc": { "start": { "line": 115, "column": 35 }, "end": { "line": 115, "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": 5920, "end": 5923, "loc": { "start": { "line": 115, "column": 37 }, "end": { "line": 115, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 5924, "end": 5940, "loc": { "start": { "line": 115, "column": 41 }, "end": { "line": 115, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5940, "end": 5941, "loc": { "start": { "line": 115, "column": 57 }, "end": { "line": 115, "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": 5941, "end": 5945, "loc": { "start": { "line": 115, "column": 58 }, "end": { "line": 115, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5945, "end": 5946, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5946, "end": 5947, "loc": { "start": { "line": 115, "column": 63 }, "end": { "line": 115, "column": 64 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5951, "end": 5952, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 116, "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": 5956, "end": 6068, "loc": { "start": { "line": 117, "column": 2 }, "end": { "line": 120, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 6072, "end": 6091, "loc": { "start": { "line": 121, "column": 2 }, "end": { "line": 121, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6092, "end": 6093, "loc": { "start": { "line": 121, "column": 22 }, "end": { "line": 121, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6094, "end": 6095, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6095, "end": 6101, "loc": { "start": { "line": 121, "column": 25 }, "end": { "line": 121, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6101, "end": 6102, "loc": { "start": { "line": 121, "column": 31 }, "end": { "line": 121, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6103, "end": 6105, "loc": { "start": { "line": 121, "column": 33 }, "end": { "line": 121, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6106, "end": 6107, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 37 } } }, { "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": 6113, "end": 6116, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 6117, "end": 6122, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6123, "end": 6124, "loc": { "start": { "line": 122, "column": 14 }, "end": { "line": 122, "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": 6125, "end": 6129, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6129, "end": 6130, "loc": { "start": { "line": 122, "column": 20 }, "end": { "line": 122, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6130, "end": 6137, "loc": { "start": { "line": 122, "column": 21 }, "end": { "line": 122, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6137, "end": 6138, "loc": { "start": { "line": 122, "column": 28 }, "end": { "line": 122, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 6138, "end": 6143, "loc": { "start": { "line": 122, "column": 29 }, "end": { "line": 122, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6143, "end": 6144, "loc": { "start": { "line": 122, "column": 34 }, "end": { "line": 122, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 6152, "end": 6201, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 126, "column": 7 } } }, { "type": { "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": 6207, "end": 6209, "loc": { "start": { "line": 127, "column": 4 }, "end": { "line": 127, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6209, "end": 6210, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6210, "end": 6216, "loc": { "start": { "line": 127, "column": 7 }, "end": { "line": 127, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6217, "end": 6220, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "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": 6221, "end": 6227, "loc": { "start": { "line": 127, "column": 18 }, "end": { "line": 127, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6227, "end": 6228, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "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": 6236, "end": 6242, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "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": 6243, "end": 6248, "loc": { "start": { "line": 128, "column": 13 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6248, "end": 6249, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 6257, "end": 6296, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 132, "column": 7 } } }, { "type": { "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": 6302, "end": 6304, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 133, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6304, "end": 6305, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "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": 6305, "end": 6311, "loc": { "start": { "line": 133, "column": 7 }, "end": { "line": 133, "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": 6312, "end": 6316, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6316, "end": 6317, "loc": { "start": { "line": 133, "column": 18 }, "end": { "line": 133, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6317, "end": 6324, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6324, "end": 6325, "loc": { "start": { "line": 133, "column": 26 }, "end": { "line": 133, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 6325, "end": 6335, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6336, "end": 6339, "loc": { "start": { "line": 133, "column": 38 }, "end": { "line": 133, "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": 6340, "end": 6350, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6350, "end": 6351, "loc": { "start": { "line": 133, "column": 52 }, "end": { "line": 133, "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": 6359, "end": 6363, "loc": { "start": { "line": 134, "column": 6 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6363, "end": 6364, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6364, "end": 6371, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6371, "end": 6372, "loc": { "start": { "line": 134, "column": 18 }, "end": { "line": 134, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 6372, "end": 6382, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 134, "column": 29 }, "end": { "line": 134, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6383, "end": 6389, "loc": { "start": { "line": 134, "column": 30 }, "end": { "line": 134, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6389, "end": 6390, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6390, "end": 6391, "loc": { "start": { "line": 134, "column": 37 }, "end": { "line": 134, "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": 6403, "end": 6405, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 136, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6405, "end": 6406, "loc": { "start": { "line": 136, "column": 6 }, "end": { "line": 136, "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": 6406, "end": 6407, "loc": { "start": { "line": 136, "column": 7 }, "end": { "line": 136, "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": 6407, "end": 6411, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6411, "end": 6412, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6412, "end": 6417, "loc": { "start": { "line": 136, "column": 13 }, "end": { "line": 136, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6417, "end": 6418, "loc": { "start": { "line": 136, "column": 18 }, "end": { "line": 136, "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": 6418, "end": 6422, "loc": { "start": { "line": 136, "column": 19 }, "end": { "line": 136, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6422, "end": 6423, "loc": { "start": { "line": 136, "column": 23 }, "end": { "line": 136, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6423, "end": 6430, "loc": { "start": { "line": 136, "column": 24 }, "end": { "line": 136, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6430, "end": 6431, "loc": { "start": { "line": 136, "column": 31 }, "end": { "line": 136, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6431, "end": 6440, "loc": { "start": { "line": 136, "column": 32 }, "end": { "line": 136, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6440, "end": 6441, "loc": { "start": { "line": 136, "column": 41 }, "end": { "line": 136, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6441, "end": 6442, "loc": { "start": { "line": 136, "column": 42 }, "end": { "line": 136, "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": 6450, "end": 6454, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6454, "end": 6455, "loc": { "start": { "line": 137, "column": 10 }, "end": { "line": 137, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6455, "end": 6460, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6460, "end": 6461, "loc": { "start": { "line": 137, "column": 16 }, "end": { "line": 137, "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": 6461, "end": 6465, "loc": { "start": { "line": 137, "column": 17 }, "end": { "line": 137, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6465, "end": 6466, "loc": { "start": { "line": 137, "column": 21 }, "end": { "line": 137, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6466, "end": 6473, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6473, "end": 6474, "loc": { "start": { "line": 137, "column": 29 }, "end": { "line": 137, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6474, "end": 6483, "loc": { "start": { "line": 137, "column": 30 }, "end": { "line": 137, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6483, "end": 6484, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6485, "end": 6486, "loc": { "start": { "line": 137, "column": 41 }, "end": { "line": 137, "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": 6487, "end": 6489, "loc": { "start": { "line": 137, "column": 43 }, "end": { "line": 137, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6489, "end": 6490, "loc": { "start": { "line": 137, "column": 45 }, "end": { "line": 137, "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": 6498, "end": 6501, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6502, "end": 6514, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6515, "end": 6516, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "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": 6517, "end": 6521, "loc": { "start": { "line": 139, "column": 23 }, "end": { "line": 139, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6521, "end": 6522, "loc": { "start": { "line": 139, "column": 27 }, "end": { "line": 139, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 6522, "end": 6531, "loc": { "start": { "line": 139, "column": 28 }, "end": { "line": 139, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6531, "end": 6532, "loc": { "start": { "line": 139, "column": 37 }, "end": { "line": 139, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 6532, "end": 6547, "loc": { "start": { "line": 139, "column": 38 }, "end": { "line": 139, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6547, "end": 6548, "loc": { "start": { "line": 139, "column": 53 }, "end": { "line": 139, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 6548, "end": 6554, "loc": { "start": { "line": 139, "column": 54 }, "end": { "line": 139, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6554, "end": 6555, "loc": { "start": { "line": 139, "column": 60 }, "end": { "line": 139, "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": 6556, "end": 6560, "loc": { "start": { "line": 139, "column": 62 }, "end": { "line": 139, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6560, "end": 6561, "loc": { "start": { "line": 139, "column": 66 }, "end": { "line": 139, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6561, "end": 6566, "loc": { "start": { "line": 139, "column": 67 }, "end": { "line": 139, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6566, "end": 6567, "loc": { "start": { "line": 139, "column": 72 }, "end": { "line": 139, "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": 6567, "end": 6571, "loc": { "start": { "line": 139, "column": 73 }, "end": { "line": 139, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6571, "end": 6572, "loc": { "start": { "line": 139, "column": 77 }, "end": { "line": 139, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6572, "end": 6579, "loc": { "start": { "line": 139, "column": 78 }, "end": { "line": 139, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6579, "end": 6580, "loc": { "start": { "line": 139, "column": 85 }, "end": { "line": 139, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6580, "end": 6589, "loc": { "start": { "line": 139, "column": 86 }, "end": { "line": 139, "column": 95 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6589, "end": 6590, "loc": { "start": { "line": 139, "column": 95 }, "end": { "line": 139, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6590, "end": 6591, "loc": { "start": { "line": 139, "column": 96 }, "end": { "line": 139, "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": 6592, "end": 6596, "loc": { "start": { "line": 139, "column": 98 }, "end": { "line": 139, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6596, "end": 6597, "loc": { "start": { "line": 139, "column": 102 }, "end": { "line": 139, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6597, "end": 6604, "loc": { "start": { "line": 139, "column": 103 }, "end": { "line": 139, "column": 110 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6604, "end": 6605, "loc": { "start": { "line": 139, "column": 110 }, "end": { "line": 139, "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": 6606, "end": 6610, "loc": { "start": { "line": 139, "column": 112 }, "end": { "line": 139, "column": 116 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6610, "end": 6611, "loc": { "start": { "line": 139, "column": 116 }, "end": { "line": 139, "column": 117 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 6611, "end": 6624, "loc": { "start": { "line": 139, "column": 117 }, "end": { "line": 139, "column": 130 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6624, "end": 6625, "loc": { "start": { "line": 139, "column": 130 }, "end": { "line": 139, "column": 131 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6625, "end": 6626, "loc": { "start": { "line": 139, "column": 131 }, "end": { "line": 139, "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": 6634, "end": 6636, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6636, "end": 6637, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "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": 6637, "end": 6641, "loc": { "start": { "line": 141, "column": 7 }, "end": { "line": 141, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6641, "end": 6642, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6642, "end": 6647, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6647, "end": 6648, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "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": 6648, "end": 6652, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6652, "end": 6653, "loc": { "start": { "line": 141, "column": 22 }, "end": { "line": 141, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6653, "end": 6660, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6660, "end": 6661, "loc": { "start": { "line": 141, "column": 30 }, "end": { "line": 141, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6661, "end": 6670, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6670, "end": 6671, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 6672, "end": 6675, "loc": { "start": { "line": 141, "column": 42 }, "end": { "line": 141, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6676, "end": 6688, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6688, "end": 6689, "loc": { "start": { "line": 141, "column": 58 }, "end": { "line": 141, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6689, "end": 6690, "loc": { "start": { "line": 141, "column": 59 }, "end": { "line": 141, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 6700, "end": 6777, "loc": { "start": { "line": 143, "column": 6 }, "end": { "line": 145, "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": 6785, "end": 6787, "loc": { "start": { "line": 146, "column": 6 }, "end": { "line": 146, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6787, "end": 6788, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "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": 6788, "end": 6792, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6792, "end": 6793, "loc": { "start": { "line": 146, "column": 13 }, "end": { "line": 146, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6793, "end": 6800, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6800, "end": 6801, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 6801, "end": 6810, "loc": { "start": { "line": 146, "column": 22 }, "end": { "line": 146, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6811, "end": 6813, "loc": { "start": { "line": 146, "column": 32 }, "end": { "line": 146, "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": 6814, "end": 6818, "loc": { "start": { "line": 146, "column": 35 }, "end": { "line": 146, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6818, "end": 6819, "loc": { "start": { "line": 146, "column": 39 }, "end": { "line": 146, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 6819, "end": 6828, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6828, "end": 6829, "loc": { "start": { "line": 146, "column": 49 }, "end": { "line": 146, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 6829, "end": 6844, "loc": { "start": { "line": 146, "column": 50 }, "end": { "line": 146, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6844, "end": 6845, "loc": { "start": { "line": 146, "column": 65 }, "end": { "line": 146, "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": 6845, "end": 6849, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6849, "end": 6850, "loc": { "start": { "line": 146, "column": 70 }, "end": { "line": 146, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6850, "end": 6855, "loc": { "start": { "line": 146, "column": 71 }, "end": { "line": 146, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6855, "end": 6856, "loc": { "start": { "line": 146, "column": 76 }, "end": { "line": 146, "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": 6857, "end": 6861, "loc": { "start": { "line": 146, "column": 78 }, "end": { "line": 146, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6861, "end": 6862, "loc": { "start": { "line": 146, "column": 82 }, "end": { "line": 146, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6862, "end": 6869, "loc": { "start": { "line": 146, "column": 83 }, "end": { "line": 146, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6869, "end": 6870, "loc": { "start": { "line": 146, "column": 90 }, "end": { "line": 146, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6871, "end": 6883, "loc": { "start": { "line": 146, "column": 92 }, "end": { "line": 146, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6883, "end": 6884, "loc": { "start": { "line": 146, "column": 104 }, "end": { "line": 146, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6884, "end": 6885, "loc": { "start": { "line": 146, "column": 105 }, "end": { "line": 146, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6885, "end": 6886, "loc": { "start": { "line": 146, "column": 106 }, "end": { "line": 146, "column": 107 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 6896, "end": 6902, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 6903, "end": 6908, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6908, "end": 6909, "loc": { "start": { "line": 147, "column": 20 }, "end": { "line": 147, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6917, "end": 6918, "loc": { "start": { "line": 148, "column": 6 }, "end": { "line": 148, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6928, "end": 6932, "loc": { "start": { "line": 150, "column": 6 }, "end": { "line": 150, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6932, "end": 6933, "loc": { "start": { "line": 150, "column": 10 }, "end": { "line": 150, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6933, "end": 6938, "loc": { "start": { "line": 150, "column": 11 }, "end": { "line": 150, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6938, "end": 6939, "loc": { "start": { "line": 150, "column": 16 }, "end": { "line": 150, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6939, "end": 6943, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6943, "end": 6944, "loc": { "start": { "line": 150, "column": 21 }, "end": { "line": 150, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6944, "end": 6951, "loc": { "start": { "line": 150, "column": 22 }, "end": { "line": 150, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6951, "end": 6952, "loc": { "start": { "line": 150, "column": 29 }, "end": { "line": 150, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6952, "end": 6961, "loc": { "start": { "line": 150, "column": 30 }, "end": { "line": 150, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6961, "end": 6962, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6963, "end": 6964, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 6965, "end": 6977, "loc": { "start": { "line": 150, "column": 43 }, "end": { "line": 150, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6977, "end": 6978, "loc": { "start": { "line": 150, "column": 55 }, "end": { "line": 150, "column": 56 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 6988, "end": 6990, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6990, "end": 6991, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 6991, "end": 6996, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6996, "end": 6997, "loc": { "start": { "line": 152, "column": 14 }, "end": { "line": 152, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 7007, "end": 7014, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7014, "end": 7015, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7015, "end": 7018, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7018, "end": 7019, "loc": { "start": { "line": 153, "column": 19 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Input changed:", "start": 7019, "end": 7035, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7035, "end": 7036, "loc": { "start": { "line": 153, "column": 36 }, "end": { "line": 153, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7037, "end": 7041, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7041, "end": 7042, "loc": { "start": { "line": 153, "column": 42 }, "end": { "line": 153, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7042, "end": 7047, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7047, "end": 7048, "loc": { "start": { "line": 153, "column": 48 }, "end": { "line": 153, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7048, "end": 7049, "loc": { "start": { "line": 153, "column": 49 }, "end": { "line": 153, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7059, "end": 7118, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 157, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7126, "end": 7128, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7128, "end": 7129, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7129, "end": 7133, "loc": { "start": { "line": 158, "column": 9 }, "end": { "line": 158, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7133, "end": 7134, "loc": { "start": { "line": 158, "column": 13 }, "end": { "line": 158, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7134, "end": 7141, "loc": { "start": { "line": 158, "column": 14 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7141, "end": 7142, "loc": { "start": { "line": 158, "column": 21 }, "end": { "line": 158, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 7142, "end": 7160, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7160, "end": 7161, "loc": { "start": { "line": 158, "column": 40 }, "end": { "line": 158, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7171, "end": 7175, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7175, "end": 7176, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 7176, "end": 7194, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7194, "end": 7195, "loc": { "start": { "line": 159, "column": 31 }, "end": { "line": 159, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7195, "end": 7199, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7199, "end": 7200, "loc": { "start": { "line": 159, "column": 36 }, "end": { "line": 159, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7200, "end": 7205, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7205, "end": 7206, "loc": { "start": { "line": 159, "column": 42 }, "end": { "line": 159, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7206, "end": 7207, "loc": { "start": { "line": 159, "column": 43 }, "end": { "line": 159, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 7217, "end": 7258, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 163, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7266, "end": 7268, "loc": { "start": { "line": 164, "column": 6 }, "end": { "line": 164, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7268, "end": 7269, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 9 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 7269, "end": 7275, "loc": { "start": { "line": 164, "column": 9 }, "end": { "line": 164, "column": 15 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7276, "end": 7280, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7280, "end": 7281, "loc": { "start": { "line": 164, "column": 20 }, "end": { "line": 164, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7281, "end": 7288, "loc": { "start": { "line": 164, "column": 21 }, "end": { "line": 164, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7288, "end": 7289, "loc": { "start": { "line": 164, "column": 28 }, "end": { "line": 164, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 7289, "end": 7297, "loc": { "start": { "line": 164, "column": 29 }, "end": { "line": 164, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7298, "end": 7301, "loc": { "start": { "line": 164, "column": 38 }, "end": { "line": 164, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 7302, "end": 7312, "loc": { "start": { "line": 164, "column": 42 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7312, "end": 7313, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "column": 53 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7323, "end": 7327, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7327, "end": 7328, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7328, "end": 7335, "loc": { "start": { "line": 165, "column": 13 }, "end": { "line": 165, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7335, "end": 7336, "loc": { "start": { "line": 165, "column": 20 }, "end": { "line": 165, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 7336, "end": 7344, "loc": { "start": { "line": 165, "column": 21 }, "end": { "line": 165, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7344, "end": 7345, "loc": { "start": { "line": 165, "column": 29 }, "end": { "line": 165, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7345, "end": 7349, "loc": { "start": { "line": 165, "column": 30 }, "end": { "line": 165, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7349, "end": 7350, "loc": { "start": { "line": 165, "column": 34 }, "end": { "line": 165, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7350, "end": 7355, "loc": { "start": { "line": 165, "column": 35 }, "end": { "line": 165, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7355, "end": 7356, "loc": { "start": { "line": 165, "column": 40 }, "end": { "line": 165, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7356, "end": 7360, "loc": { "start": { "line": 165, "column": 41 }, "end": { "line": 165, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7360, "end": 7361, "loc": { "start": { "line": 165, "column": 45 }, "end": { "line": 165, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7361, "end": 7368, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7368, "end": 7369, "loc": { "start": { "line": 165, "column": 53 }, "end": { "line": 165, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7369, "end": 7378, "loc": { "start": { "line": 165, "column": 54 }, "end": { "line": 165, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7378, "end": 7379, "loc": { "start": { "line": 165, "column": 63 }, "end": { "line": 165, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7379, "end": 7380, "loc": { "start": { "line": 165, "column": 64 }, "end": { "line": 165, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7380, "end": 7381, "loc": { "start": { "line": 165, "column": 65 }, "end": { "line": 165, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7387, "end": 7388, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 7400, "end": 7402, "loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 168, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7402, "end": 7403, "loc": { "start": { "line": 168, "column": 6 }, "end": { "line": 168, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7403, "end": 7408, "loc": { "start": { "line": 168, "column": 7 }, "end": { "line": 168, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7408, "end": 7409, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7409, "end": 7410, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 168, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 7418, "end": 7425, "loc": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7425, "end": 7426, "loc": { "start": { "line": 169, "column": 13 }, "end": { "line": 169, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 7426, "end": 7429, "loc": { "start": { "line": 169, "column": 14 }, "end": { "line": 169, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7429, "end": 7430, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Key pressed:", "start": 7430, "end": 7444, "loc": { "start": { "line": 169, "column": 18 }, "end": { "line": 169, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7444, "end": 7445, "loc": { "start": { "line": 169, "column": 32 }, "end": { "line": 169, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7446, "end": 7452, "loc": { "start": { "line": 169, "column": 34 }, "end": { "line": 169, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7452, "end": 7453, "loc": { "start": { "line": 169, "column": 40 }, "end": { "line": 169, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7453, "end": 7454, "loc": { "start": { "line": 169, "column": 41 }, "end": { "line": 169, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7460, "end": 7461, "loc": { "start": { "line": 170, "column": 4 }, "end": { "line": 170, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7465, "end": 7466, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 171, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 7472, "end": 7569, "loc": { "start": { "line": 173, "column": 2 }, "end": { "line": 175, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 7573, "end": 7591, "loc": { "start": { "line": 176, "column": 2 }, "end": { "line": 176, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7592, "end": 7593, "loc": { "start": { "line": 176, "column": 21 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7594, "end": 7595, "loc": { "start": { "line": 176, "column": 23 }, "end": { "line": 176, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7595, "end": 7596, "loc": { "start": { "line": 176, "column": 24 }, "end": { "line": 176, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7597, "end": 7599, "loc": { "start": { "line": 176, "column": 26 }, "end": { "line": 176, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7600, "end": 7601, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 176, "column": 30 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7607, "end": 7611, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7611, "end": 7612, "loc": { "start": { "line": 177, "column": 8 }, "end": { "line": 177, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 7612, "end": 7620, "loc": { "start": { "line": 177, "column": 9 }, "end": { "line": 177, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7620, "end": 7621, "loc": { "start": { "line": 177, "column": 17 }, "end": { "line": 177, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7621, "end": 7622, "loc": { "start": { "line": 177, "column": 18 }, "end": { "line": 177, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 7622, "end": 7630, "loc": { "start": { "line": 177, "column": 19 }, "end": { "line": 177, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7630, "end": 7631, "loc": { "start": { "line": 177, "column": 27 }, "end": { "line": 177, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7632, "end": 7634, "loc": { "start": { "line": 177, "column": 29 }, "end": { "line": 177, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7635, "end": 7636, "loc": { "start": { "line": 177, "column": 32 }, "end": { "line": 177, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 7644, "end": 7652, "loc": { "start": { "line": 178, "column": 6 }, "end": { "line": 178, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7652, "end": 7653, "loc": { "start": { "line": 178, "column": 14 }, "end": { "line": 178, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 7653, "end": 7665, "loc": { "start": { "line": 178, "column": 15 }, "end": { "line": 178, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7665, "end": 7666, "loc": { "start": { "line": 178, "column": 27 }, "end": { "line": 178, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7666, "end": 7670, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7670, "end": 7671, "loc": { "start": { "line": 178, "column": 32 }, "end": { "line": 178, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7671, "end": 7676, "loc": { "start": { "line": 178, "column": 33 }, "end": { "line": 178, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7676, "end": 7677, "loc": { "start": { "line": 178, "column": 38 }, "end": { "line": 178, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7677, "end": 7678, "loc": { "start": { "line": 178, "column": 39 }, "end": { "line": 178, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7684, "end": 7685, "loc": { "start": { "line": 179, "column": 4 }, "end": { "line": 179, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7685, "end": 7686, "loc": { "start": { "line": 179, "column": 5 }, "end": { "line": 179, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7686, "end": 7687, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7691, "end": 7692, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 180, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 7700, "end": 7818, "loc": { "start": { "line": 182, "column": 2 }, "end": { "line": 185, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 7822, "end": 7832, "loc": { "start": { "line": 186, "column": 2 }, "end": { "line": 186, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7833, "end": 7834, "loc": { "start": { "line": 186, "column": 13 }, "end": { "line": 186, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7835, "end": 7836, "loc": { "start": { "line": 186, "column": 15 }, "end": { "line": 186, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7836, "end": 7845, "loc": { "start": { "line": 186, "column": 16 }, "end": { "line": 186, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7845, "end": 7846, "loc": { "start": { "line": 186, "column": 25 }, "end": { "line": 186, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7847, "end": 7849, "loc": { "start": { "line": 186, "column": 27 }, "end": { "line": 186, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7850, "end": 7851, "loc": { "start": { "line": 186, "column": 30 }, "end": { "line": 186, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7857, "end": 7866, "loc": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7867, "end": 7868, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7869, "end": 7878, "loc": { "start": { "line": 187, "column": 16 }, "end": { "line": 187, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7879, "end": 7881, "loc": { "start": { "line": 187, "column": 26 }, "end": { "line": 187, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7882, "end": 7886, "loc": { "start": { "line": 187, "column": 29 }, "end": { "line": 187, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7886, "end": 7887, "loc": { "start": { "line": 187, "column": 33 }, "end": { "line": 187, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7887, "end": 7894, "loc": { "start": { "line": 187, "column": 34 }, "end": { "line": 187, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7894, "end": 7895, "loc": { "start": { "line": 187, "column": 41 }, "end": { "line": 187, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7895, "end": 7904, "loc": { "start": { "line": 187, "column": 42 }, "end": { "line": 187, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7904, "end": 7905, "loc": { "start": { "line": 187, "column": 51 }, "end": { "line": 187, "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": 7911, "end": 7915, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7915, "end": 7916, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 7916, "end": 7921, "loc": { "start": { "line": 188, "column": 9 }, "end": { "line": 188, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7921, "end": 7922, "loc": { "start": { "line": 188, "column": 14 }, "end": { "line": 188, "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": 7922, "end": 7926, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7926, "end": 7927, "loc": { "start": { "line": 188, "column": 19 }, "end": { "line": 188, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7927, "end": 7934, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7934, "end": 7935, "loc": { "start": { "line": 188, "column": 27 }, "end": { "line": 188, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 7935, "end": 7944, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7944, "end": 7945, "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7946, "end": 7947, "loc": { "start": { "line": 188, "column": 39 }, "end": { "line": 188, "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": 7948, "end": 7950, "loc": { "start": { "line": 188, "column": 41 }, "end": { "line": 188, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7950, "end": 7951, "loc": { "start": { "line": 188, "column": 43 }, "end": { "line": 188, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 7959, "end": 8014, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 7 } } }, { "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": 8020, "end": 8022, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 193, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8022, "end": 8023, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 193, "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": 8023, "end": 8027, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8027, "end": 8028, "loc": { "start": { "line": 193, "column": 11 }, "end": { "line": 193, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8028, "end": 8035, "loc": { "start": { "line": 193, "column": 12 }, "end": { "line": 193, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8035, "end": 8036, "loc": { "start": { "line": 193, "column": 19 }, "end": { "line": 193, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8036, "end": 8054, "loc": { "start": { "line": 193, "column": 20 }, "end": { "line": 193, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8054, "end": 8055, "loc": { "start": { "line": 193, "column": 38 }, "end": { "line": 193, "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": 8063, "end": 8067, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8067, "end": 8068, "loc": { "start": { "line": 194, "column": 10 }, "end": { "line": 194, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8068, "end": 8086, "loc": { "start": { "line": 194, "column": 11 }, "end": { "line": 194, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8086, "end": 8087, "loc": { "start": { "line": 194, "column": 29 }, "end": { "line": 194, "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": 8087, "end": 8091, "loc": { "start": { "line": 194, "column": 30 }, "end": { "line": 194, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8091, "end": 8092, "loc": { "start": { "line": 194, "column": 34 }, "end": { "line": 194, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8092, "end": 8097, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8097, "end": 8098, "loc": { "start": { "line": 194, "column": 40 }, "end": { "line": 194, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8098, "end": 8099, "loc": { "start": { "line": 194, "column": 41 }, "end": { "line": 194, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8103, "end": 8104, "loc": { "start": { "line": 195, "column": 2 }, "end": { "line": 195, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 8110, "end": 8272, "loc": { "start": { "line": 197, "column": 2 }, "end": { "line": 200, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 8276, "end": 8284, "loc": { "start": { "line": 201, "column": 2 }, "end": { "line": 201, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8285, "end": 8286, "loc": { "start": { "line": 201, "column": 11 }, "end": { "line": 201, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8287, "end": 8288, "loc": { "start": { "line": 201, "column": 13 }, "end": { "line": 201, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8288, "end": 8297, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 23 } } }, { "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": 201, "column": 23 }, "end": { "line": 201, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8299, "end": 8301, "loc": { "start": { "line": 201, "column": 25 }, "end": { "line": 201, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8302, "end": 8303, "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": "inputName", "start": 8309, "end": 8318, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 202, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8319, "end": 8320, "loc": { "start": { "line": 202, "column": 14 }, "end": { "line": 202, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8321, "end": 8330, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8331, "end": 8333, "loc": { "start": { "line": 202, "column": 26 }, "end": { "line": 202, "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": 8334, "end": 8338, "loc": { "start": { "line": 202, "column": 29 }, "end": { "line": 202, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8338, "end": 8339, "loc": { "start": { "line": 202, "column": 33 }, "end": { "line": 202, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8339, "end": 8346, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 41 } } }, { "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": 202, "column": 41 }, "end": { "line": 202, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8347, "end": 8356, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8356, "end": 8357, "loc": { "start": { "line": 202, "column": 51 }, "end": { "line": 202, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8365, "end": 8420, "loc": { "start": { "line": 204, "column": 4 }, "end": { "line": 206, "column": 7 } } }, { "type": { "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": 8426, "end": 8428, "loc": { "start": { "line": 207, "column": 4 }, "end": { "line": 207, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8428, "end": 8429, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "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": 8429, "end": 8433, "loc": { "start": { "line": 207, "column": 7 }, "end": { "line": 207, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8433, "end": 8434, "loc": { "start": { "line": 207, "column": 11 }, "end": { "line": 207, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8434, "end": 8441, "loc": { "start": { "line": 207, "column": 12 }, "end": { "line": 207, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8441, "end": 8442, "loc": { "start": { "line": 207, "column": 19 }, "end": { "line": 207, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8442, "end": 8460, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8460, "end": 8461, "loc": { "start": { "line": 207, "column": 38 }, "end": { "line": 207, "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": 8469, "end": 8473, "loc": { "start": { "line": 208, "column": 6 }, "end": { "line": 208, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8473, "end": 8474, "loc": { "start": { "line": 208, "column": 10 }, "end": { "line": 208, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8474, "end": 8492, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8492, "end": 8493, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "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": 8493, "end": 8497, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8497, "end": 8498, "loc": { "start": { "line": 208, "column": 34 }, "end": { "line": 208, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8498, "end": 8503, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8503, "end": 8504, "loc": { "start": { "line": 208, "column": 40 }, "end": { "line": 208, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8504, "end": 8505, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "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": 8513, "end": 8519, "loc": { "start": { "line": 210, "column": 4 }, "end": { "line": 210, "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": 8520, "end": 8524, "loc": { "start": { "line": 210, "column": 11 }, "end": { "line": 210, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8524, "end": 8525, "loc": { "start": { "line": 210, "column": 15 }, "end": { "line": 210, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8525, "end": 8530, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8530, "end": 8531, "loc": { "start": { "line": 210, "column": 21 }, "end": { "line": 210, "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": 8531, "end": 8535, "loc": { "start": { "line": 210, "column": 22 }, "end": { "line": 210, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8535, "end": 8536, "loc": { "start": { "line": 210, "column": 26 }, "end": { "line": 210, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8536, "end": 8543, "loc": { "start": { "line": 210, "column": 27 }, "end": { "line": 210, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8543, "end": 8544, "loc": { "start": { "line": 210, "column": 34 }, "end": { "line": 210, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8544, "end": 8553, "loc": { "start": { "line": 210, "column": 35 }, "end": { "line": 210, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8553, "end": 8554, "loc": { "start": { "line": 210, "column": 44 }, "end": { "line": 210, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8554, "end": 8555, "loc": { "start": { "line": 210, "column": 45 }, "end": { "line": 210, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8559, "end": 8560, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 211, "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": 8566, "end": 8726, "loc": { "start": { "line": 213, "column": 2 }, "end": { "line": 217, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 8730, "end": 8738, "loc": { "start": { "line": 218, "column": 2 }, "end": { "line": 218, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8739, "end": 8740, "loc": { "start": { "line": 218, "column": 11 }, "end": { "line": 218, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8741, "end": 8742, "loc": { "start": { "line": 218, "column": 13 }, "end": { "line": 218, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8742, "end": 8747, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8747, "end": 8748, "loc": { "start": { "line": 218, "column": 19 }, "end": { "line": 218, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8749, "end": 8758, "loc": { "start": { "line": 218, "column": 21 }, "end": { "line": 218, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8758, "end": 8759, "loc": { "start": { "line": 218, "column": 30 }, "end": { "line": 218, "column": 31 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8760, "end": 8762, "loc": { "start": { "line": 218, "column": 32 }, "end": { "line": 218, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8763, "end": 8764, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 218, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8770, "end": 8779, "loc": { "start": { "line": 219, "column": 4 }, "end": { "line": 219, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8780, "end": 8781, "loc": { "start": { "line": 219, "column": 14 }, "end": { "line": 219, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8782, "end": 8791, "loc": { "start": { "line": 219, "column": 16 }, "end": { "line": 219, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8792, "end": 8794, "loc": { "start": { "line": 219, "column": 26 }, "end": { "line": 219, "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": 8795, "end": 8799, "loc": { "start": { "line": 219, "column": 29 }, "end": { "line": 219, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8799, "end": 8800, "loc": { "start": { "line": 219, "column": 33 }, "end": { "line": 219, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8800, "end": 8807, "loc": { "start": { "line": 219, "column": 34 }, "end": { "line": 219, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8807, "end": 8808, "loc": { "start": { "line": 219, "column": 41 }, "end": { "line": 219, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8808, "end": 8817, "loc": { "start": { "line": 219, "column": 42 }, "end": { "line": 219, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8817, "end": 8818, "loc": { "start": { "line": 219, "column": 51 }, "end": { "line": 219, "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": 8824, "end": 8828, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8828, "end": 8829, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8829, "end": 8834, "loc": { "start": { "line": 220, "column": 9 }, "end": { "line": 220, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8834, "end": 8835, "loc": { "start": { "line": 220, "column": 14 }, "end": { "line": 220, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8835, "end": 8844, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8844, "end": 8845, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8846, "end": 8847, "loc": { "start": { "line": 220, "column": 26 }, "end": { "line": 220, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8848, "end": 8853, "loc": { "start": { "line": 220, "column": 28 }, "end": { "line": 220, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8853, "end": 8854, "loc": { "start": { "line": 220, "column": 33 }, "end": { "line": 220, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8862, "end": 8917, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 7 } } }, { "type": { "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": 8923, "end": 8925, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8925, "end": 8926, "loc": { "start": { "line": 225, "column": 6 }, "end": { "line": 225, "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": 8926, "end": 8930, "loc": { "start": { "line": 225, "column": 7 }, "end": { "line": 225, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8930, "end": 8931, "loc": { "start": { "line": 225, "column": 11 }, "end": { "line": 225, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8931, "end": 8938, "loc": { "start": { "line": 225, "column": 12 }, "end": { "line": 225, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8938, "end": 8939, "loc": { "start": { "line": 225, "column": 19 }, "end": { "line": 225, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8939, "end": 8957, "loc": { "start": { "line": 225, "column": 20 }, "end": { "line": 225, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8957, "end": 8958, "loc": { "start": { "line": 225, "column": 38 }, "end": { "line": 225, "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": 8966, "end": 8970, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8970, "end": 8971, "loc": { "start": { "line": 226, "column": 10 }, "end": { "line": 226, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8971, "end": 8989, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8989, "end": 8990, "loc": { "start": { "line": 226, "column": 29 }, "end": { "line": 226, "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": 8990, "end": 8994, "loc": { "start": { "line": 226, "column": 30 }, "end": { "line": 226, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8994, "end": 8995, "loc": { "start": { "line": 226, "column": 34 }, "end": { "line": 226, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8995, "end": 9000, "loc": { "start": { "line": 226, "column": 35 }, "end": { "line": 226, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9000, "end": 9001, "loc": { "start": { "line": 226, "column": 40 }, "end": { "line": 226, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9001, "end": 9002, "loc": { "start": { "line": 226, "column": 41 }, "end": { "line": 226, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9006, "end": 9007, "loc": { "start": { "line": 227, "column": 2 }, "end": { "line": 227, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 9015, "end": 9124, "loc": { "start": { "line": 229, "column": 2 }, "end": { "line": 232, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 9128, "end": 9140, "loc": { "start": { "line": 233, "column": 2 }, "end": { "line": 233, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9141, "end": 9142, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9143, "end": 9144, "loc": { "start": { "line": 233, "column": 17 }, "end": { "line": 233, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 9144, "end": 9152, "loc": { "start": { "line": 233, "column": 18 }, "end": { "line": 233, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9152, "end": 9153, "loc": { "start": { "line": 233, "column": 26 }, "end": { "line": 233, "column": 27 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9154, "end": 9156, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9157, "end": 9158, "loc": { "start": { "line": 233, "column": 31 }, "end": { "line": 233, "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": 9164, "end": 9168, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9168, "end": 9169, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 9169, "end": 9174, "loc": { "start": { "line": 234, "column": 9 }, "end": { "line": 234, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9175, "end": 9176, "loc": { "start": { "line": 234, "column": 15 }, "end": { "line": 234, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 9177, "end": 9185, "loc": { "start": { "line": 234, "column": 17 }, "end": { "line": 234, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9185, "end": 9186, "loc": { "start": { "line": 234, "column": 25 }, "end": { "line": 234, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9190, "end": 9191, "loc": { "start": { "line": 235, "column": 2 }, "end": { "line": 235, "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": 9197, "end": 9323, "loc": { "start": { "line": 237, "column": 2 }, "end": { "line": 240, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setOptions", "start": 9327, "end": 9337, "loc": { "start": { "line": 241, "column": 2 }, "end": { "line": 241, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9338, "end": 9339, "loc": { "start": { "line": 241, "column": 13 }, "end": { "line": 241, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9340, "end": 9346, "loc": { "start": { "line": 241, "column": 15 }, "end": { "line": 241, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9347, "end": 9349, "loc": { "start": { "line": 241, "column": 22 }, "end": { "line": 241, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9350, "end": 9351, "loc": { "start": { "line": 241, "column": 25 }, "end": { "line": 241, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9357, "end": 9363, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9364, "end": 9365, "loc": { "start": { "line": 242, "column": 11 }, "end": { "line": 242, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9366, "end": 9372, "loc": { "start": { "line": 242, "column": 13 }, "end": { "line": 242, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9373, "end": 9375, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9376, "end": 9377, "loc": { "start": { "line": 242, "column": 23 }, "end": { "line": 242, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9377, "end": 9378, "loc": { "start": { "line": 242, "column": 24 }, "end": { "line": 242, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9378, "end": 9379, "loc": { "start": { "line": 242, "column": 25 }, "end": { "line": 242, "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": 9385, "end": 9389, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9389, "end": 9390, "loc": { "start": { "line": 243, "column": 8 }, "end": { "line": 243, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9390, "end": 9397, "loc": { "start": { "line": 243, "column": 9 }, "end": { "line": 243, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9398, "end": 9399, "loc": { "start": { "line": 243, "column": 17 }, "end": { "line": 243, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 9400, "end": 9406, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9406, "end": 9407, "loc": { "start": { "line": 243, "column": 25 }, "end": { "line": 243, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 9407, "end": 9413, "loc": { "start": { "line": 243, "column": 26 }, "end": { "line": 243, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9413, "end": 9414, "loc": { "start": { "line": 243, "column": 32 }, "end": { "line": 243, "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": 9414, "end": 9418, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 37 } } }, { "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": 243, "column": 37 }, "end": { "line": 243, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9419, "end": 9426, "loc": { "start": { "line": 243, "column": 38 }, "end": { "line": 243, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9426, "end": 9427, "loc": { "start": { "line": 243, "column": 45 }, "end": { "line": 243, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 9428, "end": 9434, "loc": { "start": { "line": 243, "column": 47 }, "end": { "line": 243, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9434, "end": 9435, "loc": { "start": { "line": 243, "column": 53 }, "end": { "line": 243, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9435, "end": 9436, "loc": { "start": { "line": 243, "column": 54 }, "end": { "line": 243, "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": 9442, "end": 9446, "loc": { "start": { "line": 244, "column": 4 }, "end": { "line": 244, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9446, "end": 9447, "loc": { "start": { "line": 244, "column": 8 }, "end": { "line": 244, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 9447, "end": 9453, "loc": { "start": { "line": 244, "column": 9 }, "end": { "line": 244, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9453, "end": 9454, "loc": { "start": { "line": 244, "column": 15 }, "end": { "line": 244, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9454, "end": 9455, "loc": { "start": { "line": 244, "column": 16 }, "end": { "line": 244, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9455, "end": 9456, "loc": { "start": { "line": 244, "column": 17 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9460, "end": 9461, "loc": { "start": { "line": 245, "column": 2 }, "end": { "line": 245, "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": 9467, "end": 9576, "loc": { "start": { "line": 247, "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": "clear", "start": 9580, "end": 9585, "loc": { "start": { "line": 251, "column": 2 }, "end": { "line": 251, "column": 7 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9586, "end": 9587, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9588, "end": 9589, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9589, "end": 9590, "loc": { "start": { "line": 251, "column": 11 }, "end": { "line": 251, "column": 12 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9591, "end": 9593, "loc": { "start": { "line": 251, "column": 13 }, "end": { "line": 251, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9594, "end": 9595, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "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": 9601, "end": 9605, "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": 9605, "end": 9606, "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": "keyboardDOM", "start": 9606, "end": 9617, "loc": { "start": { "line": 252, "column": 9 }, "end": { "line": 252, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9617, "end": 9618, "loc": { "start": { "line": 252, "column": 20 }, "end": { "line": 252, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 9618, "end": 9627, "loc": { "start": { "line": 252, "column": 21 }, "end": { "line": 252, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9628, "end": 9629, "loc": { "start": { "line": 252, "column": 31 }, "end": { "line": 252, "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": 9630, "end": 9632, "loc": { "start": { "line": 252, "column": 33 }, "end": { "line": 252, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9632, "end": 9633, "loc": { "start": { "line": 252, "column": 35 }, "end": { "line": 252, "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": 9639, "end": 9643, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9643, "end": 9644, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 9644, "end": 9655, "loc": { "start": { "line": 253, "column": 9 }, "end": { "line": 253, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9655, "end": 9656, "loc": { "start": { "line": 253, "column": 20 }, "end": { "line": 253, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 9656, "end": 9665, "loc": { "start": { "line": 253, "column": 21 }, "end": { "line": 253, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9666, "end": 9667, "loc": { "start": { "line": 253, "column": 31 }, "end": { "line": 253, "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": 9668, "end": 9672, "loc": { "start": { "line": 253, "column": 33 }, "end": { "line": 253, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9672, "end": 9673, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 9673, "end": 9689, "loc": { "start": { "line": 253, "column": 38 }, "end": { "line": 253, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9689, "end": 9690, "loc": { "start": { "line": 253, "column": 54 }, "end": { "line": 253, "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": 9696, "end": 9700, "loc": { "start": { "line": 254, "column": 4 }, "end": { "line": 254, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9700, "end": 9701, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 9701, "end": 9715, "loc": { "start": { "line": 254, "column": 9 }, "end": { "line": 254, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9716, "end": 9717, "loc": { "start": { "line": 254, "column": 24 }, "end": { "line": 254, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9718, "end": 9719, "loc": { "start": { "line": 254, "column": 26 }, "end": { "line": 254, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9719, "end": 9720, "loc": { "start": { "line": 254, "column": 27 }, "end": { "line": 254, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9720, "end": 9721, "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9725, "end": 9726, "loc": { "start": { "line": 255, "column": 2 }, "end": { "line": 255, "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": 9732, "end": 9937, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 260, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 9941, "end": 9949, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9950, "end": 9951, "loc": { "start": { "line": 261, "column": 11 }, "end": { "line": 261, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9952, "end": 9953, "loc": { "start": { "line": 261, "column": 13 }, "end": { "line": 261, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 9953, "end": 9961, "loc": { "start": { "line": 261, "column": 14 }, "end": { "line": 261, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9961, "end": 9962, "loc": { "start": { "line": 261, "column": 22 }, "end": { "line": 261, "column": 23 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9963, "end": 9965, "loc": { "start": { "line": 261, "column": 24 }, "end": { "line": 261, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9966, "end": 9967, "loc": { "start": { "line": 261, "column": 27 }, "end": { "line": 261, "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": 9973, "end": 9975, "loc": { "start": { "line": 262, "column": 4 }, "end": { "line": 262, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9975, "end": 9976, "loc": { "start": { "line": 262, "column": 6 }, "end": { "line": 262, "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": 9976, "end": 9977, "loc": { "start": { "line": 262, "column": 7 }, "end": { "line": 262, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 9977, "end": 9983, "loc": { "start": { "line": 262, "column": 8 }, "end": { "line": 262, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9983, "end": 9984, "loc": { "start": { "line": 262, "column": 14 }, "end": { "line": 262, "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": 9984, "end": 10009, "loc": { "start": { "line": 262, "column": 15 }, "end": { "line": 262, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10009, "end": 10010, "loc": { "start": { "line": 262, "column": 40 }, "end": { "line": 262, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10010, "end": 10011, "loc": { "start": { "line": 262, "column": 41 }, "end": { "line": 262, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10011, "end": 10012, "loc": { "start": { "line": 262, "column": 42 }, "end": { "line": 262, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 10020, "end": 10027, "loc": { "start": { "line": 263, "column": 6 }, "end": { "line": 263, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10027, "end": 10028, "loc": { "start": { "line": 263, "column": 13 }, "end": { "line": 263, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 10028, "end": 10032, "loc": { "start": { "line": 263, "column": 14 }, "end": { "line": 263, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10032, "end": 10033, "loc": { "start": { "line": 263, "column": 18 }, "end": { "line": 263, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10033, "end": 10034, "loc": { "start": { "line": 263, "column": 19 }, "end": { "line": 263, "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": 10034, "end": 10100, "loc": { "start": { "line": 263, "column": 20 }, "end": { "line": 263, "column": 86 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10100, "end": 10101, "loc": { "start": { "line": 263, "column": 86 }, "end": { "line": 263, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10101, "end": 10102, "loc": { "start": { "line": 263, "column": 87 }, "end": { "line": 263, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10102, "end": 10103, "loc": { "start": { "line": 263, "column": 88 }, "end": { "line": 263, "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": 10111, "end": 10116, "loc": { "start": { "line": 264, "column": 6 }, "end": { "line": 264, "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": 10117, "end": 10120, "loc": { "start": { "line": 264, "column": 12 }, "end": { "line": 264, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 10121, "end": 10126, "loc": { "start": { "line": 264, "column": 16 }, "end": { "line": 264, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10126, "end": 10127, "loc": { "start": { "line": 264, "column": 21 }, "end": { "line": 264, "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": 10127, "end": 10148, "loc": { "start": { "line": 264, "column": 22 }, "end": { "line": 264, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10148, "end": 10149, "loc": { "start": { "line": 264, "column": 43 }, "end": { "line": 264, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10149, "end": 10150, "loc": { "start": { "line": 264, "column": 44 }, "end": { "line": 264, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10156, "end": 10157, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "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": 10169, "end": 10175, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 10176, "end": 10182, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10182, "end": 10183, "loc": { "start": { "line": 267, "column": 17 }, "end": { "line": 267, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 10183, "end": 10187, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10187, "end": 10188, "loc": { "start": { "line": 267, "column": 22 }, "end": { "line": 267, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 10188, "end": 10194, "loc": { "start": { "line": 267, "column": 23 }, "end": { "line": 267, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10194, "end": 10195, "loc": { "start": { "line": 267, "column": 29 }, "end": { "line": 267, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 10195, "end": 10220, "loc": { "start": { "line": 267, "column": 30 }, "end": { "line": 267, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10220, "end": 10221, "loc": { "start": { "line": 267, "column": 55 }, "end": { "line": 267, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10221, "end": 10222, "loc": { "start": { "line": 267, "column": 56 }, "end": { "line": 267, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10222, "end": 10223, "loc": { "start": { "line": 267, "column": 57 }, "end": { "line": 267, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 10223, "end": 10230, "loc": { "start": { "line": 267, "column": 58 }, "end": { "line": 267, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10230, "end": 10231, "loc": { "start": { "line": 267, "column": 65 }, "end": { "line": 267, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10231, "end": 10232, "loc": { "start": { "line": 267, "column": 66 }, "end": { "line": 267, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 10232, "end": 10235, "loc": { "start": { "line": 267, "column": 67 }, "end": { "line": 267, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10235, "end": 10236, "loc": { "start": { "line": 267, "column": 70 }, "end": { "line": 267, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10237, "end": 10239, "loc": { "start": { "line": 267, "column": 72 }, "end": { "line": 267, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10240, "end": 10241, "loc": { "start": { "line": 267, "column": 75 }, "end": { "line": 267, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 10249, "end": 10257, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10257, "end": 10258, "loc": { "start": { "line": 268, "column": 14 }, "end": { "line": 268, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 10258, "end": 10264, "loc": { "start": { "line": 268, "column": 15 }, "end": { "line": 268, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10264, "end": 10265, "loc": { "start": { "line": 268, "column": 21 }, "end": { "line": 268, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 10265, "end": 10290, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10290, "end": 10291, "loc": { "start": { "line": 268, "column": 47 }, "end": { "line": 268, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10291, "end": 10292, "loc": { "start": { "line": 268, "column": 48 }, "end": { "line": 268, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 10292, "end": 10295, "loc": { "start": { "line": 268, "column": 49 }, "end": { "line": 268, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10295, "end": 10296, "loc": { "start": { "line": 268, "column": 52 }, "end": { "line": 268, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10296, "end": 10297, "loc": { "start": { "line": 268, "column": 53 }, "end": { "line": 268, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 10298, "end": 10301, "loc": { "start": { "line": 268, "column": 55 }, "end": { "line": 268, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10301, "end": 10302, "loc": { "start": { "line": 268, "column": 58 }, "end": { "line": 268, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10302, "end": 10303, "loc": { "start": { "line": 268, "column": 59 }, "end": { "line": 268, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10309, "end": 10310, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 269, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10310, "end": 10311, "loc": { "start": { "line": 269, "column": 5 }, "end": { "line": 269, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10315, "end": 10316, "loc": { "start": { "line": 270, "column": 2 }, "end": { "line": 270, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 10322, "end": 10603, "loc": { "start": { "line": 272, "column": 2 }, "end": { "line": 276, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 10607, "end": 10621, "loc": { "start": { "line": 277, "column": 2 }, "end": { "line": 277, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10622, "end": 10623, "loc": { "start": { "line": 277, "column": 17 }, "end": { "line": 277, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10624, "end": 10625, "loc": { "start": { "line": 277, "column": 19 }, "end": { "line": 277, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10625, "end": 10632, "loc": { "start": { "line": 277, "column": 20 }, "end": { "line": 277, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10632, "end": 10633, "loc": { "start": { "line": 277, "column": 27 }, "end": { "line": 277, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10634, "end": 10643, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10643, "end": 10644, "loc": { "start": { "line": 277, "column": 38 }, "end": { "line": 277, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10645, "end": 10647, "loc": { "start": { "line": 277, "column": 40 }, "end": { "line": 277, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10648, "end": 10649, "loc": { "start": { "line": 277, "column": 43 }, "end": { "line": 277, "column": 44 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10655, "end": 10657, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10657, "end": 10658, "loc": { "start": { "line": 278, "column": 6 }, "end": { "line": 278, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10658, "end": 10659, "loc": { "start": { "line": 278, "column": 7 }, "end": { "line": 278, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10659, "end": 10668, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 10669, "end": 10671, "loc": { "start": { "line": 278, "column": 18 }, "end": { "line": 278, "column": 20 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10672, "end": 10673, "loc": { "start": { "line": 278, "column": 21 }, "end": { "line": 278, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10673, "end": 10680, "loc": { "start": { "line": 278, "column": 22 }, "end": { "line": 278, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10680, "end": 10681, "loc": { "start": { "line": 278, "column": 29 }, "end": { "line": 278, "column": 30 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 10689, "end": 10695, "loc": { "start": { "line": 279, "column": 6 }, "end": { "line": 279, "column": 12 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 10696, "end": 10701, "loc": { "start": { "line": 279, "column": 13 }, "end": { "line": 279, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10701, "end": 10702, "loc": { "start": { "line": 279, "column": 18 }, "end": { "line": 279, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 10710, "end": 10717, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10717, "end": 10718, "loc": { "start": { "line": 281, "column": 11 }, "end": { "line": 281, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 10718, "end": 10723, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10723, "end": 10724, "loc": { "start": { "line": 281, "column": 17 }, "end": { "line": 281, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 10724, "end": 10727, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10727, "end": 10728, "loc": { "start": { "line": 281, "column": 21 }, "end": { "line": 281, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10728, "end": 10729, "loc": { "start": { "line": 281, "column": 22 }, "end": { "line": 281, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 10729, "end": 10736, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10736, "end": 10737, "loc": { "start": { "line": 281, "column": 30 }, "end": { "line": 281, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10737, "end": 10743, "loc": { "start": { "line": 281, "column": 31 }, "end": { "line": 281, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10744, "end": 10746, "loc": { "start": { "line": 281, "column": 38 }, "end": { "line": 281, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10747, "end": 10748, "loc": { "start": { "line": 281, "column": 41 }, "end": { "line": 281, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 10756, "end": 10765, "loc": { "start": { "line": 282, "column": 6 }, "end": { "line": 282, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10765, "end": 10766, "loc": { "start": { "line": 282, "column": 15 }, "end": { "line": 282, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 10766, "end": 10771, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10771, "end": 10772, "loc": { "start": { "line": 282, "column": 21 }, "end": { "line": 282, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 10772, "end": 10775, "loc": { "start": { "line": 282, "column": 22 }, "end": { "line": 282, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10775, "end": 10776, "loc": { "start": { "line": 282, "column": 25 }, "end": { "line": 282, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10776, "end": 10777, "loc": { "start": { "line": 282, "column": 26 }, "end": { "line": 282, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 10777, "end": 10784, "loc": { "start": { "line": 282, "column": 27 }, "end": { "line": 282, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10784, "end": 10785, "loc": { "start": { "line": 282, "column": 34 }, "end": { "line": 282, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 10785, "end": 10798, "loc": { "start": { "line": 282, "column": 35 }, "end": { "line": 282, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10799, "end": 10801, "loc": { "start": { "line": 282, "column": 49 }, "end": { "line": 282, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10802, "end": 10803, "loc": { "start": { "line": 282, "column": 52 }, "end": { "line": 282, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10813, "end": 10815, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10815, "end": 10816, "loc": { "start": { "line": 283, "column": 10 }, "end": { "line": 283, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10816, "end": 10817, "loc": { "start": { "line": 283, "column": 11 }, "end": { "line": 283, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10817, "end": 10821, "loc": { "start": { "line": 283, "column": 12 }, "end": { "line": 283, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10821, "end": 10822, "loc": { "start": { "line": 283, "column": 16 }, "end": { "line": 283, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10822, "end": 10829, "loc": { "start": { "line": 283, "column": 17 }, "end": { "line": 283, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10829, "end": 10830, "loc": { "start": { "line": 283, "column": 24 }, "end": { "line": 283, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 10830, "end": 10841, "loc": { "start": { "line": 283, "column": 25 }, "end": { "line": 283, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10841, "end": 10842, "loc": { "start": { "line": 283, "column": 36 }, "end": { "line": 283, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10854, "end": 10858, "loc": { "start": { "line": 284, "column": 10 }, "end": { "line": 284, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10858, "end": 10859, "loc": { "start": { "line": 284, "column": 14 }, "end": { "line": 284, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10859, "end": 10866, "loc": { "start": { "line": 284, "column": 15 }, "end": { "line": 284, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10866, "end": 10867, "loc": { "start": { "line": 284, "column": 22 }, "end": { "line": 284, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 10867, "end": 10878, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10879, "end": 10880, "loc": { "start": { "line": 284, "column": 35 }, "end": { "line": 284, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10881, "end": 10882, "loc": { "start": { "line": 284, "column": 37 }, "end": { "line": 284, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10882, "end": 10883, "loc": { "start": { "line": 284, "column": 38 }, "end": { "line": 284, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10883, "end": 10884, "loc": { "start": { "line": 284, "column": 39 }, "end": { "line": 284, "column": 40 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 10896, "end": 10899, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 10900, "end": 10914, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10915, "end": 10916, "loc": { "start": { "line": 286, "column": 27 }, "end": { "line": 286, "column": 28 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 10917, "end": 10922, "loc": { "start": { "line": 286, "column": 29 }, "end": { "line": 286, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10922, "end": 10923, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 10937, "end": 11028, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 290, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11038, "end": 11042, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11042, "end": 11043, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11043, "end": 11050, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11050, "end": 11051, "loc": { "start": { "line": 291, "column": 20 }, "end": { "line": 291, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11051, "end": 11062, "loc": { "start": { "line": 291, "column": 21 }, "end": { "line": 291, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11062, "end": 11063, "loc": { "start": { "line": 291, "column": 32 }, "end": { "line": 291, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 11063, "end": 11066, "loc": { "start": { "line": 291, "column": 33 }, "end": { "line": 291, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11066, "end": 11067, "loc": { "start": { "line": 291, "column": 36 }, "end": { "line": 291, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11067, "end": 11078, "loc": { "start": { "line": 291, "column": 37 }, "end": { "line": 291, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11079, "end": 11081, "loc": { "start": { "line": 291, "column": 49 }, "end": { "line": 291, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11082, "end": 11083, "loc": { "start": { "line": 291, "column": 52 }, "end": { "line": 291, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11097, "end": 11099, "loc": { "start": { "line": 293, "column": 10 }, "end": { "line": 293, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11099, "end": 11100, "loc": { "start": { "line": 293, "column": 12 }, "end": { "line": 293, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11100, "end": 11111, "loc": { "start": { "line": 293, "column": 13 }, "end": { "line": 293, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11111, "end": 11112, "loc": { "start": { "line": 293, "column": 24 }, "end": { "line": 293, "column": 25 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 11112, "end": 11117, "loc": { "start": { "line": 293, "column": 25 }, "end": { "line": 293, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11117, "end": 11118, "loc": { "start": { "line": 293, "column": 30 }, "end": { "line": 293, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 11118, "end": 11123, "loc": { "start": { "line": 293, "column": 31 }, "end": { "line": 293, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11123, "end": 11124, "loc": { "start": { "line": 293, "column": 36 }, "end": { "line": 293, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 11124, "end": 11127, "loc": { "start": { "line": 293, "column": 37 }, "end": { "line": 293, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11127, "end": 11128, "loc": { "start": { "line": 293, "column": 40 }, "end": { "line": 293, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11128, "end": 11129, "loc": { "start": { "line": 293, "column": 41 }, "end": { "line": 293, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 11129, "end": 11137, "loc": { "start": { "line": 293, "column": 42 }, "end": { "line": 293, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11137, "end": 11138, "loc": { "start": { "line": 293, "column": 50 }, "end": { "line": 293, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 11138, "end": 11151, "loc": { "start": { "line": 293, "column": 51 }, "end": { "line": 293, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11151, "end": 11152, "loc": { "start": { "line": 293, "column": 64 }, "end": { "line": 293, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11152, "end": 11153, "loc": { "start": { "line": 293, "column": 65 }, "end": { "line": 293, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11153, "end": 11154, "loc": { "start": { "line": 293, "column": 66 }, "end": { "line": 293, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 11168, "end": 11182, "loc": { "start": { "line": 294, "column": 12 }, "end": { "line": 294, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11183, "end": 11184, "loc": { "start": { "line": 294, "column": 27 }, "end": { "line": 294, "column": 28 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 11185, "end": 11189, "loc": { "start": { "line": 294, "column": 29 }, "end": { "line": 294, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11189, "end": 11190, "loc": { "start": { "line": 294, "column": 33 }, "end": { "line": 294, "column": 34 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 11218, "end": 11221, "loc": { "start": { "line": 296, "column": 12 }, "end": { "line": 296, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11222, "end": 11238, "loc": { "start": { "line": 296, "column": 16 }, "end": { "line": 296, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11239, "end": 11240, "loc": { "start": { "line": 296, "column": 33 }, "end": { "line": 296, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11241, "end": 11252, "loc": { "start": { "line": 296, "column": 35 }, "end": { "line": 296, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11252, "end": 11253, "loc": { "start": { "line": 296, "column": 46 }, "end": { "line": 296, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11253, "end": 11260, "loc": { "start": { "line": 296, "column": 47 }, "end": { "line": 296, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11260, "end": 11261, "loc": { "start": { "line": 296, "column": 54 }, "end": { "line": 296, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 11261, "end": 11266, "loc": { "start": { "line": 296, "column": 55 }, "end": { "line": 296, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11266, "end": 11267, "loc": { "start": { "line": 296, "column": 60 }, "end": { "line": 296, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 11267, "end": 11270, "loc": { "start": { "line": 296, "column": 61 }, "end": { "line": 296, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11270, "end": 11271, "loc": { "start": { "line": 296, "column": 64 }, "end": { "line": 296, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11271, "end": 11272, "loc": { "start": { "line": 296, "column": 65 }, "end": { "line": 296, "column": 66 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11286, "end": 11288, "loc": { "start": { "line": 297, "column": 12 }, "end": { "line": 297, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11288, "end": 11289, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "column": 15 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 11289, "end": 11290, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11290, "end": 11306, "loc": { "start": { "line": 297, "column": 16 }, "end": { "line": 297, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11306, "end": 11307, "loc": { "start": { "line": 297, "column": 32 }, "end": { "line": 297, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 11307, "end": 11315, "loc": { "start": { "line": 297, "column": 33 }, "end": { "line": 297, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11315, "end": 11316, "loc": { "start": { "line": 297, "column": 41 }, "end": { "line": 297, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 11316, "end": 11322, "loc": { "start": { "line": 297, "column": 42 }, "end": { "line": 297, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11322, "end": 11323, "loc": { "start": { "line": 297, "column": 48 }, "end": { "line": 297, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11323, "end": 11324, "loc": { "start": { "line": 297, "column": 49 }, "end": { "line": 297, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11324, "end": 11325, "loc": { "start": { "line": 297, "column": 50 }, "end": { "line": 297, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 11341, "end": 11355, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11356, "end": 11357, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 11358, "end": 11362, "loc": { "start": { "line": 298, "column": 31 }, "end": { "line": 298, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11362, "end": 11363, "loc": { "start": { "line": 298, "column": 35 }, "end": { "line": 298, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11379, "end": 11395, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11395, "end": 11396, "loc": { "start": { "line": 299, "column": 30 }, "end": { "line": 299, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 11396, "end": 11400, "loc": { "start": { "line": 299, "column": 31 }, "end": { "line": 299, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11400, "end": 11401, "loc": { "start": { "line": 299, "column": 35 }, "end": { "line": 299, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 11401, "end": 11407, "loc": { "start": { "line": 299, "column": 36 }, "end": { "line": 299, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11407, "end": 11408, "loc": { "start": { "line": 299, "column": 42 }, "end": { "line": 299, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11408, "end": 11409, "loc": { "start": { "line": 299, "column": 43 }, "end": { "line": 299, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11425, "end": 11436, "loc": { "start": { "line": 300, "column": 14 }, "end": { "line": 300, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11436, "end": 11437, "loc": { "start": { "line": 300, "column": 25 }, "end": { "line": 300, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11437, "end": 11444, "loc": { "start": { "line": 300, "column": 26 }, "end": { "line": 300, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11445, "end": 11446, "loc": { "start": { "line": 300, "column": 34 }, "end": { "line": 300, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 11447, "end": 11463, "loc": { "start": { "line": 300, "column": 36 }, "end": { "line": 300, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11463, "end": 11464, "loc": { "start": { "line": 300, "column": 52 }, "end": { "line": 300, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 11464, "end": 11468, "loc": { "start": { "line": 300, "column": 53 }, "end": { "line": 300, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11468, "end": 11469, "loc": { "start": { "line": 300, "column": 57 }, "end": { "line": 300, "column": 58 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 11469, "end": 11472, "loc": { "start": { "line": 300, "column": 58 }, "end": { "line": 300, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11472, "end": 11473, "loc": { "start": { "line": 300, "column": 61 }, "end": { "line": 300, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11473, "end": 11474, "loc": { "start": { "line": 300, "column": 62 }, "end": { "line": 300, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11488, "end": 11489, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11501, "end": 11502, "loc": { "start": { "line": 302, "column": 10 }, "end": { "line": 302, "column": 11 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 11514, "end": 11520, "loc": { "start": { "line": 303, "column": 10 }, "end": { "line": 303, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11521, "end": 11532, "loc": { "start": { "line": 303, "column": 17 }, "end": { "line": 303, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11532, "end": 11533, "loc": { "start": { "line": 303, "column": 28 }, "end": { "line": 303, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11543, "end": 11544, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11544, "end": 11545, "loc": { "start": { "line": 304, "column": 9 }, "end": { "line": 304, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11545, "end": 11546, "loc": { "start": { "line": 304, "column": 10 }, "end": { "line": 304, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 11558, "end": 11633, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 308, "column": 11 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 11643, "end": 11645, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11645, "end": 11646, "loc": { "start": { "line": 309, "column": 10 }, "end": { "line": 309, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 11646, "end": 11647, "loc": { "start": { "line": 309, "column": 11 }, "end": { "line": 309, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 11647, "end": 11661, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11661, "end": 11662, "loc": { "start": { "line": 309, "column": 26 }, "end": { "line": 309, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11662, "end": 11663, "loc": { "start": { "line": 309, "column": 27 }, "end": { "line": 309, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11675, "end": 11679, "loc": { "start": { "line": 310, "column": 10 }, "end": { "line": 310, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11679, "end": 11680, "loc": { "start": { "line": 310, "column": 14 }, "end": { "line": 310, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11680, "end": 11687, "loc": { "start": { "line": 310, "column": 15 }, "end": { "line": 310, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11687, "end": 11688, "loc": { "start": { "line": 310, "column": 22 }, "end": { "line": 310, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 11688, "end": 11699, "loc": { "start": { "line": 310, "column": 23 }, "end": { "line": 310, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11699, "end": 11700, "loc": { "start": { "line": 310, "column": 34 }, "end": { "line": 310, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 11700, "end": 11704, "loc": { "start": { "line": 310, "column": 35 }, "end": { "line": 310, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11704, "end": 11705, "loc": { "start": { "line": 310, "column": 39 }, "end": { "line": 310, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11705, "end": 11706, "loc": { "start": { "line": 310, "column": 40 }, "end": { "line": 310, "column": 41 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 11720, "end": 11725, "loc": { "start": { "line": 311, "column": 12 }, "end": { "line": 311, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11725, "end": 11726, "loc": { "start": { "line": 311, "column": 17 }, "end": { "line": 311, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 11727, "end": 11740, "loc": { "start": { "line": 311, "column": 19 }, "end": { "line": 311, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11740, "end": 11741, "loc": { "start": { "line": 311, "column": 32 }, "end": { "line": 311, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11755, "end": 11762, "loc": { "start": { "line": 312, "column": 12 }, "end": { "line": 312, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11762, "end": 11763, "loc": { "start": { "line": 312, "column": 19 }, "end": { "line": 312, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 11764, "end": 11771, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11783, "end": 11784, "loc": { "start": { "line": 313, "column": 10 }, "end": { "line": 313, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11784, "end": 11785, "loc": { "start": { "line": 313, "column": 11 }, "end": { "line": 313, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11785, "end": 11786, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11796, "end": 11797, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11807, "end": 11808, "loc": { "start": { "line": 316, "column": 6 }, "end": { "line": 316, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11808, "end": 11809, "loc": { "start": { "line": 316, "column": 7 }, "end": { "line": 316, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11809, "end": 11810, "loc": { "start": { "line": 316, "column": 8 }, "end": { "line": 316, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11816, "end": 11817, "loc": { "start": { "line": 317, "column": 4 }, "end": { "line": 317, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11817, "end": 11818, "loc": { "start": { "line": 317, "column": 5 }, "end": { "line": 317, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11818, "end": 11819, "loc": { "start": { "line": 317, "column": 6 }, "end": { "line": 317, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11827, "end": 11831, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11831, "end": 11832, "loc": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 11832, "end": 11838, "loc": { "start": { "line": 319, "column": 9 }, "end": { "line": 319, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11838, "end": 11839, "loc": { "start": { "line": 319, "column": 15 }, "end": { "line": 319, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11839, "end": 11840, "loc": { "start": { "line": 319, "column": 16 }, "end": { "line": 319, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11840, "end": 11841, "loc": { "start": { "line": 319, "column": 17 }, "end": { "line": 319, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11845, "end": 11846, "loc": { "start": { "line": 320, "column": 2 }, "end": { "line": 320, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 11852, "end": 12192, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 326, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 12196, "end": 12213, "loc": { "start": { "line": 327, "column": 2 }, "end": { "line": 327, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12214, "end": 12215, "loc": { "start": { "line": 327, "column": 20 }, "end": { "line": 327, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12216, "end": 12217, "loc": { "start": { "line": 327, "column": 22 }, "end": { "line": 327, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12217, "end": 12224, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12224, "end": 12225, "loc": { "start": { "line": 327, "column": 30 }, "end": { "line": 327, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12226, "end": 12235, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12235, "end": 12236, "loc": { "start": { "line": 327, "column": 41 }, "end": { "line": 327, "column": 42 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12237, "end": 12239, "loc": { "start": { "line": 327, "column": 43 }, "end": { "line": 327, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12240, "end": 12241, "loc": { "start": { "line": 327, "column": 46 }, "end": { "line": 327, "column": 47 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 12247, "end": 12327, "loc": { "start": { "line": 328, "column": 4 }, "end": { "line": 330, "column": 7 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 12333, "end": 12335, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12335, "end": 12336, "loc": { "start": { "line": 331, "column": 6 }, "end": { "line": 331, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12336, "end": 12337, "loc": { "start": { "line": 331, "column": 7 }, "end": { "line": 331, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12337, "end": 12344, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12345, "end": 12347, "loc": { "start": { "line": 331, "column": 16 }, "end": { "line": 331, "column": 18 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12348, "end": 12349, "loc": { "start": { "line": 331, "column": 19 }, "end": { "line": 331, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12349, "end": 12358, "loc": { "start": { "line": 331, "column": 20 }, "end": { "line": 331, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12358, "end": 12359, "loc": { "start": { "line": 331, "column": 29 }, "end": { "line": 331, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12359, "end": 12360, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 331, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12368, "end": 12372, "loc": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12372, "end": 12373, "loc": { "start": { "line": 332, "column": 10 }, "end": { "line": 332, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12373, "end": 12380, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12380, "end": 12381, "loc": { "start": { "line": 332, "column": 18 }, "end": { "line": 332, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12381, "end": 12392, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12393, "end": 12394, "loc": { "start": { "line": 332, "column": 31 }, "end": { "line": 332, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12395, "end": 12396, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12396, "end": 12397, "loc": { "start": { "line": 332, "column": 34 }, "end": { "line": 332, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12397, "end": 12398, "loc": { "start": { "line": 332, "column": 35 }, "end": { "line": 332, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12406, "end": 12410, "loc": { "start": { "line": 333, "column": 6 }, "end": { "line": 333, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12410, "end": 12411, "loc": { "start": { "line": 333, "column": 10 }, "end": { "line": 333, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 12411, "end": 12417, "loc": { "start": { "line": 333, "column": 11 }, "end": { "line": 333, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12417, "end": 12418, "loc": { "start": { "line": 333, "column": 17 }, "end": { "line": 333, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12418, "end": 12419, "loc": { "start": { "line": 333, "column": 18 }, "end": { "line": 333, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12419, "end": 12420, "loc": { "start": { "line": 333, "column": 19 }, "end": { "line": 333, "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": 12428, "end": 12434, "loc": { "start": { "line": 334, "column": 6 }, "end": { "line": 334, "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": 12435, "end": 12440, "loc": { "start": { "line": 334, "column": 13 }, "end": { "line": 334, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12440, "end": 12441, "loc": { "start": { "line": 334, "column": 18 }, "end": { "line": 334, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12447, "end": 12448, "loc": { "start": { "line": 335, "column": 4 }, "end": { "line": 335, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 12456, "end": 12524, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 339, "column": 7 } } }, { "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": 12530, "end": 12532, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12532, "end": 12533, "loc": { "start": { "line": 340, "column": 6 }, "end": { "line": 340, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12533, "end": 12540, "loc": { "start": { "line": 340, "column": 7 }, "end": { "line": 340, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12541, "end": 12543, "loc": { "start": { "line": 340, "column": 15 }, "end": { "line": 340, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 12544, "end": 12549, "loc": { "start": { "line": 340, "column": 18 }, "end": { "line": 340, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12549, "end": 12550, "loc": { "start": { "line": 340, "column": 23 }, "end": { "line": 340, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 12550, "end": 12557, "loc": { "start": { "line": 340, "column": 24 }, "end": { "line": 340, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12557, "end": 12558, "loc": { "start": { "line": 340, "column": 31 }, "end": { "line": 340, "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": 12558, "end": 12562, "loc": { "start": { "line": 340, "column": 32 }, "end": { "line": 340, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12562, "end": 12563, "loc": { "start": { "line": 340, "column": 36 }, "end": { "line": 340, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12563, "end": 12570, "loc": { "start": { "line": 340, "column": 37 }, "end": { "line": 340, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12570, "end": 12571, "loc": { "start": { "line": 340, "column": 44 }, "end": { "line": 340, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12571, "end": 12582, "loc": { "start": { "line": 340, "column": 45 }, "end": { "line": 340, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12582, "end": 12583, "loc": { "start": { "line": 340, "column": 56 }, "end": { "line": 340, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12584, "end": 12586, "loc": { "start": { "line": 340, "column": 58 }, "end": { "line": 340, "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": 12587, "end": 12591, "loc": { "start": { "line": 340, "column": 61 }, "end": { "line": 340, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12591, "end": 12592, "loc": { "start": { "line": 340, "column": 65 }, "end": { "line": 340, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12592, "end": 12599, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12599, "end": 12600, "loc": { "start": { "line": 340, "column": 73 }, "end": { "line": 340, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12600, "end": 12611, "loc": { "start": { "line": 340, "column": 74 }, "end": { "line": 340, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12611, "end": 12612, "loc": { "start": { "line": 340, "column": 85 }, "end": { "line": 340, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 12612, "end": 12618, "loc": { "start": { "line": 340, "column": 86 }, "end": { "line": 340, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12618, "end": 12619, "loc": { "start": { "line": 340, "column": 92 }, "end": { "line": 340, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12619, "end": 12620, "loc": { "start": { "line": 340, "column": 93 }, "end": { "line": 340, "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": 12628, "end": 12631, "loc": { "start": { "line": 341, "column": 6 }, "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": "buttonArray", "start": 12632, "end": 12643, "loc": { "start": { "line": 341, "column": 10 }, "end": { "line": 341, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12644, "end": 12645, "loc": { "start": { "line": 341, "column": 22 }, "end": { "line": 341, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 12646, "end": 12653, "loc": { "start": { "line": 341, "column": 24 }, "end": { "line": 341, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12653, "end": 12654, "loc": { "start": { "line": 341, "column": 31 }, "end": { "line": 341, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 12654, "end": 12659, "loc": { "start": { "line": 341, "column": 32 }, "end": { "line": 341, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12659, "end": 12660, "loc": { "start": { "line": 341, "column": 37 }, "end": { "line": 341, "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": 12660, "end": 12663, "loc": { "start": { "line": 341, "column": 38 }, "end": { "line": 341, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12663, "end": 12664, "loc": { "start": { "line": 341, "column": 41 }, "end": { "line": 341, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12664, "end": 12665, "loc": { "start": { "line": 341, "column": 42 }, "end": { "line": 341, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 12673, "end": 12684, "loc": { "start": { "line": 342, "column": 6 }, "end": { "line": 342, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12684, "end": 12685, "loc": { "start": { "line": 342, "column": 17 }, "end": { "line": 342, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 12685, "end": 12692, "loc": { "start": { "line": 342, "column": 18 }, "end": { "line": 342, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12692, "end": 12693, "loc": { "start": { "line": 342, "column": 25 }, "end": { "line": 342, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12693, "end": 12694, "loc": { "start": { "line": 342, "column": 26 }, "end": { "line": 342, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 12694, "end": 12700, "loc": { "start": { "line": 342, "column": 27 }, "end": { "line": 342, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12700, "end": 12701, "loc": { "start": { "line": 342, "column": 33 }, "end": { "line": 342, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 12702, "end": 12705, "loc": { "start": { "line": 342, "column": 35 }, "end": { "line": 342, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12705, "end": 12706, "loc": { "start": { "line": 342, "column": 38 }, "end": { "line": 342, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12707, "end": 12709, "loc": { "start": { "line": 342, "column": 40 }, "end": { "line": 342, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12710, "end": 12711, "loc": { "start": { "line": 342, "column": 43 }, "end": { "line": 342, "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": 12721, "end": 12725, "loc": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12725, "end": 12726, "loc": { "start": { "line": 343, "column": 12 }, "end": { "line": 343, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12726, "end": 12733, "loc": { "start": { "line": 343, "column": 13 }, "end": { "line": 343, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12733, "end": 12734, "loc": { "start": { "line": 343, "column": 20 }, "end": { "line": 343, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12734, "end": 12745, "loc": { "start": { "line": 343, "column": 21 }, "end": { "line": 343, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12745, "end": 12746, "loc": { "start": { "line": 343, "column": 32 }, "end": { "line": 343, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 12746, "end": 12749, "loc": { "start": { "line": 343, "column": 33 }, "end": { "line": 343, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12749, "end": 12750, "loc": { "start": { "line": 343, "column": 36 }, "end": { "line": 343, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12750, "end": 12751, "loc": { "start": { "line": 343, "column": 37 }, "end": { "line": 343, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12751, "end": 12762, "loc": { "start": { "line": 343, "column": 38 }, "end": { "line": 343, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12762, "end": 12763, "loc": { "start": { "line": 343, "column": 49 }, "end": { "line": 343, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 12764, "end": 12769, "loc": { "start": { "line": 343, "column": 51 }, "end": { "line": 343, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12769, "end": 12770, "loc": { "start": { "line": 343, "column": 56 }, "end": { "line": 343, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12771, "end": 12773, "loc": { "start": { "line": 343, "column": 58 }, "end": { "line": 343, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12774, "end": 12775, "loc": { "start": { "line": 343, "column": 61 }, "end": { "line": 343, "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": 12789, "end": 12930, "loc": { "start": { "line": 345, "column": 10 }, "end": { "line": 348, "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": 12942, "end": 12944, "loc": { "start": { "line": 349, "column": 10 }, "end": { "line": 349, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12944, "end": 12945, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12959, "end": 12960, "loc": { "start": { "line": 350, "column": 12 }, "end": { "line": 350, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12960, "end": 12969, "loc": { "start": { "line": 350, "column": 13 }, "end": { "line": 350, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 12970, "end": 12972, "loc": { "start": { "line": 350, "column": 23 }, "end": { "line": 350, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 12973, "end": 12982, "loc": { "start": { "line": 350, "column": 26 }, "end": { "line": 350, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12982, "end": 12983, "loc": { "start": { "line": 350, "column": 35 }, "end": { "line": 350, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 12983, "end": 12991, "loc": { "start": { "line": 350, "column": 36 }, "end": { "line": 350, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12991, "end": 12992, "loc": { "start": { "line": 350, "column": 44 }, "end": { "line": 350, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 12992, "end": 13003, "loc": { "start": { "line": 350, "column": 45 }, "end": { "line": 350, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13003, "end": 13004, "loc": { "start": { "line": 350, "column": 56 }, "end": { "line": 350, "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": 13004, "end": 13009, "loc": { "start": { "line": 350, "column": 57 }, "end": { "line": 350, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13009, "end": 13010, "loc": { "start": { "line": 350, "column": 62 }, "end": { "line": 350, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13010, "end": 13011, "loc": { "start": { "line": 350, "column": 63 }, "end": { "line": 350, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 13012, "end": 13014, "loc": { "start": { "line": 350, "column": 65 }, "end": { "line": 350, "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": 13028, "end": 13029, "loc": { "start": { "line": 351, "column": 12 }, "end": { "line": 351, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13029, "end": 13038, "loc": { "start": { "line": 351, "column": 13 }, "end": { "line": 351, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13050, "end": 13051, "loc": { "start": { "line": 352, "column": 10 }, "end": { "line": 352, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13051, "end": 13052, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "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": 13066, "end": 13069, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 13070, "end": 13089, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13090, "end": 13091, "loc": { "start": { "line": 353, "column": 36 }, "end": { "line": 353, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13092, "end": 13103, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13103, "end": 13104, "loc": { "start": { "line": 353, "column": 49 }, "end": { "line": 353, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13104, "end": 13111, "loc": { "start": { "line": 353, "column": 50 }, "end": { "line": 353, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13111, "end": 13112, "loc": { "start": { "line": 353, "column": 57 }, "end": { "line": 353, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 13112, "end": 13117, "loc": { "start": { "line": 353, "column": 58 }, "end": { "line": 353, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13117, "end": 13118, "loc": { "start": { "line": 353, "column": 63 }, "end": { "line": 353, "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": 13118, "end": 13121, "loc": { "start": { "line": 353, "column": 64 }, "end": { "line": 353, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13121, "end": 13122, "loc": { "start": { "line": 353, "column": 67 }, "end": { "line": 353, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13122, "end": 13123, "loc": { "start": { "line": 353, "column": 68 }, "end": { "line": 353, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 13123, "end": 13129, "loc": { "start": { "line": 353, "column": 69 }, "end": { "line": 353, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13129, "end": 13130, "loc": { "start": { "line": 353, "column": 75 }, "end": { "line": 353, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13130, "end": 13134, "loc": { "start": { "line": 353, "column": 76 }, "end": { "line": 353, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13135, "end": 13137, "loc": { "start": { "line": 353, "column": 81 }, "end": { "line": 353, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13138, "end": 13142, "loc": { "start": { "line": 353, "column": 84 }, "end": { "line": 353, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 13143, "end": 13146, "loc": { "start": { "line": 353, "column": 89 }, "end": { "line": 353, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13147, "end": 13153, "loc": { "start": { "line": 353, "column": 93 }, "end": { "line": 353, "column": 99 } } }, { "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": 353, "column": 99 }, "end": { "line": 353, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13154, "end": 13155, "loc": { "start": { "line": 353, "column": 100 }, "end": { "line": 353, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 13171, "end": 13268, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 357, "column": 15 } } }, { "type": { "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": 13282, "end": 13284, "loc": { "start": { "line": 358, "column": 12 }, "end": { "line": 358, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13284, "end": 13285, "loc": { "start": { "line": 358, "column": 14 }, "end": { "line": 358, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 13285, "end": 13304, "loc": { "start": { "line": 358, "column": 15 }, "end": { "line": 358, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13304, "end": 13305, "loc": { "start": { "line": 358, "column": 34 }, "end": { "line": 358, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 13305, "end": 13311, "loc": { "start": { "line": 358, "column": 35 }, "end": { "line": 358, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13311, "end": 13312, "loc": { "start": { "line": 358, "column": 41 }, "end": { "line": 358, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13312, "end": 13313, "loc": { "start": { "line": 358, "column": 42 }, "end": { "line": 358, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13329, "end": 13340, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13340, "end": 13341, "loc": { "start": { "line": 359, "column": 25 }, "end": { "line": 359, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 13341, "end": 13348, "loc": { "start": { "line": 359, "column": 26 }, "end": { "line": 359, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13349, "end": 13350, "loc": { "start": { "line": 359, "column": 34 }, "end": { "line": 359, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 13351, "end": 13370, "loc": { "start": { "line": 359, "column": 36 }, "end": { "line": 359, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13370, "end": 13371, "loc": { "start": { "line": 359, "column": 55 }, "end": { "line": 359, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 13371, "end": 13375, "loc": { "start": { "line": 359, "column": 56 }, "end": { "line": 359, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13375, "end": 13376, "loc": { "start": { "line": 359, "column": 60 }, "end": { "line": 359, "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": 13376, "end": 13379, "loc": { "start": { "line": 359, "column": 61 }, "end": { "line": 359, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13379, "end": 13380, "loc": { "start": { "line": 359, "column": 64 }, "end": { "line": 359, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13380, "end": 13381, "loc": { "start": { "line": 359, "column": 65 }, "end": { "line": 359, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13395, "end": 13396, "loc": { "start": { "line": 360, "column": 12 }, "end": { "line": 360, "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": 13397, "end": 13401, "loc": { "start": { "line": 360, "column": 14 }, "end": { "line": 360, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13402, "end": 13403, "loc": { "start": { "line": 360, "column": 19 }, "end": { "line": 360, "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": 13419, "end": 13423, "loc": { "start": { "line": 361, "column": 14 }, "end": { "line": 361, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13423, "end": 13424, "loc": { "start": { "line": 361, "column": 18 }, "end": { "line": 361, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 13424, "end": 13431, "loc": { "start": { "line": 361, "column": 19 }, "end": { "line": 361, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13431, "end": 13432, "loc": { "start": { "line": 361, "column": 26 }, "end": { "line": 361, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13432, "end": 13443, "loc": { "start": { "line": 361, "column": 27 }, "end": { "line": 361, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13443, "end": 13444, "loc": { "start": { "line": 361, "column": 38 }, "end": { "line": 361, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 13444, "end": 13450, "loc": { "start": { "line": 361, "column": 39 }, "end": { "line": 361, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13450, "end": 13451, "loc": { "start": { "line": 361, "column": 45 }, "end": { "line": 361, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 13451, "end": 13456, "loc": { "start": { "line": 361, "column": 46 }, "end": { "line": 361, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13456, "end": 13457, "loc": { "start": { "line": 361, "column": 51 }, "end": { "line": 361, "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": 13458, "end": 13459, "loc": { "start": { "line": 361, "column": 53 }, "end": { "line": 361, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13459, "end": 13460, "loc": { "start": { "line": 361, "column": 54 }, "end": { "line": 361, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13460, "end": 13461, "loc": { "start": { "line": 361, "column": 55 }, "end": { "line": 361, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13477, "end": 13488, "loc": { "start": { "line": 362, "column": 14 }, "end": { "line": 362, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13489, "end": 13490, "loc": { "start": { "line": 362, "column": 26 }, "end": { "line": 362, "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": 13491, "end": 13495, "loc": { "start": { "line": 362, "column": 28 }, "end": { "line": 362, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13495, "end": 13496, "loc": { "start": { "line": 362, "column": 32 }, "end": { "line": 362, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13510, "end": 13511, "loc": { "start": { "line": 363, "column": 12 }, "end": { "line": 363, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13526, "end": 13527, "loc": { "start": { "line": 365, "column": 10 }, "end": { "line": 365, "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": 13541, "end": 13547, "loc": { "start": { "line": 367, "column": 10 }, "end": { "line": 367, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 13548, "end": 13559, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13559, "end": 13560, "loc": { "start": { "line": 367, "column": 28 }, "end": { "line": 367, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13570, "end": 13571, "loc": { "start": { "line": 368, "column": 8 }, "end": { "line": 368, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13571, "end": 13572, "loc": { "start": { "line": 368, "column": 9 }, "end": { "line": 368, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13572, "end": 13573, "loc": { "start": { "line": 368, "column": 10 }, "end": { "line": 368, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13581, "end": 13582, "loc": { "start": { "line": 369, "column": 6 }, "end": { "line": 369, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13582, "end": 13583, "loc": { "start": { "line": 369, "column": 7 }, "end": { "line": 369, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13583, "end": 13584, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "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": 13594, "end": 13598, "loc": { "start": { "line": 371, "column": 6 }, "end": { "line": 371, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13598, "end": 13599, "loc": { "start": { "line": 371, "column": 10 }, "end": { "line": 371, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 13599, "end": 13605, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13605, "end": 13606, "loc": { "start": { "line": 371, "column": 17 }, "end": { "line": 371, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13606, "end": 13607, "loc": { "start": { "line": 371, "column": 18 }, "end": { "line": 371, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13607, "end": 13608, "loc": { "start": { "line": 371, "column": 19 }, "end": { "line": 371, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13614, "end": 13615, "loc": { "start": { "line": 372, "column": 4 }, "end": { "line": 372, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13619, "end": 13620, "loc": { "start": { "line": 373, "column": 2 }, "end": { "line": 373, "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": 13626, "end": 13829, "loc": { "start": { "line": 375, "column": 2 }, "end": { "line": 378, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 13833, "end": 13849, "loc": { "start": { "line": 379, "column": 2 }, "end": { "line": 379, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13850, "end": 13851, "loc": { "start": { "line": 379, "column": 19 }, "end": { "line": 379, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13852, "end": 13853, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 379, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13853, "end": 13859, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13859, "end": 13860, "loc": { "start": { "line": 379, "column": 28 }, "end": { "line": 379, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13861, "end": 13863, "loc": { "start": { "line": 379, "column": 30 }, "end": { "line": 379, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13864, "end": 13865, "loc": { "start": { "line": 379, "column": 33 }, "end": { "line": 379, "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": 13871, "end": 13874, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 13875, "end": 13881, "loc": { "start": { "line": 380, "column": 8 }, "end": { "line": 380, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13881, "end": 13882, "loc": { "start": { "line": 380, "column": 14 }, "end": { "line": 380, "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": 13890, "end": 13893, "loc": { "start": { "line": 382, "column": 4 }, "end": { "line": 382, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 13894, "end": 13903, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13904, "end": 13905, "loc": { "start": { "line": 382, "column": 18 }, "end": { "line": 382, "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": 13906, "end": 13910, "loc": { "start": { "line": 382, "column": 20 }, "end": { "line": 382, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13910, "end": 13911, "loc": { "start": { "line": 382, "column": 24 }, "end": { "line": 382, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 13911, "end": 13925, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13925, "end": 13926, "loc": { "start": { "line": 382, "column": 39 }, "end": { "line": 382, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 13926, "end": 13932, "loc": { "start": { "line": 382, "column": 40 }, "end": { "line": 382, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13932, "end": 13933, "loc": { "start": { "line": 382, "column": 46 }, "end": { "line": 382, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13933, "end": 13934, "loc": { "start": { "line": 382, "column": 47 }, "end": { "line": 382, "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": 13940, "end": 13942, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 383, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13942, "end": 13943, "loc": { "start": { "line": 383, "column": 6 }, "end": { "line": 383, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 13943, "end": 13952, "loc": { "start": { "line": 383, "column": 7 }, "end": { "line": 383, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13952, "end": 13953, "loc": { "start": { "line": 383, "column": 16 }, "end": { "line": 383, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13953, "end": 13954, "loc": { "start": { "line": 383, "column": 17 }, "end": { "line": 383, "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": 13962, "end": 13964, "loc": { "start": { "line": 384, "column": 6 }, "end": { "line": 384, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13964, "end": 13965, "loc": { "start": { "line": 384, "column": 8 }, "end": { "line": 384, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 13965, "end": 13974, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13974, "end": 13975, "loc": { "start": { "line": 384, "column": 18 }, "end": { "line": 384, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 13975, "end": 13981, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 13982, "end": 13983, "loc": { "start": { "line": 384, "column": 26 }, "end": { "line": 384, "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": 13984, "end": 13985, "loc": { "start": { "line": 384, "column": 28 }, "end": { "line": 384, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13985, "end": 13986, "loc": { "start": { "line": 384, "column": 29 }, "end": { "line": 384, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13986, "end": 13987, "loc": { "start": { "line": 384, "column": 30 }, "end": { "line": 384, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 13997, "end": 14003, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14004, "end": 14005, "loc": { "start": { "line": 385, "column": 15 }, "end": { "line": 385, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 14006, "end": 14015, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14015, "end": 14016, "loc": { "start": { "line": 385, "column": 26 }, "end": { "line": 385, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14024, "end": 14025, "loc": { "start": { "line": 386, "column": 6 }, "end": { "line": 386, "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": 14026, "end": 14030, "loc": { "start": { "line": 386, "column": 8 }, "end": { "line": 386, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14031, "end": 14032, "loc": { "start": { "line": 386, "column": 13 }, "end": { "line": 386, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 14042, "end": 14048, "loc": { "start": { "line": 387, "column": 8 }, "end": { "line": 387, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14049, "end": 14050, "loc": { "start": { "line": 387, "column": 15 }, "end": { "line": 387, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 14051, "end": 14060, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14060, "end": 14061, "loc": { "start": { "line": 387, "column": 26 }, "end": { "line": 387, "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": 14061, "end": 14062, "loc": { "start": { "line": 387, "column": 27 }, "end": { "line": 387, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14062, "end": 14063, "loc": { "start": { "line": 387, "column": 28 }, "end": { "line": 387, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14063, "end": 14064, "loc": { "start": { "line": 387, "column": 29 }, "end": { "line": 387, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14072, "end": 14073, "loc": { "start": { "line": 388, "column": 6 }, "end": { "line": 388, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14079, "end": 14080, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "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": 14088, "end": 14094, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 14095, "end": 14101, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14101, "end": 14102, "loc": { "start": { "line": 391, "column": 17 }, "end": { "line": 391, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14106, "end": 14107, "loc": { "start": { "line": 392, "column": 2 }, "end": { "line": 392, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 14113, "end": 14203, "loc": { "start": { "line": 394, "column": 2 }, "end": { "line": 396, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 14207, "end": 14218, "loc": { "start": { "line": 397, "column": 2 }, "end": { "line": 397, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14219, "end": 14220, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14221, "end": 14222, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 397, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14222, "end": 14223, "loc": { "start": { "line": 397, "column": 17 }, "end": { "line": 397, "column": 18 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14224, "end": 14226, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14227, "end": 14228, "loc": { "start": { "line": 397, "column": 22 }, "end": { "line": 397, "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": 14234, "end": 14236, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 398, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14236, "end": 14237, "loc": { "start": { "line": 398, "column": 6 }, "end": { "line": 398, "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": 14237, "end": 14241, "loc": { "start": { "line": 398, "column": 7 }, "end": { "line": 398, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14241, "end": 14242, "loc": { "start": { "line": 398, "column": 11 }, "end": { "line": 398, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14242, "end": 14249, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14249, "end": 14250, "loc": { "start": { "line": 398, "column": 19 }, "end": { "line": 398, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 14250, "end": 14255, "loc": { "start": { "line": 398, "column": 20 }, "end": { "line": 398, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14255, "end": 14256, "loc": { "start": { "line": 398, "column": 25 }, "end": { "line": 398, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14256, "end": 14257, "loc": { "start": { "line": 398, "column": 26 }, "end": { "line": 398, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 14265, "end": 14272, "loc": { "start": { "line": 399, "column": 6 }, "end": { "line": 399, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14272, "end": 14273, "loc": { "start": { "line": 399, "column": 13 }, "end": { "line": 399, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 14273, "end": 14276, "loc": { "start": { "line": 399, "column": 14 }, "end": { "line": 399, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14276, "end": 14277, "loc": { "start": { "line": 399, "column": 17 }, "end": { "line": 399, "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": 14277, "end": 14301, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14301, "end": 14302, "loc": { "start": { "line": 399, "column": 42 }, "end": { "line": 399, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14302, "end": 14303, "loc": { "start": { "line": 399, "column": 43 }, "end": { "line": 399, "column": 44 } } }, { "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": 400, "column": 4 }, "end": { "line": 400, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 14318, "end": 14326, "loc": { "start": { "line": 402, "column": 4 }, "end": { "line": 402, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14326, "end": 14327, "loc": { "start": { "line": 402, "column": 12 }, "end": { "line": 402, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 14327, "end": 14343, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14343, "end": 14344, "loc": { "start": { "line": 402, "column": 29 }, "end": { "line": 402, "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": 14344, "end": 14351, "loc": { "start": { "line": 402, "column": 30 }, "end": { "line": 402, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14351, "end": 14352, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "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": 14353, "end": 14357, "loc": { "start": { "line": 402, "column": 39 }, "end": { "line": 402, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14357, "end": 14358, "loc": { "start": { "line": 402, "column": 43 }, "end": { "line": 402, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14358, "end": 14375, "loc": { "start": { "line": 402, "column": 44 }, "end": { "line": 402, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14375, "end": 14376, "loc": { "start": { "line": 402, "column": 61 }, "end": { "line": 402, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14376, "end": 14377, "loc": { "start": { "line": 402, "column": 62 }, "end": { "line": 402, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 14383, "end": 14391, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14391, "end": 14392, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 14392, "end": 14408, "loc": { "start": { "line": 403, "column": 13 }, "end": { "line": 403, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14408, "end": 14409, "loc": { "start": { "line": 403, "column": 29 }, "end": { "line": 403, "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": 14409, "end": 14418, "loc": { "start": { "line": 403, "column": 30 }, "end": { "line": 403, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14418, "end": 14419, "loc": { "start": { "line": 403, "column": 39 }, "end": { "line": 403, "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": 14420, "end": 14424, "loc": { "start": { "line": 403, "column": 41 }, "end": { "line": 403, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14424, "end": 14425, "loc": { "start": { "line": 403, "column": 45 }, "end": { "line": 403, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14425, "end": 14442, "loc": { "start": { "line": 403, "column": 46 }, "end": { "line": 403, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14442, "end": 14443, "loc": { "start": { "line": 403, "column": 63 }, "end": { "line": 403, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14443, "end": 14444, "loc": { "start": { "line": 403, "column": 64 }, "end": { "line": 403, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 14450, "end": 14458, "loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 404, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14458, "end": 14459, "loc": { "start": { "line": 404, "column": 12 }, "end": { "line": 404, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 14459, "end": 14475, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14475, "end": 14476, "loc": { "start": { "line": 404, "column": 29 }, "end": { "line": 404, "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": 14476, "end": 14486, "loc": { "start": { "line": 404, "column": 30 }, "end": { "line": 404, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14486, "end": 14487, "loc": { "start": { "line": 404, "column": 40 }, "end": { "line": 404, "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": 14488, "end": 14492, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14492, "end": 14493, "loc": { "start": { "line": 404, "column": 46 }, "end": { "line": 404, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14493, "end": 14510, "loc": { "start": { "line": 404, "column": 47 }, "end": { "line": 404, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14510, "end": 14511, "loc": { "start": { "line": 404, "column": 64 }, "end": { "line": 404, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14511, "end": 14512, "loc": { "start": { "line": 404, "column": 65 }, "end": { "line": 404, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14516, "end": 14517, "loc": { "start": { "line": 405, "column": 2 }, "end": { "line": 405, "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": 14523, "end": 14635, "loc": { "start": { "line": 407, "column": 2 }, "end": { "line": 409, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 14639, "end": 14656, "loc": { "start": { "line": 410, "column": 2 }, "end": { "line": 410, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14657, "end": 14658, "loc": { "start": { "line": 410, "column": 20 }, "end": { "line": 410, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14659, "end": 14660, "loc": { "start": { "line": 410, "column": 22 }, "end": { "line": 410, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14660, "end": 14665, "loc": { "start": { "line": 410, "column": 23 }, "end": { "line": 410, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14665, "end": 14666, "loc": { "start": { "line": 410, "column": 28 }, "end": { "line": 410, "column": 29 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14667, "end": 14669, "loc": { "start": { "line": 410, "column": 30 }, "end": { "line": 410, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14670, "end": 14671, "loc": { "start": { "line": 410, "column": 33 }, "end": { "line": 410, "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": 14677, "end": 14680, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 14681, "end": 14694, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14695, "end": 14696, "loc": { "start": { "line": 411, "column": 22 }, "end": { "line": 411, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 14697, "end": 14702, "loc": { "start": { "line": 411, "column": 24 }, "end": { "line": 411, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14702, "end": 14703, "loc": { "start": { "line": 411, "column": 29 }, "end": { "line": 411, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 14703, "end": 14709, "loc": { "start": { "line": 411, "column": 30 }, "end": { "line": 411, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14709, "end": 14710, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 14710, "end": 14717, "loc": { "start": { "line": 411, "column": 37 }, "end": { "line": 411, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14717, "end": 14718, "loc": { "start": { "line": 411, "column": 44 }, "end": { "line": 411, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 14718, "end": 14729, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14729, "end": 14730, "loc": { "start": { "line": 411, "column": 56 }, "end": { "line": 411, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14730, "end": 14731, "loc": { "start": { "line": 411, "column": 57 }, "end": { "line": 411, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14731, "end": 14732, "loc": { "start": { "line": 411, "column": 58 }, "end": { "line": 411, "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": 14740, "end": 14742, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14742, "end": 14743, "loc": { "start": { "line": 413, "column": 6 }, "end": { "line": 413, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 14751, "end": 14764, "loc": { "start": { "line": 414, "column": 6 }, "end": { "line": 414, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14765, "end": 14768, "loc": { "start": { "line": 414, "column": 20 }, "end": { "line": 414, "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": 14769, "end": 14779, "loc": { "start": { "line": 414, "column": 24 }, "end": { "line": 414, "column": 34 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 14780, "end": 14782, "loc": { "start": { "line": 414, "column": 35 }, "end": { "line": 414, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 14790, "end": 14803, "loc": { "start": { "line": 415, "column": 6 }, "end": { "line": 415, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14804, "end": 14807, "loc": { "start": { "line": 415, "column": 20 }, "end": { "line": 415, "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": 14808, "end": 14815, "loc": { "start": { "line": 415, "column": 24 }, "end": { "line": 415, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14821, "end": 14822, "loc": { "start": { "line": 416, "column": 4 }, "end": { "line": 416, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14822, "end": 14823, "loc": { "start": { "line": 416, "column": 5 }, "end": { "line": 416, "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": 14831, "end": 14979, "loc": { "start": { "line": 417, "column": 6 }, "end": { "line": 420, "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": 14987, "end": 14991, "loc": { "start": { "line": 421, "column": 6 }, "end": { "line": 421, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14991, "end": 14992, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 14992, "end": 15005, "loc": { "start": { "line": 421, "column": 11 }, "end": { "line": 421, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15006, "end": 15007, "loc": { "start": { "line": 421, "column": 25 }, "end": { "line": 421, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15008, "end": 15013, "loc": { "start": { "line": 421, "column": 27 }, "end": { "line": 421, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15013, "end": 15014, "loc": { "start": { "line": 421, "column": 32 }, "end": { "line": 421, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 15014, "end": 15020, "loc": { "start": { "line": 421, "column": 33 }, "end": { "line": 421, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15020, "end": 15021, "loc": { "start": { "line": 421, "column": 39 }, "end": { "line": 421, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 15021, "end": 15035, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15035, "end": 15036, "loc": { "start": { "line": 421, "column": 54 }, "end": { "line": 421, "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": 15046, "end": 15048, "loc": { "start": { "line": 423, "column": 6 }, "end": { "line": 423, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15048, "end": 15049, "loc": { "start": { "line": 423, "column": 8 }, "end": { "line": 423, "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": 15049, "end": 15053, "loc": { "start": { "line": 423, "column": 9 }, "end": { "line": 423, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15053, "end": 15054, "loc": { "start": { "line": 423, "column": 13 }, "end": { "line": 423, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15054, "end": 15061, "loc": { "start": { "line": 423, "column": 14 }, "end": { "line": 423, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15061, "end": 15062, "loc": { "start": { "line": 423, "column": 21 }, "end": { "line": 423, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 15062, "end": 15067, "loc": { "start": { "line": 423, "column": 22 }, "end": { "line": 423, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15067, "end": 15068, "loc": { "start": { "line": 423, "column": 27 }, "end": { "line": 423, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15068, "end": 15069, "loc": { "start": { "line": 423, "column": 28 }, "end": { "line": 423, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 15079, "end": 15086, "loc": { "start": { "line": 424, "column": 8 }, "end": { "line": 424, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15086, "end": 15087, "loc": { "start": { "line": 424, "column": 15 }, "end": { "line": 424, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 15087, "end": 15090, "loc": { "start": { "line": 424, "column": 16 }, "end": { "line": 424, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15090, "end": 15091, "loc": { "start": { "line": 424, "column": 19 }, "end": { "line": 424, "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": 15091, "end": 15103, "loc": { "start": { "line": 424, "column": 20 }, "end": { "line": 424, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15103, "end": 15104, "loc": { "start": { "line": 424, "column": 32 }, "end": { "line": 424, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15105, "end": 15110, "loc": { "start": { "line": 424, "column": 34 }, "end": { "line": 424, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15110, "end": 15111, "loc": { "start": { "line": 424, "column": 39 }, "end": { "line": 424, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 15111, "end": 15117, "loc": { "start": { "line": 424, "column": 40 }, "end": { "line": 424, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15117, "end": 15118, "loc": { "start": { "line": 424, "column": 46 }, "end": { "line": 424, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 15118, "end": 15132, "loc": { "start": { "line": 424, "column": 47 }, "end": { "line": 424, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15132, "end": 15133, "loc": { "start": { "line": 424, "column": 61 }, "end": { "line": 424, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 15134, "end": 15139, "loc": { "start": { "line": 424, "column": 63 }, "end": { "line": 424, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15139, "end": 15140, "loc": { "start": { "line": 424, "column": 68 }, "end": { "line": 424, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 15140, "end": 15146, "loc": { "start": { "line": 424, "column": 69 }, "end": { "line": 424, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15146, "end": 15147, "loc": { "start": { "line": 424, "column": 75 }, "end": { "line": 424, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 15147, "end": 15154, "loc": { "start": { "line": 424, "column": 76 }, "end": { "line": 424, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15154, "end": 15155, "loc": { "start": { "line": 424, "column": 83 }, "end": { "line": 424, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 15155, "end": 15166, "loc": { "start": { "line": 424, "column": 84 }, "end": { "line": 424, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15166, "end": 15167, "loc": { "start": { "line": 424, "column": 95 }, "end": { "line": 424, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15167, "end": 15168, "loc": { "start": { "line": 424, "column": 96 }, "end": { "line": 424, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15168, "end": 15169, "loc": { "start": { "line": 424, "column": 97 }, "end": { "line": 424, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15169, "end": 15170, "loc": { "start": { "line": 424, "column": 98 }, "end": { "line": 424, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15178, "end": 15179, "loc": { "start": { "line": 425, "column": 6 }, "end": { "line": 425, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15190, "end": 15191, "loc": { "start": { "line": 426, "column": 4 }, "end": { "line": 426, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15195, "end": 15196, "loc": { "start": { "line": 427, "column": 2 }, "end": { "line": 427, "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": 15202, "end": 15322, "loc": { "start": { "line": 429, "column": 2 }, "end": { "line": 431, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 15326, "end": 15332, "loc": { "start": { "line": 432, "column": 2 }, "end": { "line": 432, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15333, "end": 15334, "loc": { "start": { "line": 432, "column": 9 }, "end": { "line": 432, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15335, "end": 15336, "loc": { "start": { "line": 432, "column": 11 }, "end": { "line": 432, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15336, "end": 15337, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 13 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15338, "end": 15340, "loc": { "start": { "line": 432, "column": 14 }, "end": { "line": 432, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15341, "end": 15342, "loc": { "start": { "line": 432, "column": 17 }, "end": { "line": 432, "column": 18 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15348, "end": 15350, "loc": { "start": { "line": 433, "column": 4 }, "end": { "line": 433, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15350, "end": 15351, "loc": { "start": { "line": 433, "column": 6 }, "end": { "line": 433, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15351, "end": 15355, "loc": { "start": { "line": 433, "column": 7 }, "end": { "line": 433, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15355, "end": 15356, "loc": { "start": { "line": 433, "column": 11 }, "end": { "line": 433, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15356, "end": 15363, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15363, "end": 15364, "loc": { "start": { "line": 433, "column": 19 }, "end": { "line": 433, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 15364, "end": 15369, "loc": { "start": { "line": 433, "column": 20 }, "end": { "line": 433, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15369, "end": 15370, "loc": { "start": { "line": 433, "column": 25 }, "end": { "line": 433, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15370, "end": 15371, "loc": { "start": { "line": 433, "column": 26 }, "end": { "line": 433, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 15379, "end": 15386, "loc": { "start": { "line": 434, "column": 6 }, "end": { "line": 434, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15386, "end": 15387, "loc": { "start": { "line": 434, "column": 13 }, "end": { "line": 434, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 15387, "end": 15390, "loc": { "start": { "line": 434, "column": 14 }, "end": { "line": 434, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15390, "end": 15391, "loc": { "start": { "line": 434, "column": 17 }, "end": { "line": 434, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Initialized", "start": 15391, "end": 15404, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15404, "end": 15405, "loc": { "start": { "line": 434, "column": 31 }, "end": { "line": 434, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15405, "end": 15406, "loc": { "start": { "line": 434, "column": 32 }, "end": { "line": 434, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15412, "end": 15413, "loc": { "start": { "line": 435, "column": 4 }, "end": { "line": 435, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 15421, "end": 15456, "loc": { "start": { "line": 437, "column": 4 }, "end": { "line": 439, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15462, "end": 15466, "loc": { "start": { "line": 440, "column": 4 }, "end": { "line": 440, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15466, "end": 15467, "loc": { "start": { "line": 440, "column": 8 }, "end": { "line": 440, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 15467, "end": 15478, "loc": { "start": { "line": 440, "column": 9 }, "end": { "line": 440, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15478, "end": 15479, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15479, "end": 15480, "loc": { "start": { "line": 440, "column": 21 }, "end": { "line": 440, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15480, "end": 15481, "loc": { "start": { "line": 440, "column": 22 }, "end": { "line": 440, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15489, "end": 15491, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 442, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15491, "end": 15492, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "column": 7 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 15492, "end": 15498, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15499, "end": 15503, "loc": { "start": { "line": 442, "column": 14 }, "end": { "line": 442, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15503, "end": 15504, "loc": { "start": { "line": 442, "column": 18 }, "end": { "line": 442, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15504, "end": 15511, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15511, "end": 15512, "loc": { "start": { "line": 442, "column": 26 }, "end": { "line": 442, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 15512, "end": 15518, "loc": { "start": { "line": 442, "column": 27 }, "end": { "line": 442, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 15519, "end": 15522, "loc": { "start": { "line": 442, "column": 34 }, "end": { "line": 442, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 15523, "end": 15533, "loc": { "start": { "line": 442, "column": 38 }, "end": { "line": 442, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15533, "end": 15534, "loc": { "start": { "line": 442, "column": 48 }, "end": { "line": 442, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15542, "end": 15546, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15546, "end": 15547, "loc": { "start": { "line": 443, "column": 10 }, "end": { "line": 443, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15547, "end": 15554, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15554, "end": 15555, "loc": { "start": { "line": 443, "column": 18 }, "end": { "line": 443, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 15555, "end": 15561, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15561, "end": 15562, "loc": { "start": { "line": 443, "column": 25 }, "end": { "line": 443, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15562, "end": 15563, "loc": { "start": { "line": 443, "column": 26 }, "end": { "line": 443, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15563, "end": 15564, "loc": { "start": { "line": 443, "column": 27 }, "end": { "line": 443, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15568, "end": 15569, "loc": { "start": { "line": 444, "column": 2 }, "end": { "line": 444, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 15575, "end": 15693, "loc": { "start": { "line": 446, "column": 2 }, "end": { "line": 448, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 15697, "end": 15705, "loc": { "start": { "line": 449, "column": 2 }, "end": { "line": 449, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15706, "end": 15707, "loc": { "start": { "line": 449, "column": 11 }, "end": { "line": 449, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15708, "end": 15709, "loc": { "start": { "line": 449, "column": 13 }, "end": { "line": 449, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15709, "end": 15710, "loc": { "start": { "line": 449, "column": 14 }, "end": { "line": 449, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15711, "end": 15713, "loc": { "start": { "line": 449, "column": 16 }, "end": { "line": 449, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15714, "end": 15715, "loc": { "start": { "line": 449, "column": 19 }, "end": { "line": 449, "column": 20 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 15721, "end": 15723, "loc": { "start": { "line": 450, "column": 4 }, "end": { "line": 450, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15723, "end": 15724, "loc": { "start": { "line": 450, "column": 6 }, "end": { "line": 450, "column": 7 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 15724, "end": 15730, "loc": { "start": { "line": 450, "column": 7 }, "end": { "line": 450, "column": 13 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15731, "end": 15735, "loc": { "start": { "line": 450, "column": 14 }, "end": { "line": 450, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15735, "end": 15736, "loc": { "start": { "line": 450, "column": 18 }, "end": { "line": 450, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15736, "end": 15743, "loc": { "start": { "line": 450, "column": 19 }, "end": { "line": 450, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15743, "end": 15744, "loc": { "start": { "line": 450, "column": 26 }, "end": { "line": 450, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 15744, "end": 15752, "loc": { "start": { "line": 450, "column": 27 }, "end": { "line": 450, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 15753, "end": 15756, "loc": { "start": { "line": 450, "column": 36 }, "end": { "line": 450, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 15757, "end": 15767, "loc": { "start": { "line": 450, "column": 40 }, "end": { "line": 450, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15767, "end": 15768, "loc": { "start": { "line": 450, "column": 50 }, "end": { "line": 450, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15776, "end": 15780, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15780, "end": 15781, "loc": { "start": { "line": 451, "column": 10 }, "end": { "line": 451, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15781, "end": 15788, "loc": { "start": { "line": 451, "column": 11 }, "end": { "line": 451, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15788, "end": 15789, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 15789, "end": 15797, "loc": { "start": { "line": 451, "column": 19 }, "end": { "line": 451, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15797, "end": 15798, "loc": { "start": { "line": 451, "column": 27 }, "end": { "line": 451, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15798, "end": 15799, "loc": { "start": { "line": 451, "column": 28 }, "end": { "line": 451, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15799, "end": 15800, "loc": { "start": { "line": 451, "column": 29 }, "end": { "line": 451, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15804, "end": 15805, "loc": { "start": { "line": 452, "column": 2 }, "end": { "line": 452, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 15811, "end": 15867, "loc": { "start": { "line": 454, "column": 2 }, "end": { "line": 456, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15871, "end": 15877, "loc": { "start": { "line": 457, "column": 2 }, "end": { "line": 457, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15878, "end": 15879, "loc": { "start": { "line": 457, "column": 9 }, "end": { "line": 457, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15880, "end": 15881, "loc": { "start": { "line": 457, "column": 11 }, "end": { "line": 457, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15881, "end": 15882, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 13 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15883, "end": 15885, "loc": { "start": { "line": 457, "column": 14 }, "end": { "line": 457, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15886, "end": 15887, "loc": { "start": { "line": 457, "column": 17 }, "end": { "line": 457, "column": 18 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 15893, "end": 15928, "loc": { "start": { "line": 458, "column": 4 }, "end": { "line": 460, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15934, "end": 15938, "loc": { "start": { "line": 461, "column": 4 }, "end": { "line": 461, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15938, "end": 15939, "loc": { "start": { "line": 461, "column": 8 }, "end": { "line": 461, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 15939, "end": 15944, "loc": { "start": { "line": 461, "column": 9 }, "end": { "line": 461, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15944, "end": 15945, "loc": { "start": { "line": 461, "column": 14 }, "end": { "line": 461, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15945, "end": 15946, "loc": { "start": { "line": 461, "column": 15 }, "end": { "line": 461, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15946, "end": 15947, "loc": { "start": { "line": 461, "column": 16 }, "end": { "line": 461, "column": 17 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 15955, "end": 15958, "loc": { "start": { "line": 463, "column": 4 }, "end": { "line": 463, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 15959, "end": 15970, "loc": { "start": { "line": 463, "column": 8 }, "end": { "line": 463, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15971, "end": 15972, "loc": { "start": { "line": 463, "column": 20 }, "end": { "line": 463, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 15973, "end": 15977, "loc": { "start": { "line": 463, "column": 22 }, "end": { "line": 463, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15977, "end": 15978, "loc": { "start": { "line": 463, "column": 26 }, "end": { "line": 463, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15978, "end": 15985, "loc": { "start": { "line": 463, "column": 27 }, "end": { "line": 463, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15985, "end": 15986, "loc": { "start": { "line": 463, "column": 34 }, "end": { "line": 463, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 15986, "end": 15992, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15993, "end": 15994, "loc": { "start": { "line": 463, "column": 42 }, "end": { "line": 463, "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": 15995, "end": 16013, "loc": { "start": { "line": 463, "column": 44 }, "end": { "line": 463, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16014, "end": 16015, "loc": { "start": { "line": 463, "column": 63 }, "end": { "line": 463, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16016, "end": 16017, "loc": { "start": { "line": 463, "column": 65 }, "end": { "line": 463, "column": 66 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-layout-", "start": 16017, "end": 16027, "loc": { "start": { "line": 463, "column": 66 }, "end": { "line": 463, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16027, "end": 16029, "loc": { "start": { "line": 463, "column": 76 }, "end": { "line": 463, "column": 78 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16029, "end": 16033, "loc": { "start": { "line": 463, "column": 78 }, "end": { "line": 463, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16033, "end": 16034, "loc": { "start": { "line": 463, "column": 82 }, "end": { "line": 463, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16034, "end": 16041, "loc": { "start": { "line": 463, "column": 83 }, "end": { "line": 463, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16041, "end": 16042, "loc": { "start": { "line": 463, "column": 90 }, "end": { "line": 463, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 16042, "end": 16052, "loc": { "start": { "line": 463, "column": 91 }, "end": { "line": 463, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16052, "end": 16053, "loc": { "start": { "line": 463, "column": 101 }, "end": { "line": 463, "column": 102 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 16053, "end": 16053, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16053, "end": 16054, "loc": { "start": { "line": 463, "column": 102 }, "end": { "line": 463, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16054, "end": 16055, "loc": { "start": { "line": 463, "column": 103 }, "end": { "line": 463, "column": 104 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 16061, "end": 16064, "loc": { "start": { "line": 464, "column": 4 }, "end": { "line": 464, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 16065, "end": 16071, "loc": { "start": { "line": 464, "column": 8 }, "end": { "line": 464, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16072, "end": 16073, "loc": { "start": { "line": 464, "column": 15 }, "end": { "line": 464, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16074, "end": 16078, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16078, "end": 16079, "loc": { "start": { "line": 464, "column": 21 }, "end": { "line": 464, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16079, "end": 16086, "loc": { "start": { "line": 464, "column": 22 }, "end": { "line": 464, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16086, "end": 16087, "loc": { "start": { "line": 464, "column": 29 }, "end": { "line": 464, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 16087, "end": 16093, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 16094, "end": 16096, "loc": { "start": { "line": 464, "column": 37 }, "end": { "line": 464, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 16097, "end": 16111, "loc": { "start": { "line": 464, "column": 40 }, "end": { "line": 464, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16111, "end": 16112, "loc": { "start": { "line": 464, "column": 54 }, "end": { "line": 464, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 16112, "end": 16128, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16128, "end": 16129, "loc": { "start": { "line": 464, "column": 71 }, "end": { "line": 464, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16129, "end": 16130, "loc": { "start": { "line": 464, "column": 72 }, "end": { "line": 464, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16130, "end": 16131, "loc": { "start": { "line": 464, "column": 73 }, "end": { "line": 464, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 16139, "end": 16191, "loc": { "start": { "line": 466, "column": 4 }, "end": { "line": 468, "column": 7 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 16197, "end": 16200, "loc": { "start": { "line": 469, "column": 4 }, "end": { "line": 469, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 16201, "end": 16219, "loc": { "start": { "line": 469, "column": 8 }, "end": { "line": 469, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16220, "end": 16221, "loc": { "start": { "line": 469, "column": 27 }, "end": { "line": 469, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16222, "end": 16223, "loc": { "start": { "line": 469, "column": 29 }, "end": { "line": 469, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16223, "end": 16224, "loc": { "start": { "line": 469, "column": 30 }, "end": { "line": 469, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16224, "end": 16225, "loc": { "start": { "line": 469, "column": 31 }, "end": { "line": 469, "column": 32 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16231, "end": 16233, "loc": { "start": { "line": 470, "column": 4 }, "end": { "line": 470, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16233, "end": 16234, "loc": { "start": { "line": 470, "column": 6 }, "end": { "line": 470, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 16234, "end": 16239, "loc": { "start": { "line": 470, "column": 7 }, "end": { "line": 470, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16239, "end": 16240, "loc": { "start": { "line": 470, "column": 12 }, "end": { "line": 470, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 16240, "end": 16247, "loc": { "start": { "line": 470, "column": 13 }, "end": { "line": 470, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16247, "end": 16248, "loc": { "start": { "line": 470, "column": 20 }, "end": { "line": 470, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16248, "end": 16252, "loc": { "start": { "line": 470, "column": 21 }, "end": { "line": 470, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16252, "end": 16253, "loc": { "start": { "line": 470, "column": 25 }, "end": { "line": 470, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16253, "end": 16260, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16260, "end": 16261, "loc": { "start": { "line": 470, "column": 33 }, "end": { "line": 470, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16261, "end": 16272, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16272, "end": 16273, "loc": { "start": { "line": 470, "column": 45 }, "end": { "line": 470, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16273, "end": 16274, "loc": { "start": { "line": 470, "column": 46 }, "end": { "line": 470, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16274, "end": 16275, "loc": { "start": { "line": 470, "column": 47 }, "end": { "line": 470, "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": 16283, "end": 16287, "loc": { "start": { "line": 471, "column": 6 }, "end": { "line": 471, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16287, "end": 16288, "loc": { "start": { "line": 471, "column": 10 }, "end": { "line": 471, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16288, "end": 16295, "loc": { "start": { "line": 471, "column": 11 }, "end": { "line": 471, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16295, "end": 16296, "loc": { "start": { "line": 471, "column": 18 }, "end": { "line": 471, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16296, "end": 16307, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16307, "end": 16308, "loc": { "start": { "line": 471, "column": 30 }, "end": { "line": 471, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 16308, "end": 16315, "loc": { "start": { "line": 471, "column": 31 }, "end": { "line": 471, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16315, "end": 16316, "loc": { "start": { "line": 471, "column": 38 }, "end": { "line": 471, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16316, "end": 16324, "loc": { "start": { "line": 471, "column": 39 }, "end": { "line": 471, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16325, "end": 16327, "loc": { "start": { "line": 471, "column": 48 }, "end": { "line": 471, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16328, "end": 16329, "loc": { "start": { "line": 471, "column": 51 }, "end": { "line": 471, "column": 52 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16339, "end": 16341, "loc": { "start": { "line": 472, "column": 8 }, "end": { "line": 472, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16341, "end": 16342, "loc": { "start": { "line": 472, "column": 10 }, "end": { "line": 472, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16342, "end": 16350, "loc": { "start": { "line": 472, "column": 11 }, "end": { "line": 472, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16350, "end": 16351, "loc": { "start": { "line": 472, "column": 19 }, "end": { "line": 472, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16351, "end": 16358, "loc": { "start": { "line": 472, "column": 20 }, "end": { "line": 472, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16359, "end": 16361, "loc": { "start": { "line": 472, "column": 28 }, "end": { "line": 472, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16362, "end": 16370, "loc": { "start": { "line": 472, "column": 31 }, "end": { "line": 472, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16370, "end": 16371, "loc": { "start": { "line": 472, "column": 39 }, "end": { "line": 472, "column": 40 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 16371, "end": 16376, "loc": { "start": { "line": 472, "column": 40 }, "end": { "line": 472, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16376, "end": 16377, "loc": { "start": { "line": 472, "column": 45 }, "end": { "line": 472, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16377, "end": 16378, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 472, "column": 47 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 16390, "end": 16393, "loc": { "start": { "line": 473, "column": 10 }, "end": { "line": 473, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16394, "end": 16406, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16406, "end": 16407, "loc": { "start": { "line": 473, "column": 26 }, "end": { "line": 473, "column": 27 } } }, { "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": 16421, "end": 16423, "loc": { "start": { "line": 475, "column": 10 }, "end": { "line": 475, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16423, "end": 16424, "loc": { "start": { "line": 475, "column": 12 }, "end": { "line": 475, "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": 16424, "end": 16430, "loc": { "start": { "line": 475, "column": 13 }, "end": { "line": 475, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16431, "end": 16439, "loc": { "start": { "line": 475, "column": 20 }, "end": { "line": 475, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16439, "end": 16440, "loc": { "start": { "line": 475, "column": 28 }, "end": { "line": 475, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16440, "end": 16447, "loc": { "start": { "line": 475, "column": 29 }, "end": { "line": 475, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 16448, "end": 16451, "loc": { "start": { "line": 475, "column": 37 }, "end": { "line": 475, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 16452, "end": 16460, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16460, "end": 16461, "loc": { "start": { "line": 475, "column": 49 }, "end": { "line": 475, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16461, "end": 16462, "loc": { "start": { "line": 475, "column": 50 }, "end": { "line": 475, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16476, "end": 16488, "loc": { "start": { "line": 476, "column": 12 }, "end": { "line": 476, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16489, "end": 16490, "loc": { "start": { "line": 476, "column": 25 }, "end": { "line": 476, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16491, "end": 16499, "loc": { "start": { "line": 476, "column": 27 }, "end": { "line": 476, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16499, "end": 16500, "loc": { "start": { "line": 476, "column": 35 }, "end": { "line": 476, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16500, "end": 16507, "loc": { "start": { "line": 476, "column": 36 }, "end": { "line": 476, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16507, "end": 16508, "loc": { "start": { "line": 476, "column": 43 }, "end": { "line": 476, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16508, "end": 16513, "loc": { "start": { "line": 476, "column": 44 }, "end": { "line": 476, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16513, "end": 16514, "loc": { "start": { "line": 476, "column": 49 }, "end": { "line": 476, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 16514, "end": 16517, "loc": { "start": { "line": 476, "column": 50 }, "end": { "line": 476, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16517, "end": 16518, "loc": { "start": { "line": 476, "column": 53 }, "end": { "line": 476, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16518, "end": 16519, "loc": { "start": { "line": 476, "column": 54 }, "end": { "line": 476, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16531, "end": 16532, "loc": { "start": { "line": 477, "column": 10 }, "end": { "line": 477, "column": 11 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16546, "end": 16548, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 479, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16548, "end": 16549, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16549, "end": 16561, "loc": { "start": { "line": 479, "column": 13 }, "end": { "line": 479, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16561, "end": 16562, "loc": { "start": { "line": 479, "column": 25 }, "end": { "line": 479, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16562, "end": 16563, "loc": { "start": { "line": 479, "column": 26 }, "end": { "line": 479, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 16577, "end": 16589, "loc": { "start": { "line": 480, "column": 12 }, "end": { "line": 480, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16589, "end": 16590, "loc": { "start": { "line": 480, "column": 24 }, "end": { "line": 480, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 16590, "end": 16597, "loc": { "start": { "line": 480, "column": 25 }, "end": { "line": 480, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16597, "end": 16598, "loc": { "start": { "line": 480, "column": 32 }, "end": { "line": 480, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 16598, "end": 16609, "loc": { "start": { "line": 480, "column": 33 }, "end": { "line": 480, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16610, "end": 16612, "loc": { "start": { "line": 480, "column": 45 }, "end": { "line": 480, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16613, "end": 16614, "loc": { "start": { "line": 480, "column": 48 }, "end": { "line": 480, "column": 49 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 16630, "end": 16633, "loc": { "start": { "line": 481, "column": 14 }, "end": { "line": 481, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 16634, "end": 16645, "loc": { "start": { "line": 481, "column": 18 }, "end": { "line": 481, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16646, "end": 16647, "loc": { "start": { "line": 481, "column": 30 }, "end": { "line": 481, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 16648, "end": 16666, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16666, "end": 16667, "loc": { "start": { "line": 481, "column": 50 }, "end": { "line": 481, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 16667, "end": 16678, "loc": { "start": { "line": 481, "column": 51 }, "end": { "line": 481, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16678, "end": 16679, "loc": { "start": { "line": 481, "column": 62 }, "end": { "line": 481, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16679, "end": 16680, "loc": { "start": { "line": 481, "column": 63 }, "end": { "line": 481, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 16698, "end": 16737, "loc": { "start": { "line": 483, "column": 14 }, "end": { "line": 483, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16753, "end": 16755, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 484, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16755, "end": 16756, "loc": { "start": { "line": 484, "column": 16 }, "end": { "line": 484, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 16756, "end": 16767, "loc": { "start": { "line": 484, "column": 17 }, "end": { "line": 484, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16767, "end": 16768, "loc": { "start": { "line": 484, "column": 28 }, "end": { "line": 484, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16768, "end": 16769, "loc": { "start": { "line": 484, "column": 29 }, "end": { "line": 484, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 16787, "end": 16870, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 99 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 16888, "end": 16890, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 486, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16890, "end": 16891, "loc": { "start": { "line": 486, "column": 18 }, "end": { "line": 486, "column": 19 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 16891, "end": 16892, "loc": { "start": { "line": 486, "column": 19 }, "end": { "line": 486, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 16892, "end": 16896, "loc": { "start": { "line": 486, "column": 20 }, "end": { "line": 486, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16896, "end": 16897, "loc": { "start": { "line": 486, "column": 24 }, "end": { "line": 486, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 16897, "end": 16906, "loc": { "start": { "line": 486, "column": 25 }, "end": { "line": 486, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16906, "end": 16907, "loc": { "start": { "line": 486, "column": 34 }, "end": { "line": 486, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 16907, "end": 16919, "loc": { "start": { "line": 486, "column": 35 }, "end": { "line": 486, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16919, "end": 16920, "loc": { "start": { "line": 486, "column": 47 }, "end": { "line": 486, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 16920, "end": 16931, "loc": { "start": { "line": 486, "column": 48 }, "end": { "line": 486, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16931, "end": 16932, "loc": { "start": { "line": 486, "column": 59 }, "end": { "line": 486, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16932, "end": 16937, "loc": { "start": { "line": 486, "column": 60 }, "end": { "line": 486, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16937, "end": 16938, "loc": { "start": { "line": 486, "column": 65 }, "end": { "line": 486, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 16938, "end": 16941, "loc": { "start": { "line": 486, "column": 66 }, "end": { "line": 486, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16941, "end": 16942, "loc": { "start": { "line": 486, "column": 69 }, "end": { "line": 486, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16942, "end": 16943, "loc": { "start": { "line": 486, "column": 70 }, "end": { "line": 486, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 16944, "end": 16952, "loc": { "start": { "line": 486, "column": 72 }, "end": { "line": 486, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16952, "end": 16953, "loc": { "start": { "line": 486, "column": 80 }, "end": { "line": 486, "column": 81 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 16953, "end": 16958, "loc": { "start": { "line": 486, "column": 81 }, "end": { "line": 486, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16958, "end": 16959, "loc": { "start": { "line": 486, "column": 86 }, "end": { "line": 486, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16959, "end": 16960, "loc": { "start": { "line": 486, "column": 87 }, "end": { "line": 486, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16960, "end": 16961, "loc": { "start": { "line": 486, "column": 88 }, "end": { "line": 486, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 16981, "end": 16999, "loc": { "start": { "line": 487, "column": 18 }, "end": { "line": 487, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16999, "end": 17000, "loc": { "start": { "line": 487, "column": 36 }, "end": { "line": 487, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 17000, "end": 17011, "loc": { "start": { "line": 487, "column": 37 }, "end": { "line": 487, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17011, "end": 17012, "loc": { "start": { "line": 487, "column": 48 }, "end": { "line": 487, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17013, "end": 17014, "loc": { "start": { "line": 487, "column": 50 }, "end": { "line": 487, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17015, "end": 17016, "loc": { "start": { "line": 487, "column": 52 }, "end": { "line": 487, "column": 53 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 17016, "end": 17016, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17016, "end": 17018, "loc": { "start": { "line": 487, "column": 53 }, "end": { "line": 487, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 17018, "end": 17029, "loc": { "start": { "line": 487, "column": 55 }, "end": { "line": 487, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17029, "end": 17030, "loc": { "start": { "line": 487, "column": 66 }, "end": { "line": 487, "column": 67 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 17030, "end": 17031, "loc": { "start": { "line": 487, "column": 67 }, "end": { "line": 487, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17031, "end": 17033, "loc": { "start": { "line": 487, "column": 68 }, "end": { "line": 487, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 17033, "end": 17041, "loc": { "start": { "line": 487, "column": 70 }, "end": { "line": 487, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17041, "end": 17042, "loc": { "start": { "line": 487, "column": 78 }, "end": { "line": 487, "column": 79 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 17042, "end": 17047, "loc": { "start": { "line": 487, "column": 79 }, "end": { "line": 487, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17047, "end": 17048, "loc": { "start": { "line": 487, "column": 84 }, "end": { "line": 487, "column": 85 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 17048, "end": 17048, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17048, "end": 17049, "loc": { "start": { "line": 487, "column": 85 }, "end": { "line": 487, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17049, "end": 17050, "loc": { "start": { "line": 487, "column": 86 }, "end": { "line": 487, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17068, "end": 17069, "loc": { "start": { "line": 488, "column": 16 }, "end": { "line": 488, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17085, "end": 17086, "loc": { "start": { "line": 489, "column": 14 }, "end": { "line": 489, "column": 15 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 17087, "end": 17091, "loc": { "start": { "line": 489, "column": 16 }, "end": { "line": 489, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17092, "end": 17093, "loc": { "start": { "line": 489, "column": 21 }, "end": { "line": 489, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 17111, "end": 17129, "loc": { "start": { "line": 490, "column": 16 }, "end": { "line": 490, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17129, "end": 17130, "loc": { "start": { "line": 490, "column": 34 }, "end": { "line": 490, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 17130, "end": 17141, "loc": { "start": { "line": 490, "column": 35 }, "end": { "line": 490, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17141, "end": 17142, "loc": { "start": { "line": 490, "column": 46 }, "end": { "line": 490, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17143, "end": 17144, "loc": { "start": { "line": 490, "column": 48 }, "end": { "line": 490, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 17145, "end": 17153, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17153, "end": 17154, "loc": { "start": { "line": 490, "column": 58 }, "end": { "line": 490, "column": 59 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 17154, "end": 17159, "loc": { "start": { "line": 490, "column": 59 }, "end": { "line": 490, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17159, "end": 17160, "loc": { "start": { "line": 490, "column": 64 }, "end": { "line": 490, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17176, "end": 17177, "loc": { "start": { "line": 491, "column": 14 }, "end": { "line": 491, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17191, "end": 17192, "loc": { "start": { "line": 492, "column": 12 }, "end": { "line": 492, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17192, "end": 17193, "loc": { "start": { "line": 492, "column": 13 }, "end": { "line": 492, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17193, "end": 17194, "loc": { "start": { "line": 492, "column": 14 }, "end": { "line": 492, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17206, "end": 17207, "loc": { "start": { "line": 493, "column": 10 }, "end": { "line": 493, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17217, "end": 17218, "loc": { "start": { "line": 494, "column": 8 }, "end": { "line": 494, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 17219, "end": 17223, "loc": { "start": { "line": 494, "column": 10 }, "end": { "line": 494, "column": 14 } } }, { "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": 494, "column": 15 }, "end": { "line": 494, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17237, "end": 17244, "loc": { "start": { "line": 495, "column": 10 }, "end": { "line": 495, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17244, "end": 17245, "loc": { "start": { "line": 495, "column": 17 }, "end": { "line": 495, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 17245, "end": 17249, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17249, "end": 17250, "loc": { "start": { "line": 495, "column": 22 }, "end": { "line": 495, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17250, "end": 17251, "loc": { "start": { "line": 495, "column": 23 }, "end": { "line": 495, "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": 17251, "end": 17339, "loc": { "start": { "line": 495, "column": 24 }, "end": { "line": 495, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17339, "end": 17340, "loc": { "start": { "line": 495, "column": 112 }, "end": { "line": 495, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17340, "end": 17341, "loc": { "start": { "line": 495, "column": 113 }, "end": { "line": 495, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17351, "end": 17352, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17360, "end": 17361, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17361, "end": 17362, "loc": { "start": { "line": 497, "column": 7 }, "end": { "line": 497, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17362, "end": 17363, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17369, "end": 17370, "loc": { "start": { "line": 498, "column": 4 }, "end": { "line": 498, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 17378, "end": 17444, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 502, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17450, "end": 17454, "loc": { "start": { "line": 503, "column": 4 }, "end": { "line": 503, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17454, "end": 17455, "loc": { "start": { "line": 503, "column": 8 }, "end": { "line": 503, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 17455, "end": 17466, "loc": { "start": { "line": 503, "column": 9 }, "end": { "line": 503, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17466, "end": 17467, "loc": { "start": { "line": 503, "column": 20 }, "end": { "line": 503, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 17467, "end": 17476, "loc": { "start": { "line": 503, "column": 21 }, "end": { "line": 503, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 17477, "end": 17479, "loc": { "start": { "line": 503, "column": 31 }, "end": { "line": 503, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17480, "end": 17481, "loc": { "start": { "line": 503, "column": 34 }, "end": { "line": 503, "column": 35 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 17481, "end": 17482, "loc": { "start": { "line": 503, "column": 35 }, "end": { "line": 503, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17482, "end": 17484, "loc": { "start": { "line": 503, "column": 36 }, "end": { "line": 503, "column": 38 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17484, "end": 17488, "loc": { "start": { "line": 503, "column": 38 }, "end": { "line": 503, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17488, "end": 17489, "loc": { "start": { "line": 503, "column": 42 }, "end": { "line": 503, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17489, "end": 17496, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17496, "end": 17497, "loc": { "start": { "line": 503, "column": 50 }, "end": { "line": 503, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 17497, "end": 17502, "loc": { "start": { "line": 503, "column": 51 }, "end": { "line": 503, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17502, "end": 17503, "loc": { "start": { "line": 503, "column": 56 }, "end": { "line": 503, "column": 57 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 17503, "end": 17504, "loc": { "start": { "line": 503, "column": 57 }, "end": { "line": 503, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17504, "end": 17506, "loc": { "start": { "line": 503, "column": 58 }, "end": { "line": 503, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 17506, "end": 17517, "loc": { "start": { "line": 503, "column": 60 }, "end": { "line": 503, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17517, "end": 17518, "loc": { "start": { "line": 503, "column": 71 }, "end": { "line": 503, "column": 72 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 17518, "end": 17518, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17518, "end": 17519, "loc": { "start": { "line": 503, "column": 72 }, "end": { "line": 503, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17519, "end": 17520, "loc": { "start": { "line": 503, "column": 73 }, "end": { "line": 503, "column": 74 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 17528, "end": 17575, "loc": { "start": { "line": 505, "column": 4 }, "end": { "line": 507, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 17581, "end": 17587, "loc": { "start": { "line": 508, "column": 4 }, "end": { "line": 508, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17587, "end": 17588, "loc": { "start": { "line": 508, "column": 10 }, "end": { "line": 508, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17588, "end": 17592, "loc": { "start": { "line": 508, "column": 11 }, "end": { "line": 508, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17592, "end": 17593, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 508, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17593, "end": 17600, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17600, "end": 17601, "loc": { "start": { "line": 508, "column": 23 }, "end": { "line": 508, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 17601, "end": 17611, "loc": { "start": { "line": 508, "column": 24 }, "end": { "line": 508, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17611, "end": 17612, "loc": { "start": { "line": 508, "column": 34 }, "end": { "line": 508, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17612, "end": 17613, "loc": { "start": { "line": 508, "column": 35 }, "end": { "line": 508, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 17613, "end": 17620, "loc": { "start": { "line": 508, "column": 36 }, "end": { "line": 508, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17620, "end": 17621, "loc": { "start": { "line": 508, "column": 43 }, "end": { "line": 508, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17621, "end": 17622, "loc": { "start": { "line": 508, "column": 44 }, "end": { "line": 508, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 17622, "end": 17625, "loc": { "start": { "line": 508, "column": 45 }, "end": { "line": 508, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17625, "end": 17626, "loc": { "start": { "line": 508, "column": 48 }, "end": { "line": 508, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 17627, "end": 17633, "loc": { "start": { "line": 508, "column": 50 }, "end": { "line": 508, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17633, "end": 17634, "loc": { "start": { "line": 508, "column": 56 }, "end": { "line": 508, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17635, "end": 17637, "loc": { "start": { "line": 508, "column": 58 }, "end": { "line": 508, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17638, "end": 17639, "loc": { "start": { "line": 508, "column": 61 }, "end": { "line": 508, "column": 62 } } }, { "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": 17647, "end": 17650, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 17651, "end": 17659, "loc": { "start": { "line": 509, "column": 10 }, "end": { "line": 509, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17660, "end": 17661, "loc": { "start": { "line": 509, "column": 19 }, "end": { "line": 509, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 17662, "end": 17665, "loc": { "start": { "line": 509, "column": 21 }, "end": { "line": 509, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17665, "end": 17666, "loc": { "start": { "line": 509, "column": 24 }, "end": { "line": 509, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 17666, "end": 17671, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17671, "end": 17672, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "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": 17672, "end": 17675, "loc": { "start": { "line": 509, "column": 31 }, "end": { "line": 509, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17675, "end": 17676, "loc": { "start": { "line": 509, "column": 34 }, "end": { "line": 509, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17676, "end": 17677, "loc": { "start": { "line": 509, "column": 35 }, "end": { "line": 509, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 17687, "end": 17730, "loc": { "start": { "line": 511, "column": 6 }, "end": { "line": 513, "column": 9 } } }, { "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": 17738, "end": 17741, "loc": { "start": { "line": 514, "column": 6 }, "end": { "line": 514, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 17742, "end": 17748, "loc": { "start": { "line": 514, "column": 10 }, "end": { "line": 514, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17749, "end": 17750, "loc": { "start": { "line": 514, "column": 17 }, "end": { "line": 514, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17751, "end": 17759, "loc": { "start": { "line": 514, "column": 19 }, "end": { "line": 514, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17759, "end": 17760, "loc": { "start": { "line": 514, "column": 27 }, "end": { "line": 514, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 17760, "end": 17773, "loc": { "start": { "line": 514, "column": 28 }, "end": { "line": 514, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17773, "end": 17774, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "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": 17774, "end": 17779, "loc": { "start": { "line": 514, "column": 42 }, "end": { "line": 514, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17779, "end": 17780, "loc": { "start": { "line": 514, "column": 47 }, "end": { "line": 514, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17780, "end": 17781, "loc": { "start": { "line": 514, "column": 48 }, "end": { "line": 514, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 17789, "end": 17795, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17795, "end": 17796, "loc": { "start": { "line": 515, "column": 12 }, "end": { "line": 515, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 17796, "end": 17805, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 17806, "end": 17808, "loc": { "start": { "line": 515, "column": 23 }, "end": { "line": 515, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-row", "start": 17809, "end": 17817, "loc": { "start": { "line": 515, "column": 26 }, "end": { "line": 515, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17817, "end": 17818, "loc": { "start": { "line": 515, "column": 34 }, "end": { "line": 515, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 17828, "end": 17889, "loc": { "start": { "line": 517, "column": 6 }, "end": { "line": 519, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 17897, "end": 17905, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17905, "end": 17906, "loc": { "start": { "line": 520, "column": 14 }, "end": { "line": 520, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 17906, "end": 17913, "loc": { "start": { "line": 520, "column": 15 }, "end": { "line": 520, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17913, "end": 17914, "loc": { "start": { "line": 520, "column": 22 }, "end": { "line": 520, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17914, "end": 17915, "loc": { "start": { "line": 520, "column": 23 }, "end": { "line": 520, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17915, "end": 17921, "loc": { "start": { "line": 520, "column": 24 }, "end": { "line": 520, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17921, "end": 17922, "loc": { "start": { "line": 520, "column": 30 }, "end": { "line": 520, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 17923, "end": 17929, "loc": { "start": { "line": 520, "column": 32 }, "end": { "line": 520, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17929, "end": 17930, "loc": { "start": { "line": 520, "column": 38 }, "end": { "line": 520, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17931, "end": 17933, "loc": { "start": { "line": 520, "column": 40 }, "end": { "line": 520, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17934, "end": 17935, "loc": { "start": { "line": 520, "column": 43 }, "end": { "line": 520, "column": 44 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 17945, "end": 17948, "loc": { "start": { "line": 521, "column": 8 }, "end": { "line": 521, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 17949, "end": 17960, "loc": { "start": { "line": 521, "column": 12 }, "end": { "line": 521, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17961, "end": 17962, "loc": { "start": { "line": 521, "column": 24 }, "end": { "line": 521, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17963, "end": 17967, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17967, "end": 17968, "loc": { "start": { "line": 521, "column": 30 }, "end": { "line": 521, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 17968, "end": 17977, "loc": { "start": { "line": 521, "column": 31 }, "end": { "line": 521, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17977, "end": 17978, "loc": { "start": { "line": 521, "column": 40 }, "end": { "line": 521, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 17978, "end": 17992, "loc": { "start": { "line": 521, "column": 41 }, "end": { "line": 521, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17992, "end": 17993, "loc": { "start": { "line": 521, "column": 55 }, "end": { "line": 521, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17993, "end": 17999, "loc": { "start": { "line": 521, "column": 56 }, "end": { "line": 521, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17999, "end": 18000, "loc": { "start": { "line": 521, "column": 62 }, "end": { "line": 521, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18000, "end": 18001, "loc": { "start": { "line": 521, "column": 63 }, "end": { "line": 521, "column": 64 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 18011, "end": 18014, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 18015, "end": 18031, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18032, "end": 18033, "loc": { "start": { "line": 522, "column": 29 }, "end": { "line": 522, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 18034, "end": 18052, "loc": { "start": { "line": 522, "column": 31 }, "end": { "line": 522, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18052, "end": 18053, "loc": { "start": { "line": 522, "column": 49 }, "end": { "line": 522, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18053, "end": 18059, "loc": { "start": { "line": 522, "column": 50 }, "end": { "line": 522, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18059, "end": 18060, "loc": { "start": { "line": 522, "column": 56 }, "end": { "line": 522, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18060, "end": 18061, "loc": { "start": { "line": 522, "column": 57 }, "end": { "line": 522, "column": 58 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 18071, "end": 18074, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 18075, "end": 18092, "loc": { "start": { "line": 523, "column": 12 }, "end": { "line": 523, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18093, "end": 18094, "loc": { "start": { "line": 523, "column": 30 }, "end": { "line": 523, "column": 31 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18095, "end": 18099, "loc": { "start": { "line": 523, "column": 32 }, "end": { "line": 523, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18099, "end": 18100, "loc": { "start": { "line": 523, "column": 36 }, "end": { "line": 523, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 18100, "end": 18109, "loc": { "start": { "line": 523, "column": 37 }, "end": { "line": 523, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18109, "end": 18110, "loc": { "start": { "line": 523, "column": 46 }, "end": { "line": 523, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 18110, "end": 18130, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18130, "end": 18131, "loc": { "start": { "line": 523, "column": 67 }, "end": { "line": 523, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18131, "end": 18137, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18137, "end": 18138, "loc": { "start": { "line": 523, "column": 74 }, "end": { "line": 523, "column": 75 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18139, "end": 18143, "loc": { "start": { "line": 523, "column": 76 }, "end": { "line": 523, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18143, "end": 18144, "loc": { "start": { "line": 523, "column": 80 }, "end": { "line": 523, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18144, "end": 18151, "loc": { "start": { "line": 523, "column": 81 }, "end": { "line": 523, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18151, "end": 18152, "loc": { "start": { "line": 523, "column": 88 }, "end": { "line": 523, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 18152, "end": 18159, "loc": { "start": { "line": 523, "column": 89 }, "end": { "line": 523, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18159, "end": 18160, "loc": { "start": { "line": 523, "column": 96 }, "end": { "line": 523, "column": 97 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18161, "end": 18165, "loc": { "start": { "line": 523, "column": 98 }, "end": { "line": 523, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18165, "end": 18166, "loc": { "start": { "line": 523, "column": 102 }, "end": { "line": 523, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18166, "end": 18173, "loc": { "start": { "line": 523, "column": 103 }, "end": { "line": 523, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18173, "end": 18174, "loc": { "start": { "line": 523, "column": 110 }, "end": { "line": 523, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 18174, "end": 18186, "loc": { "start": { "line": 523, "column": 111 }, "end": { "line": 523, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18186, "end": 18187, "loc": { "start": { "line": 523, "column": 123 }, "end": { "line": 523, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18187, "end": 18188, "loc": { "start": { "line": 523, "column": 124 }, "end": { "line": 523, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 18200, "end": 18244, "loc": { "start": { "line": 525, "column": 8 }, "end": { "line": 527, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 18254, "end": 18257, "loc": { "start": { "line": 528, "column": 8 }, "end": { "line": 528, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18258, "end": 18267, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18268, "end": 18269, "loc": { "start": { "line": 528, "column": 22 }, "end": { "line": 528, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18270, "end": 18278, "loc": { "start": { "line": 528, "column": 24 }, "end": { "line": 528, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18278, "end": 18279, "loc": { "start": { "line": 528, "column": 32 }, "end": { "line": 528, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 18279, "end": 18292, "loc": { "start": { "line": 528, "column": 33 }, "end": { "line": 528, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18292, "end": 18293, "loc": { "start": { "line": 528, "column": 46 }, "end": { "line": 528, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "div", "start": 18293, "end": 18298, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18298, "end": 18299, "loc": { "start": { "line": 528, "column": 52 }, "end": { "line": 528, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18299, "end": 18300, "loc": { "start": { "line": 528, "column": 53 }, "end": { "line": 528, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18310, "end": 18319, "loc": { "start": { "line": 529, "column": 8 }, "end": { "line": 529, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18319, "end": 18320, "loc": { "start": { "line": 529, "column": 17 }, "end": { "line": 529, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 18320, "end": 18329, "loc": { "start": { "line": 529, "column": 18 }, "end": { "line": 529, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 18330, "end": 18332, "loc": { "start": { "line": 529, "column": 28 }, "end": { "line": 529, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18333, "end": 18334, "loc": { "start": { "line": 529, "column": 31 }, "end": { "line": 529, "column": 32 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-button ", "start": 18334, "end": 18344, "loc": { "start": { "line": 529, "column": 32 }, "end": { "line": 529, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18344, "end": 18346, "loc": { "start": { "line": 529, "column": 42 }, "end": { "line": 529, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 18346, "end": 18357, "loc": { "start": { "line": 529, "column": 44 }, "end": { "line": 529, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18357, "end": 18358, "loc": { "start": { "line": 529, "column": 55 }, "end": { "line": 529, "column": 56 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18358, "end": 18358, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18358, "end": 18360, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 18360, "end": 18376, "loc": { "start": { "line": 529, "column": 58 }, "end": { "line": 529, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18377, "end": 18378, "loc": { "start": { "line": 529, "column": 75 }, "end": { "line": 529, "column": 76 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 18379, "end": 18382, "loc": { "start": { "line": 529, "column": 77 }, "end": { "line": 529, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 18382, "end": 18383, "loc": { "start": { "line": 529, "column": 80 }, "end": { "line": 529, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 18383, "end": 18399, "loc": { "start": { "line": 529, "column": 81 }, "end": { "line": 529, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18400, "end": 18401, "loc": { "start": { "line": 529, "column": 98 }, "end": { "line": 529, "column": 99 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18402, "end": 18404, "loc": { "start": { "line": 529, "column": 100 }, "end": { "line": 529, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18404, "end": 18405, "loc": { "start": { "line": 529, "column": 102 }, "end": { "line": 529, "column": 103 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18405, "end": 18405, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18405, "end": 18406, "loc": { "start": { "line": 529, "column": 103 }, "end": { "line": 529, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18406, "end": 18407, "loc": { "start": { "line": 529, "column": 104 }, "end": { "line": 529, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18417, "end": 18426, "loc": { "start": { "line": 530, "column": 8 }, "end": { "line": 530, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18426, "end": 18427, "loc": { "start": { "line": 530, "column": 17 }, "end": { "line": 530, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 18427, "end": 18434, "loc": { "start": { "line": 530, "column": 18 }, "end": { "line": 530, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18435, "end": 18436, "loc": { "start": { "line": 530, "column": 26 }, "end": { "line": 530, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18437, "end": 18438, "loc": { "start": { "line": 530, "column": 28 }, "end": { "line": 530, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18438, "end": 18439, "loc": { "start": { "line": 530, "column": 29 }, "end": { "line": 530, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18440, "end": 18442, "loc": { "start": { "line": 530, "column": 31 }, "end": { "line": 530, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18443, "end": 18447, "loc": { "start": { "line": 530, "column": 34 }, "end": { "line": 530, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18447, "end": 18448, "loc": { "start": { "line": 530, "column": 38 }, "end": { "line": 530, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 18448, "end": 18467, "loc": { "start": { "line": 530, "column": 39 }, "end": { "line": 530, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18467, "end": 18468, "loc": { "start": { "line": 530, "column": 58 }, "end": { "line": 530, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18468, "end": 18474, "loc": { "start": { "line": 530, "column": 59 }, "end": { "line": 530, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18474, "end": 18475, "loc": { "start": { "line": 530, "column": 65 }, "end": { "line": 530, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18475, "end": 18476, "loc": { "start": { "line": 530, "column": 66 }, "end": { "line": 530, "column": 67 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 18488, "end": 18534, "loc": { "start": { "line": 532, "column": 8 }, "end": { "line": 534, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18544, "end": 18553, "loc": { "start": { "line": 535, "column": 8 }, "end": { "line": 535, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18553, "end": 18554, "loc": { "start": { "line": 535, "column": 17 }, "end": { "line": 535, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18554, "end": 18566, "loc": { "start": { "line": 535, "column": 18 }, "end": { "line": 535, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18566, "end": 18567, "loc": { "start": { "line": 535, "column": 30 }, "end": { "line": 535, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-skBtn", "start": 18567, "end": 18579, "loc": { "start": { "line": 535, "column": 31 }, "end": { "line": 535, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18579, "end": 18580, "loc": { "start": { "line": 535, "column": 43 }, "end": { "line": 535, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 18581, "end": 18587, "loc": { "start": { "line": 535, "column": 45 }, "end": { "line": 535, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18587, "end": 18588, "loc": { "start": { "line": 535, "column": 51 }, "end": { "line": 535, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18588, "end": 18589, "loc": { "start": { "line": 535, "column": 52 }, "end": { "line": 535, "column": 53 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding unique id\r\n * Since there's no limit on spawning same buttons, the unique id ensures you can style every button\r\n ", "start": 18601, "end": 18756, "loc": { "start": { "line": 537, "column": 8 }, "end": { "line": 540, "column": 11 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 18766, "end": 18769, "loc": { "start": { "line": 541, "column": 8 }, "end": { "line": 541, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 18770, "end": 18779, "loc": { "start": { "line": 541, "column": 12 }, "end": { "line": 541, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18780, "end": 18781, "loc": { "start": { "line": 541, "column": 22 }, "end": { "line": 541, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18782, "end": 18783, "loc": { "start": { "line": 541, "column": 24 }, "end": { "line": 541, "column": 25 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18783, "end": 18783, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18783, "end": 18785, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18785, "end": 18789, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18789, "end": 18790, "loc": { "start": { "line": 541, "column": 31 }, "end": { "line": 541, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18790, "end": 18797, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18797, "end": 18798, "loc": { "start": { "line": 541, "column": 39 }, "end": { "line": 541, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 18798, "end": 18808, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18808, "end": 18809, "loc": { "start": { "line": 541, "column": 50 }, "end": { "line": 541, "column": 51 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-r", "start": 18809, "end": 18811, "loc": { "start": { "line": 541, "column": 51 }, "end": { "line": 541, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18811, "end": 18813, "loc": { "start": { "line": 541, "column": 53 }, "end": { "line": 541, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 18813, "end": 18819, "loc": { "start": { "line": 541, "column": 55 }, "end": { "line": 541, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18819, "end": 18820, "loc": { "start": { "line": 541, "column": 61 }, "end": { "line": 541, "column": 62 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "b", "start": 18820, "end": 18821, "loc": { "start": { "line": 541, "column": 62 }, "end": { "line": 541, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18821, "end": 18823, "loc": { "start": { "line": 541, "column": 63 }, "end": { "line": 541, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 18823, "end": 18829, "loc": { "start": { "line": 541, "column": 65 }, "end": { "line": 541, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18829, "end": 18830, "loc": { "start": { "line": 541, "column": 71 }, "end": { "line": 541, "column": 72 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 18830, "end": 18830, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18830, "end": 18831, "loc": { "start": { "line": 541, "column": 72 }, "end": { "line": 541, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18831, "end": 18832, "loc": { "start": { "line": 541, "column": 73 }, "end": { "line": 541, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18842, "end": 18851, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18851, "end": 18852, "loc": { "start": { "line": 542, "column": 17 }, "end": { "line": 542, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18852, "end": 18864, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18864, "end": 18865, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 542, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-skBtnUID", "start": 18865, "end": 18880, "loc": { "start": { "line": 542, "column": 31 }, "end": { "line": 542, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18880, "end": 18881, "loc": { "start": { "line": 542, "column": 46 }, "end": { "line": 542, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 18882, "end": 18891, "loc": { "start": { "line": 542, "column": 48 }, "end": { "line": 542, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18891, "end": 18892, "loc": { "start": { "line": 542, "column": 57 }, "end": { "line": 542, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18892, "end": 18893, "loc": { "start": { "line": 542, "column": 58 }, "end": { "line": 542, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 18905, "end": 18954, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 546, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 18964, "end": 18973, "loc": { "start": { "line": 547, "column": 8 }, "end": { "line": 547, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18973, "end": 18974, "loc": { "start": { "line": 547, "column": 17 }, "end": { "line": 547, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 18974, "end": 18986, "loc": { "start": { "line": 547, "column": 18 }, "end": { "line": 547, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18986, "end": 18987, "loc": { "start": { "line": 547, "column": 30 }, "end": { "line": 547, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "data-displayLabel", "start": 18987, "end": 19006, "loc": { "start": { "line": 547, "column": 31 }, "end": { "line": 547, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19006, "end": 19007, "loc": { "start": { "line": 547, "column": 50 }, "end": { "line": 547, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 19008, "end": 19025, "loc": { "start": { "line": 547, "column": 52 }, "end": { "line": 547, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19025, "end": 19026, "loc": { "start": { "line": 547, "column": 69 }, "end": { "line": 547, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19026, "end": 19027, "loc": { "start": { "line": 547, "column": 70 }, "end": { "line": 547, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 19039, "end": 19097, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 551, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 19107, "end": 19110, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 19111, "end": 19124, "loc": { "start": { "line": 552, "column": 12 }, "end": { "line": 552, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19125, "end": 19126, "loc": { "start": { "line": 552, "column": 26 }, "end": { "line": 552, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 19127, "end": 19135, "loc": { "start": { "line": 552, "column": 28 }, "end": { "line": 552, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19135, "end": 19136, "loc": { "start": { "line": 552, "column": 36 }, "end": { "line": 552, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 19136, "end": 19149, "loc": { "start": { "line": 552, "column": 37 }, "end": { "line": 552, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19149, "end": 19150, "loc": { "start": { "line": 552, "column": 50 }, "end": { "line": 552, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "span", "start": 19150, "end": 19156, "loc": { "start": { "line": 552, "column": 51 }, "end": { "line": 552, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19156, "end": 19157, "loc": { "start": { "line": 552, "column": 57 }, "end": { "line": 552, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19157, "end": 19158, "loc": { "start": { "line": 552, "column": 58 }, "end": { "line": 552, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 19168, "end": 19181, "loc": { "start": { "line": 553, "column": 8 }, "end": { "line": 553, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19181, "end": 19182, "loc": { "start": { "line": 553, "column": 21 }, "end": { "line": 553, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 19182, "end": 19191, "loc": { "start": { "line": 553, "column": 22 }, "end": { "line": 553, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19192, "end": 19193, "loc": { "start": { "line": 553, "column": 32 }, "end": { "line": 553, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 19194, "end": 19211, "loc": { "start": { "line": 553, "column": 34 }, "end": { "line": 553, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19211, "end": 19212, "loc": { "start": { "line": 553, "column": 51 }, "end": { "line": 553, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 19222, "end": 19231, "loc": { "start": { "line": 554, "column": 8 }, "end": { "line": 554, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19231, "end": 19232, "loc": { "start": { "line": 554, "column": 17 }, "end": { "line": 554, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 19232, "end": 19243, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19243, "end": 19244, "loc": { "start": { "line": 554, "column": 29 }, "end": { "line": 554, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 19244, "end": 19257, "loc": { "start": { "line": 554, "column": 30 }, "end": { "line": 554, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19257, "end": 19258, "loc": { "start": { "line": 554, "column": 43 }, "end": { "line": 554, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19258, "end": 19259, "loc": { "start": { "line": 554, "column": 44 }, "end": { "line": 554, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 19271, "end": 19324, "loc": { "start": { "line": 556, "column": 8 }, "end": { "line": 558, "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": 19334, "end": 19336, "loc": { "start": { "line": 559, "column": 8 }, "end": { "line": 559, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19336, "end": 19337, "loc": { "start": { "line": 559, "column": 10 }, "end": { "line": 559, "column": 11 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 19337, "end": 19338, "loc": { "start": { "line": 559, "column": 11 }, "end": { "line": 559, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19338, "end": 19342, "loc": { "start": { "line": 559, "column": 12 }, "end": { "line": 559, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19342, "end": 19343, "loc": { "start": { "line": 559, "column": 16 }, "end": { "line": 559, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 19343, "end": 19357, "loc": { "start": { "line": 559, "column": 17 }, "end": { "line": 559, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19357, "end": 19358, "loc": { "start": { "line": 559, "column": 31 }, "end": { "line": 559, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 19358, "end": 19364, "loc": { "start": { "line": 559, "column": 32 }, "end": { "line": 559, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19364, "end": 19365, "loc": { "start": { "line": 559, "column": 38 }, "end": { "line": 559, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19365, "end": 19366, "loc": { "start": { "line": 559, "column": 39 }, "end": { "line": 559, "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": 19378, "end": 19382, "loc": { "start": { "line": 560, "column": 10 }, "end": { "line": 560, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19382, "end": 19383, "loc": { "start": { "line": 560, "column": 14 }, "end": { "line": 560, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 19383, "end": 19397, "loc": { "start": { "line": 560, "column": 15 }, "end": { "line": 560, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19397, "end": 19398, "loc": { "start": { "line": 560, "column": 29 }, "end": { "line": 560, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 19398, "end": 19404, "loc": { "start": { "line": 560, "column": 30 }, "end": { "line": 560, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19404, "end": 19405, "loc": { "start": { "line": 560, "column": 36 }, "end": { "line": 560, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19406, "end": 19407, "loc": { "start": { "line": 560, "column": 38 }, "end": { "line": 560, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19408, "end": 19409, "loc": { "start": { "line": 560, "column": 40 }, "end": { "line": 560, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19409, "end": 19410, "loc": { "start": { "line": 560, "column": 41 }, "end": { "line": 560, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19410, "end": 19411, "loc": { "start": { "line": 560, "column": 42 }, "end": { "line": 560, "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": 19423, "end": 19427, "loc": { "start": { "line": 562, "column": 8 }, "end": { "line": 562, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19427, "end": 19428, "loc": { "start": { "line": 562, "column": 12 }, "end": { "line": 562, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 19428, "end": 19442, "loc": { "start": { "line": 562, "column": 13 }, "end": { "line": 562, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19442, "end": 19443, "loc": { "start": { "line": 562, "column": 27 }, "end": { "line": 562, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 19443, "end": 19449, "loc": { "start": { "line": 562, "column": 28 }, "end": { "line": 562, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19449, "end": 19450, "loc": { "start": { "line": 562, "column": 34 }, "end": { "line": 562, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19450, "end": 19451, "loc": { "start": { "line": 562, "column": 35 }, "end": { "line": 562, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 19451, "end": 19455, "loc": { "start": { "line": 562, "column": 36 }, "end": { "line": 562, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19455, "end": 19456, "loc": { "start": { "line": 562, "column": 40 }, "end": { "line": 562, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 19456, "end": 19465, "loc": { "start": { "line": 562, "column": 41 }, "end": { "line": 562, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19465, "end": 19466, "loc": { "start": { "line": 562, "column": 50 }, "end": { "line": 562, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19466, "end": 19467, "loc": { "start": { "line": 562, "column": 51 }, "end": { "line": 562, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 19479, "end": 19531, "loc": { "start": { "line": 564, "column": 8 }, "end": { "line": 566, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 19541, "end": 19547, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19547, "end": 19548, "loc": { "start": { "line": 567, "column": 14 }, "end": { "line": 567, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 19548, "end": 19559, "loc": { "start": { "line": 567, "column": 15 }, "end": { "line": 567, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19559, "end": 19560, "loc": { "start": { "line": 567, "column": 26 }, "end": { "line": 567, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 19560, "end": 19569, "loc": { "start": { "line": 567, "column": 27 }, "end": { "line": 567, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19569, "end": 19570, "loc": { "start": { "line": 567, "column": 36 }, "end": { "line": 567, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19570, "end": 19571, "loc": { "start": { "line": 567, "column": 37 }, "end": { "line": 567, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19581, "end": 19582, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19582, "end": 19583, "loc": { "start": { "line": 569, "column": 7 }, "end": { "line": 569, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19583, "end": 19584, "loc": { "start": { "line": 569, "column": 8 }, "end": { "line": 569, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 19594, "end": 19644, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 573, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19652, "end": 19656, "loc": { "start": { "line": 574, "column": 6 }, "end": { "line": 574, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19656, "end": 19657, "loc": { "start": { "line": 574, "column": 10 }, "end": { "line": 574, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 19657, "end": 19668, "loc": { "start": { "line": 574, "column": 11 }, "end": { "line": 574, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19668, "end": 19669, "loc": { "start": { "line": 574, "column": 22 }, "end": { "line": 574, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 19669, "end": 19680, "loc": { "start": { "line": 574, "column": 23 }, "end": { "line": 574, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19680, "end": 19681, "loc": { "start": { "line": 574, "column": 34 }, "end": { "line": 574, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 19681, "end": 19687, "loc": { "start": { "line": 574, "column": 35 }, "end": { "line": 574, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19687, "end": 19688, "loc": { "start": { "line": 574, "column": 41 }, "end": { "line": 574, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19688, "end": 19689, "loc": { "start": { "line": 574, "column": 42 }, "end": { "line": 574, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19695, "end": 19696, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19696, "end": 19697, "loc": { "start": { "line": 575, "column": 5 }, "end": { "line": 575, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19697, "end": 19698, "loc": { "start": { "line": 575, "column": 6 }, "end": { "line": 575, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 19706, "end": 19743, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 579, "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": 19749, "end": 19753, "loc": { "start": { "line": 580, "column": 4 }, "end": { "line": 580, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19753, "end": 19754, "loc": { "start": { "line": 580, "column": 8 }, "end": { "line": 580, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19754, "end": 19762, "loc": { "start": { "line": 580, "column": 9 }, "end": { "line": 580, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19762, "end": 19763, "loc": { "start": { "line": 580, "column": 17 }, "end": { "line": 580, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19763, "end": 19764, "loc": { "start": { "line": 580, "column": 18 }, "end": { "line": 580, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19764, "end": 19765, "loc": { "start": { "line": 580, "column": 19 }, "end": { "line": 580, "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": 19773, "end": 19775, "loc": { "start": { "line": 582, "column": 4 }, "end": { "line": 582, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19775, "end": 19776, "loc": { "start": { "line": 582, "column": 6 }, "end": { "line": 582, "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": 19776, "end": 19777, "loc": { "start": { "line": 582, "column": 7 }, "end": { "line": 582, "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": 19777, "end": 19781, "loc": { "start": { "line": 582, "column": 8 }, "end": { "line": 582, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19781, "end": 19782, "loc": { "start": { "line": 582, "column": 12 }, "end": { "line": 582, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 19782, "end": 19793, "loc": { "start": { "line": 582, "column": 13 }, "end": { "line": 582, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19793, "end": 19794, "loc": { "start": { "line": 582, "column": 24 }, "end": { "line": 582, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19794, "end": 19795, "loc": { "start": { "line": 582, "column": 25 }, "end": { "line": 582, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 19803, "end": 19885, "loc": { "start": { "line": 583, "column": 6 }, "end": { "line": 585, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19893, "end": 19897, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19897, "end": 19898, "loc": { "start": { "line": 586, "column": 10 }, "end": { "line": 586, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 19898, "end": 19909, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19910, "end": 19911, "loc": { "start": { "line": 586, "column": 23 }, "end": { "line": 586, "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": 19912, "end": 19916, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19916, "end": 19917, "loc": { "start": { "line": 586, "column": 29 }, "end": { "line": 586, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 19927, "end": 19966, "loc": { "start": { "line": 588, "column": 6 }, "end": { "line": 590, "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": 19974, "end": 19978, "loc": { "start": { "line": 591, "column": 6 }, "end": { "line": 591, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19978, "end": 19979, "loc": { "start": { "line": 591, "column": 10 }, "end": { "line": 591, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 19979, "end": 19985, "loc": { "start": { "line": 591, "column": 11 }, "end": { "line": 591, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19985, "end": 19986, "loc": { "start": { "line": 591, "column": 17 }, "end": { "line": 591, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19986, "end": 19987, "loc": { "start": { "line": 591, "column": 18 }, "end": { "line": 591, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19987, "end": 19988, "loc": { "start": { "line": 591, "column": 19 }, "end": { "line": 591, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19994, "end": 19995, "loc": { "start": { "line": 592, "column": 4 }, "end": { "line": 592, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19999, "end": 20000, "loc": { "start": { "line": 593, "column": 2 }, "end": { "line": 593, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20002, "end": 20003, "loc": { "start": { "line": 594, "column": 0 }, "end": { "line": 594, "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": 20007, "end": 20013, "loc": { "start": { "line": 596, "column": 0 }, "end": { "line": 596, "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": 20014, "end": 20021, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 20022, "end": 20036, "loc": { "start": { "line": 596, "column": 15 }, "end": { "line": 596, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20036, "end": 20037, "loc": { "start": { "line": 596, "column": 29 }, "end": { "line": 596, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20039, "end": 20039, "loc": { "start": { "line": 597, "column": 0 }, "end": { "line": 597, "column": 0 } } } ] }