{ "type": "File", "start": 0, "end": 25801, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 801, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 25801, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 801, "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": 25765, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 798, "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": 25765, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 798, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7607, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 154, "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": 7607, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 154, "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 {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.\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": 4072, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 61, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4078, "end": 4101, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 4078, "end": 4100, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4078, "end": 4090, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4078, "end": 4082, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4083, "end": 4090, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 4093, "end": 4100, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "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 {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.\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": 4072, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 61, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4107, "end": 4170, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4107, "end": 4169, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4107, "end": 4130, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 27 } }, "object": { "type": "MemberExpression", "start": 4107, "end": 4119, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4107, "end": 4111, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 4112, "end": 4119, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4120, "end": 4130, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 27 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4133, "end": 4169, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 66 } }, "left": { "type": "MemberExpression", "start": 4133, "end": 4156, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4133, "end": 4145, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4133, "end": 4137, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 34 } } }, "property": { "type": "Identifier", "start": 4138, "end": 4145, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4146, "end": 4156, "loc": { "start": { "line": 63, "column": 43 }, "end": { "line": 63, "column": 53 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4160, "end": 4169, "loc": { "start": { "line": 63, "column": 57 }, "end": { "line": 63, "column": 66 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4176, "end": 4238, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4176, "end": 4237, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4176, "end": 4194, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 22 } }, "object": { "type": "MemberExpression", "start": 4176, "end": 4188, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4176, "end": 4180, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, "property": { "type": "Identifier", "start": 4181, "end": 4188, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4189, "end": 4194, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 22 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4197, "end": 4237, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 65 } }, "left": { "type": "MemberExpression", "start": 4197, "end": 4215, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4197, "end": 4209, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4197, "end": 4201, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 29 } } }, "property": { "type": "Identifier", "start": 4202, "end": 4209, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4210, "end": 4215, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 43 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4219, "end": 4237, "loc": { "start": { "line": 64, "column": 47 }, "end": { "line": 64, "column": 65 } }, "extra": { "rawValue": "hg-theme-default", "raw": "\"hg-theme-default\"" }, "value": "hg-theme-default" } } } }, { "type": "ExpressionStatement", "start": 4244, "end": 4305, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4244, "end": 4304, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4244, "end": 4266, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 26 } }, "object": { "type": "MemberExpression", "start": 4244, "end": 4256, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4244, "end": 4248, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 8 } } }, "property": { "type": "Identifier", "start": 4249, "end": 4256, "loc": { "start": { "line": 65, "column": 9 }, "end": { "line": 65, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4257, "end": 4266, "loc": { "start": { "line": 65, "column": 17 }, "end": { "line": 65, "column": 26 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4269, "end": 4304, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4269, "end": 4291, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4269, "end": 4281, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4269, "end": 4273, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 33 } } }, "property": { "type": "Identifier", "start": 4274, "end": 4281, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4282, "end": 4291, "loc": { "start": { "line": 65, "column": 42 }, "end": { "line": 65, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4295, "end": 4304, "loc": { "start": { "line": 65, "column": 55 }, "end": { "line": 65, "column": 64 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4311, "end": 4412, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 4311, "end": 4411, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 104 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4311, "end": 4347, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 40 } }, "object": { "type": "MemberExpression", "start": 4311, "end": 4323, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4311, "end": 4315, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 8 } } }, "property": { "type": "Identifier", "start": 4316, "end": 4323, "loc": { "start": { "line": 66, "column": 9 }, "end": { "line": 66, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4324, "end": 4347, "loc": { "start": { "line": 66, "column": 17 }, "end": { "line": 66, "column": 40 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 4350, "end": 4411, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 104 } }, "test": { "type": "BinaryExpression", "start": 4350, "end": 4396, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 89 } }, "left": { "type": "MemberExpression", "start": 4350, "end": 4386, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 79 } }, "object": { "type": "MemberExpression", "start": 4350, "end": 4362, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4350, "end": 4354, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 47 } } }, "property": { "type": "Identifier", "start": 4355, "end": 4362, "loc": { "start": { "line": 66, "column": 48 }, "end": { "line": 66, "column": 55 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4363, "end": 4386, "loc": { "start": { "line": 66, "column": 56 }, "end": { "line": 66, "column": 79 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 4391, "end": 4396, "loc": { "start": { "line": 66, "column": 84 }, "end": { "line": 66, "column": 89 } }, "value": false } }, "consequent": { "type": "BooleanLiteral", "start": 4399, "end": 4404, "loc": { "start": { "line": 66, "column": 92 }, "end": { "line": 66, "column": 97 } }, "value": false }, "alternate": { "type": "BooleanLiteral", "start": 4407, "end": 4411, "loc": { "start": { "line": 66, "column": 100 }, "end": { "line": 66, "column": 104 } }, "value": true } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4420, "end": 4490, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4496, "end": 4528, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4496, "end": 4527, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4496, "end": 4522, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4496, "end": 4500, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4501, "end": 4522, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 30 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 4525, "end": 4527, "loc": { "start": { "line": 71, "column": 33 }, "end": { "line": 71, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4420, "end": 4490, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4536, "end": 4565, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4571, "end": 4634, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4571, "end": 4633, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4571, "end": 4595, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4571, "end": 4575, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4576, "end": 4595, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4598, "end": 4633, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4598, "end": 4627, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4598, "end": 4622, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4598, "end": 4602, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 35 } } }, "property": { "type": "Identifier", "start": 4603, "end": 4622, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4623, "end": 4627, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4628, "end": 4632, "loc": { "start": { "line": 76, "column": 61 }, "end": { "line": 76, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4536, "end": 4565, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4640, "end": 4701, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4640, "end": 4700, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4640, "end": 4663, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4640, "end": 4644, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4645, "end": 4663, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4666, "end": 4700, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4666, "end": 4694, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4666, "end": 4689, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4666, "end": 4670, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 34 } } }, "property": { "type": "Identifier", "start": 4671, "end": 4689, "loc": { "start": { "line": 77, "column": 35 }, "end": { "line": 77, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 54 }, "end": { "line": 77, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4695, "end": 4699, "loc": { "start": { "line": 77, "column": 59 }, "end": { "line": 77, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4707, "end": 4752, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4707, "end": 4751, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4707, "end": 4722, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4707, "end": 4711, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4712, "end": 4722, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4725, "end": 4751, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4725, "end": 4745, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4725, "end": 4740, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4725, "end": 4729, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 26 } } }, "property": { "type": "Identifier", "start": 4730, "end": 4740, "loc": { "start": { "line": 78, "column": 27 }, "end": { "line": 78, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4741, "end": 4745, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4746, "end": 4750, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4758, "end": 4799, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4758, "end": 4798, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4758, "end": 4771, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4758, "end": 4762, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4763, "end": 4771, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4774, "end": 4798, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4774, "end": 4792, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4774, "end": 4787, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4774, "end": 4778, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 24 } } }, "property": { "type": "Identifier", "start": 4779, "end": 4787, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4788, "end": 4792, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4793, "end": 4797, "loc": { "start": { "line": 79, "column": 39 }, "end": { "line": 79, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4805, "end": 4846, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4805, "end": 4845, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4805, "end": 4818, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4805, "end": 4809, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4810, "end": 4818, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4821, "end": 4845, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4821, "end": 4839, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4821, "end": 4834, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4821, "end": 4825, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 24 } } }, "property": { "type": "Identifier", "start": 4826, "end": 4834, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4835, "end": 4839, "loc": { "start": { "line": 80, "column": 34 }, "end": { "line": 80, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4840, "end": 4844, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4852, "end": 4901, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4852, "end": 4900, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4852, "end": 4869, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4852, "end": 4856, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4857, "end": 4869, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4872, "end": 4900, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4872, "end": 4894, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4872, "end": 4889, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4872, "end": 4876, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 28 } } }, "property": { "type": "Identifier", "start": 4877, "end": 4889, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4890, "end": 4894, "loc": { "start": { "line": 81, "column": 42 }, "end": { "line": 81, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4895, "end": 4899, "loc": { "start": { "line": 81, "column": 47 }, "end": { "line": 81, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4907, "end": 4942, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4907, "end": 4941, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4907, "end": 4917, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4907, "end": 4911, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4912, "end": 4917, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4920, "end": 4941, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4920, "end": 4935, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4920, "end": 4930, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4920, "end": 4924, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 21 } } }, "property": { "type": "Identifier", "start": 4925, "end": 4930, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4931, "end": 4935, "loc": { "start": { "line": 82, "column": 28 }, "end": { "line": 82, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4936, "end": 4940, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4948, "end": 4989, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4948, "end": 4988, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4948, "end": 4961, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4948, "end": 4952, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4953, "end": 4961, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4964, "end": 4988, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4964, "end": 4982, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4964, "end": 4977, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4964, "end": 4968, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 24 } } }, "property": { "type": "Identifier", "start": 4969, "end": 4977, "loc": { "start": { "line": 83, "column": 25 }, "end": { "line": 83, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4978, "end": 4982, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4983, "end": 4987, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4995, "end": 5048, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4995, "end": 5047, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4995, "end": 5014, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4995, "end": 4999, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 5000, "end": 5014, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 5017, "end": 5047, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 5017, "end": 5041, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5017, "end": 5036, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 45 } }, "object": { "type": "ThisExpression", "start": 5017, "end": 5021, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 30 } } }, "property": { "type": "Identifier", "start": 5022, "end": 5036, "loc": { "start": { "line": 84, "column": 31 }, "end": { "line": 84, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 5037, "end": 5041, "loc": { "start": { "line": 84, "column": 46 }, "end": { "line": 84, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5042, "end": 5046, "loc": { "start": { "line": 84, "column": 51 }, "end": { "line": 84, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 5054, "end": 5113, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 5054, "end": 5112, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5054, "end": 5076, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5054, "end": 5058, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 5059, "end": 5076, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 5079, "end": 5112, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5079, "end": 5106, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5079, "end": 5101, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5079, "end": 5083, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 } } }, "property": { "type": "Identifier", "start": 5084, "end": 5101, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 5102, "end": 5106, "loc": { "start": { "line": 85, "column": 52 }, "end": { "line": 85, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5107, "end": 5111, "loc": { "start": { "line": 85, "column": 57 }, "end": { "line": 85, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5119, "end": 5176, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5119, "end": 5175, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5119, "end": 5140, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5119, "end": 5123, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5124, "end": 5140, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 5143, "end": 5175, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5143, "end": 5169, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5143, "end": 5164, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5143, "end": 5147, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 32 } } }, "property": { "type": "Identifier", "start": 5148, "end": 5164, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 5165, "end": 5169, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5170, "end": 5174, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5182, "end": 5229, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5182, "end": 5228, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5182, "end": 5198, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5182, "end": 5186, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5187, "end": 5198, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 5201, "end": 5228, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5201, "end": 5222, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5201, "end": 5217, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5201, "end": 5205, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 27 } } }, "property": { "type": "Identifier", "start": 5206, "end": 5217, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 5218, "end": 5222, "loc": { "start": { "line": 87, "column": 40 }, "end": { "line": 87, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5223, "end": 5227, "loc": { "start": { "line": 87, "column": 45 }, "end": { "line": 87, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5235, "end": 5294, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 5235, "end": 5293, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5235, "end": 5257, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5235, "end": 5239, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5240, "end": 5257, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 5260, "end": 5293, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5260, "end": 5287, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5260, "end": 5282, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5260, "end": 5264, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 33 } } }, "property": { "type": "Identifier", "start": 5265, "end": 5282, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 5283, "end": 5287, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5288, "end": 5292, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5300, "end": 5337, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5300, "end": 5336, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5300, "end": 5311, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5300, "end": 5304, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 5305, "end": 5311, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 5314, "end": 5336, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5314, "end": 5330, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5314, "end": 5325, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5314, "end": 5318, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, "property": { "type": "Identifier", "start": 5319, "end": 5325, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 5326, "end": 5330, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5331, "end": 5335, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5343, "end": 5384, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5343, "end": 5383, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5343, "end": 5356, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5343, "end": 5347, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 5348, "end": 5356, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5359, "end": 5383, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5359, "end": 5377, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5359, "end": 5372, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5359, "end": 5363, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 24 } } }, "property": { "type": "Identifier", "start": 5364, "end": 5372, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5373, "end": 5377, "loc": { "start": { "line": 90, "column": 34 }, "end": { "line": 90, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5378, "end": 5382, "loc": { "start": { "line": 90, "column": 39 }, "end": { "line": 90, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5390, "end": 5427, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5390, "end": 5426, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5390, "end": 5401, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5390, "end": 5394, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 5395, "end": 5401, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5404, "end": 5426, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5404, "end": 5420, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5404, "end": 5415, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5404, "end": 5408, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 22 } } }, "property": { "type": "Identifier", "start": 5409, "end": 5415, "loc": { "start": { "line": 91, "column": 23 }, "end": { "line": 91, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5416, "end": 5420, "loc": { "start": { "line": 91, "column": 30 }, "end": { "line": 91, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5421, "end": 5425, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5433, "end": 5480, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5433, "end": 5479, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5433, "end": 5449, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5433, "end": 5437, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 5438, "end": 5449, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5452, "end": 5479, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5452, "end": 5473, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5452, "end": 5468, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5452, "end": 5456, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 27 } } }, "property": { "type": "Identifier", "start": 5457, "end": 5468, "loc": { "start": { "line": 92, "column": 28 }, "end": { "line": 92, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5469, "end": 5473, "loc": { "start": { "line": 92, "column": 40 }, "end": { "line": 92, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5474, "end": 5478, "loc": { "start": { "line": 92, "column": 45 }, "end": { "line": 92, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5486, "end": 5549, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5486, "end": 5548, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5486, "end": 5510, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5486, "end": 5490, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 5491, "end": 5510, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5513, "end": 5548, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5513, "end": 5542, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5513, "end": 5537, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5513, "end": 5517, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 35 } } }, "property": { "type": "Identifier", "start": 5518, "end": 5537, "loc": { "start": { "line": 93, "column": 36 }, "end": { "line": 93, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5538, "end": 5542, "loc": { "start": { "line": 93, "column": 56 }, "end": { "line": 93, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5543, "end": 5547, "loc": { "start": { "line": 93, "column": 61 }, "end": { "line": 93, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5555, "end": 5622, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5555, "end": 5621, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5555, "end": 5581, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5555, "end": 5559, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 5560, "end": 5581, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5584, "end": 5621, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5584, "end": 5615, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5584, "end": 5610, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5584, "end": 5588, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 37 } } }, "property": { "type": "Identifier", "start": 5589, "end": 5610, "loc": { "start": { "line": 94, "column": 38 }, "end": { "line": 94, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5611, "end": 5615, "loc": { "start": { "line": 94, "column": 60 }, "end": { "line": 94, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5616, "end": 5620, "loc": { "start": { "line": 94, "column": 65 }, "end": { "line": 94, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5628, "end": 5685, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5628, "end": 5684, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5628, "end": 5649, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5628, "end": 5632, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 8 } } }, "property": { "type": "Identifier", "start": 5633, "end": 5649, "loc": { "start": { "line": 95, "column": 9 }, "end": { "line": 95, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5652, "end": 5684, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5652, "end": 5678, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5652, "end": 5673, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5652, "end": 5656, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 32 } } }, "property": { "type": "Identifier", "start": 5657, "end": 5673, "loc": { "start": { "line": 95, "column": 33 }, "end": { "line": 95, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5674, "end": 5678, "loc": { "start": { "line": 95, "column": 50 }, "end": { "line": 95, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5679, "end": 5683, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 95, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5691, "end": 5746, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5691, "end": 5745, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5691, "end": 5711, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5691, "end": 5695, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 8 } } }, "property": { "type": "Identifier", "start": 5696, "end": 5711, "loc": { "start": { "line": 96, "column": 9 }, "end": { "line": 96, "column": 24 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "right": { "type": "CallExpression", "start": 5714, "end": 5745, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5714, "end": 5739, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 52 } }, "object": { "type": "MemberExpression", "start": 5714, "end": 5734, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5714, "end": 5718, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 31 } } }, "property": { "type": "Identifier", "start": 5719, "end": 5734, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 47 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "property": { "type": "Identifier", "start": 5735, "end": 5739, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5740, "end": 5744, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 57 } } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5754, "end": 6413, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 111, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6419, "end": 6435, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6419, "end": 6434, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6419, "end": 6429, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6419, "end": 6423, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6424, "end": 6429, "loc": { "start": { "line": 112, "column": 9 }, "end": { "line": 112, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6432, "end": 6434, "loc": { "start": { "line": 112, "column": 17 }, "end": { "line": 112, "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": 5754, "end": 6413, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 111, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6441, "end": 6481, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6441, "end": 6480, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6441, "end": 6475, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6441, "end": 6451, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6441, "end": 6445, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 8 } } }, "property": { "type": "Identifier", "start": 6446, "end": 6451, "loc": { "start": { "line": 113, "column": 9 }, "end": { "line": 113, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6452, "end": 6474, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6452, "end": 6464, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6452, "end": 6456, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 19 } } }, "property": { "type": "Identifier", "start": 6457, "end": 6464, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6465, "end": 6474, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6478, "end": 6480, "loc": { "start": { "line": 113, "column": 41 }, "end": { "line": 113, "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": 6489, "end": 6598, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 117, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6604, "end": 6665, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6604, "end": 6664, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6604, "end": 6625, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6604, "end": 6608, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6609, "end": 6625, "loc": { "start": { "line": 118, "column": 9 }, "end": { "line": 118, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6628, "end": 6664, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6628, "end": 6660, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 60 } }, "object": { "type": "CallExpression", "start": 6628, "end": 6655, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6628, "end": 6650, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 50 } }, "object": { "type": "Identifier", "start": 6628, "end": 6644, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6645, "end": 6650, "loc": { "start": { "line": 118, "column": 45 }, "end": { "line": 118, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6651, "end": 6654, "loc": { "start": { "line": 118, "column": 51 }, "end": { "line": 118, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6656, "end": 6660, "loc": { "start": { "line": 118, "column": 56 }, "end": { "line": 118, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6661, "end": 6663, "loc": { "start": { "line": 118, "column": 61 }, "end": { "line": 118, "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": 6489, "end": 6598, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 117, "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": 6673, "end": 6818, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 122, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6824, "end": 6849, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6824, "end": 6848, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6824, "end": 6843, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6824, "end": 6828, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6829, "end": 6843, "loc": { "start": { "line": 123, "column": 9 }, "end": { "line": 123, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6846, "end": 6848, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "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": 6673, "end": 6818, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 122, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6857, "end": 6896, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6902, "end": 7081, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 133, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6905, "end": 6921, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6905, "end": 6909, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6910, "end": 6921, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6930, "end": 6944, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6930, "end": 6943, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6930, "end": 6941, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6930, "end": 6934, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 10 } } }, "property": { "type": "Identifier", "start": 6935, "end": 6941, "loc": { "start": { "line": 129, "column": 11 }, "end": { "line": 129, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6955, "end": 7081, "loc": { "start": { "line": 130, "column": 9 }, "end": { "line": 133, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6964, "end": 7028, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6964, "end": 7027, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6964, "end": 6976, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 18 } }, "object": { "type": "Identifier", "start": 6964, "end": 6971, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6972, "end": 6976, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6977, "end": 7026, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6981, "end": 6997, "loc": { "start": { "line": 131, "column": 23 }, "end": { "line": 131, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6978, "end": 6979, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6998, "end": 7025, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 7036, "end": 7074, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "argument": { "type": "NewExpression", "start": 7042, "end": 7073, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 43 } }, "callee": { "type": "Identifier", "start": 7046, "end": 7051, "loc": { "start": { "line": 132, "column": 16 }, "end": { "line": 132, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 7052, "end": 7072, "loc": { "start": { "line": 132, "column": 22 }, "end": { "line": 132, "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": 6857, "end": 6896, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 7089, "end": 7202, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7208, "end": 7293, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 140, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 7211, "end": 7245, "loc": { "start": { "line": 139, "column": 7 }, "end": { "line": 139, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7212, "end": 7245, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 41 } }, "object": { "type": "Identifier", "start": 7212, "end": 7218, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 7219, "end": 7244, "loc": { "start": { "line": 139, "column": 15 }, "end": { "line": 139, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7254, "end": 7293, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7254, "end": 7292, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7254, "end": 7287, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 39 } }, "object": { "type": "Identifier", "start": 7254, "end": 7260, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7261, "end": 7286, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 7290, "end": 7292, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "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": 7089, "end": 7202, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7307, "end": 7397, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 7307, "end": 7396, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7307, "end": 7389, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 86 } }, "object": { "type": "MemberExpression", "start": 7307, "end": 7340, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 37 } }, "object": { "type": "Identifier", "start": 7307, "end": 7313, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7314, "end": 7339, "loc": { "start": { "line": 142, "column": 11 }, "end": { "line": 142, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 7341, "end": 7388, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 7341, "end": 7365, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 62 } }, "object": { "type": "MemberExpression", "start": 7341, "end": 7355, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7341, "end": 7345, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 42 } } }, "property": { "type": "Identifier", "start": 7346, "end": 7355, "loc": { "start": { "line": 142, "column": 43 }, "end": { "line": 142, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7356, "end": 7365, "loc": { "start": { "line": 142, "column": 53 }, "end": { "line": 142, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7366, "end": 7387, "loc": { "start": { "line": 142, "column": 63 }, "end": { "line": 142, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7366, "end": 7370, "loc": { "start": { "line": 142, "column": 63 }, "end": { "line": 142, "column": 67 } } }, "property": { "type": "Identifier", "start": 7371, "end": 7387, "loc": { "start": { "line": 142, "column": 68 }, "end": { "line": 142, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 7392, "end": 7396, "loc": { "start": { "line": 142, "column": 89 }, "end": { "line": 142, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7405, "end": 7451, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7457, "end": 7517, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7457, "end": 7516, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7457, "end": 7487, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7457, "end": 7461, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7462, "end": 7487, "loc": { "start": { "line": 147, "column": 9 }, "end": { "line": 147, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7490, "end": 7516, "loc": { "start": { "line": 147, "column": 37 }, "end": { "line": 147, "column": 63 } }, "callee": { "type": "Identifier", "start": 7494, "end": 7510, "loc": { "start": { "line": 147, "column": 41 }, "end": { "line": 147, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7511, "end": 7515, "loc": { "start": { "line": 147, "column": 58 }, "end": { "line": 147, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7405, "end": 7451, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7525, "end": 7553, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 151, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7559, "end": 7577, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7559, "end": 7576, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7559, "end": 7571, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7559, "end": 7563, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7564, "end": 7571, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7574, "end": 7576, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7525, "end": 7553, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 151, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7583, "end": 7602, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7583, "end": 7601, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7583, "end": 7599, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7583, "end": 7587, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 8 } } }, "property": { "type": "Identifier", "start": 7588, "end": 7599, "loc": { "start": { "line": 153, "column": 9 }, "end": { "line": 153, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7613, "end": 7725, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 159, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7729, "end": 9251, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 214, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7729, "end": 7748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 160, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7749, "end": 7755, "loc": { "start": { "line": 160, "column": 22 }, "end": { "line": 160, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7756, "end": 9251, "loc": { "start": { "line": 160, "column": 29 }, "end": { "line": 214, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7763, "end": 7794, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 161, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7767, "end": 7793, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 34 } }, "id": { "type": "Identifier", "start": 7767, "end": 7772, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7775, "end": 7793, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7775, "end": 7787, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7775, "end": 7779, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 20 } } }, "property": { "type": "Identifier", "start": 7780, "end": 7787, "loc": { "start": { "line": 161, "column": 21 }, "end": { "line": 161, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7788, "end": 7793, "loc": { "start": { "line": 161, "column": 29 }, "end": { "line": 161, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7802, "end": 7851, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7857, "end": 7899, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 167, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7860, "end": 7877, "loc": { "start": { "line": 166, "column": 7 }, "end": { "line": 166, "column": 24 } }, "left": { "type": "Identifier", "start": 7860, "end": 7866, "loc": { "start": { "line": 166, "column": 7 }, "end": { "line": 166, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7871, "end": 7877, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7886, "end": 7899, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7893, "end": 7898, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7802, "end": 7851, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7907, "end": 7946, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 171, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7952, "end": 8041, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 173, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7955, "end": 8000, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7955, "end": 7985, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7962, "end": 7985, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7962, "end": 7974, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7962, "end": 7966, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7967, "end": 7974, "loc": { "start": { "line": 172, "column": 19 }, "end": { "line": 172, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7975, "end": 7985, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7990, "end": 8000, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8009, "end": 8041, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 38 } }, "expression": { "type": "CallExpression", "start": 8009, "end": 8040, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 8009, "end": 8032, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8009, "end": 8021, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 18 } }, "object": { "type": "ThisExpression", "start": 8009, "end": 8013, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 10 } } }, "property": { "type": "Identifier", "start": 8014, "end": 8021, "loc": { "start": { "line": 173, "column": 11 }, "end": { "line": 173, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8022, "end": 8032, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8033, "end": 8039, "loc": { "start": { "line": 173, "column": 30 }, "end": { "line": 173, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7907, "end": 7946, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 171, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8053, "end": 8140, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 176, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 8056, "end": 8091, "loc": { "start": { "line": 175, "column": 7 }, "end": { "line": 175, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 8057, "end": 8091, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 42 } }, "object": { "type": "MemberExpression", "start": 8057, "end": 8067, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 18 } }, "object": { "type": "ThisExpression", "start": 8057, "end": 8061, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 12 } } }, "property": { "type": "Identifier", "start": 8062, "end": 8067, "loc": { "start": { "line": 175, "column": 13 }, "end": { "line": 175, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8068, "end": 8090, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8068, "end": 8080, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8068, "end": 8072, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 23 } } }, "property": { "type": "Identifier", "start": 8073, "end": 8080, "loc": { "start": { "line": 175, "column": 24 }, "end": { "line": 175, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8081, "end": 8090, "loc": { "start": { "line": 175, "column": 32 }, "end": { "line": 175, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 8100, "end": 8140, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 8100, "end": 8139, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8100, "end": 8134, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8100, "end": 8110, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8100, "end": 8104, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 10 } } }, "property": { "type": "Identifier", "start": 8105, "end": 8110, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8111, "end": 8133, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8111, "end": 8123, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8111, "end": 8115, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 21 } } }, "property": { "type": "Identifier", "start": 8116, "end": 8123, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8124, "end": 8133, "loc": { "start": { "line": 176, "column": 30 }, "end": { "line": 176, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 8137, "end": 8139, "loc": { "start": { "line": 176, "column": 43 }, "end": { "line": 176, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 8148, "end": 8290, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 180, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8152, "end": 8289, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 180, "column": 5 } }, "id": { "type": "Identifier", "start": 8152, "end": 8164, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 8167, "end": 8289, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 180, "column": 5 } }, "callee": { "type": "MemberExpression", "start": 8167, "end": 8197, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 53 } }, "object": { "type": "MemberExpression", "start": 8167, "end": 8181, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 37 } }, "object": { "type": "ThisExpression", "start": 8167, "end": 8171, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 27 } } }, "property": { "type": "Identifier", "start": 8172, "end": 8181, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8182, "end": 8197, "loc": { "start": { "line": 178, "column": 38 }, "end": { "line": 178, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8206, "end": 8212, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 12 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 8214, "end": 8248, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 48 } }, "object": { "type": "MemberExpression", "start": 8214, "end": 8224, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 24 } }, "object": { "type": "ThisExpression", "start": 8214, "end": 8218, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 18 } } }, "property": { "type": "Identifier", "start": 8219, "end": 8224, "loc": { "start": { "line": 179, "column": 19 }, "end": { "line": 179, "column": 24 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8225, "end": 8247, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 47 } }, "object": { "type": "MemberExpression", "start": 8225, "end": 8237, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 37 } }, "object": { "type": "ThisExpression", "start": 8225, "end": 8229, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 29 } } }, "property": { "type": "Identifier", "start": 8230, "end": 8237, "loc": { "start": { "line": 179, "column": 30 }, "end": { "line": 179, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8238, "end": 8247, "loc": { "start": { "line": 179, "column": 38 }, "end": { "line": 179, "column": 47 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8250, "end": 8262, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 62 } }, "object": { "type": "ThisExpression", "start": 8250, "end": 8254, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 54 } } }, "property": { "type": "Identifier", "start": 8255, "end": 8262, "loc": { "start": { "line": 179, "column": 55 }, "end": { "line": 179, "column": 62 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8264, "end": 8282, "loc": { "start": { "line": 179, "column": 64 }, "end": { "line": 179, "column": 82 } }, "object": { "type": "ThisExpression", "start": 8264, "end": 8268, "loc": { "start": { "line": 179, "column": 64 }, "end": { "line": 179, "column": 68 } } }, "property": { "type": "Identifier", "start": 8269, "end": 8282, "loc": { "start": { "line": 179, "column": 69 }, "end": { "line": 179, "column": 82 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 8298, "end": 9173, "loc": { "start": { "line": 182, "column": 4 }, "end": { "line": 209, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8301, "end": 8352, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 58 } }, "left": { "type": "MemberExpression", "start": 8301, "end": 8335, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8301, "end": 8311, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8301, "end": 8305, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 11 } } }, "property": { "type": "Identifier", "start": 8306, "end": 8311, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8312, "end": 8334, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8312, "end": 8324, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 30 } }, "object": { "type": "ThisExpression", "start": 8312, "end": 8316, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 22 } } }, "property": { "type": "Identifier", "start": 8317, "end": 8324, "loc": { "start": { "line": 182, "column": 23 }, "end": { "line": 182, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8325, "end": 8334, "loc": { "start": { "line": 182, "column": 31 }, "end": { "line": 182, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 8340, "end": 8352, "loc": { "start": { "line": 182, "column": 46 }, "end": { "line": 182, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 8353, "end": 9173, "loc": { "start": { "line": 182, "column": 59 }, "end": { "line": 209, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8449, "end": 8582, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 189, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8452, "end": 8548, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8452, "end": 8474, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8452, "end": 8464, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8452, "end": 8456, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8457, "end": 8464, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8465, "end": 8474, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8478, "end": 8548, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8478, "end": 8508, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8478, "end": 8492, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8478, "end": 8482, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 39 } } }, "property": { "type": "Identifier", "start": 8483, "end": 8492, "loc": { "start": { "line": 187, "column": 40 }, "end": { "line": 187, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8493, "end": 8508, "loc": { "start": { "line": 187, "column": 50 }, "end": { "line": 187, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8509, "end": 8519, "loc": { "start": { "line": 187, "column": 66 }, "end": { "line": 187, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8509, "end": 8513, "loc": { "start": { "line": 187, "column": 66 }, "end": { "line": 187, "column": 70 } } }, "property": { "type": "Identifier", "start": 8514, "end": 8519, "loc": { "start": { "line": 187, "column": 71 }, "end": { "line": 187, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8521, "end": 8533, "loc": { "start": { "line": 187, "column": 78 }, "end": { "line": 187, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8521, "end": 8525, "loc": { "start": { "line": 187, "column": 78 }, "end": { "line": 187, "column": 82 } } }, "property": { "type": "Identifier", "start": 8526, "end": 8533, "loc": { "start": { "line": 187, "column": 83 }, "end": { "line": 187, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8535, "end": 8547, "loc": { "start": { "line": 187, "column": 92 }, "end": { "line": 187, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8549, "end": 8582, "loc": { "start": { "line": 187, "column": 106 }, "end": { "line": 189, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8560, "end": 8573, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8567, "end": 8572, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8364, "end": 8441, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 186, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8592, "end": 8763, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 193, "column": 8 } }, "expression": { "type": "AssignmentExpression", "start": 8592, "end": 8762, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 193, "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8592, "end": 8626, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8592, "end": 8602, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8592, "end": 8596, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 10 } } }, "property": { "type": "Identifier", "start": 8597, "end": 8602, "loc": { "start": { "line": 191, "column": 11 }, "end": { "line": 191, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8603, "end": 8625, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8603, "end": 8615, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8603, "end": 8607, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 21 } } }, "property": { "type": "Identifier", "start": 8608, "end": 8615, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8616, "end": 8625, "loc": { "start": { "line": 191, "column": 30 }, "end": { "line": 191, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "CallExpression", "start": 8630, "end": 8762, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 193, "column": 7 } }, "callee": { "type": "MemberExpression", "start": 8630, "end": 8660, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 74 } }, "object": { "type": "MemberExpression", "start": 8630, "end": 8644, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 58 } }, "object": { "type": "ThisExpression", "start": 8630, "end": 8634, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 48 } } }, "property": { "type": "Identifier", "start": 8635, "end": 8644, "loc": { "start": { "line": 191, "column": 49 }, "end": { "line": 191, "column": 58 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8645, "end": 8660, "loc": { "start": { "line": 191, "column": 59 }, "end": { "line": 191, "column": 74 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8671, "end": 8677, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 14 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 8679, "end": 8713, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 50 } }, "object": { "type": "MemberExpression", "start": 8679, "end": 8689, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8679, "end": 8683, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 20 } } }, "property": { "type": "Identifier", "start": 8684, "end": 8689, "loc": { "start": { "line": 192, "column": 21 }, "end": { "line": 192, "column": 26 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8690, "end": 8712, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 49 } }, "object": { "type": "MemberExpression", "start": 8690, "end": 8702, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 39 } }, "object": { "type": "ThisExpression", "start": 8690, "end": 8694, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 31 } } }, "property": { "type": "Identifier", "start": 8695, "end": 8702, "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 192, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8703, "end": 8712, "loc": { "start": { "line": 192, "column": 40 }, "end": { "line": 192, "column": 49 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8715, "end": 8727, "loc": { "start": { "line": 192, "column": 52 }, "end": { "line": 192, "column": 64 } }, "object": { "type": "ThisExpression", "start": 8715, "end": 8719, "loc": { "start": { "line": 192, "column": 52 }, "end": { "line": 192, "column": 56 } } }, "property": { "type": "Identifier", "start": 8720, "end": 8727, "loc": { "start": { "line": 192, "column": 57 }, "end": { "line": 192, "column": 64 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8729, "end": 8747, "loc": { "start": { "line": 192, "column": 66 }, "end": { "line": 192, "column": 84 } }, "object": { "type": "ThisExpression", "start": 8729, "end": 8733, "loc": { "start": { "line": 192, "column": 66 }, "end": { "line": 192, "column": 70 } } }, "property": { "type": "Identifier", "start": 8734, "end": 8747, "loc": { "start": { "line": 192, "column": 71 }, "end": { "line": 192, "column": 84 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, { "type": "BooleanLiteral", "start": 8749, "end": 8753, "loc": { "start": { "line": 192, "column": 86 }, "end": { "line": 192, "column": 90 } }, "value": true } ] } } }, { "type": "IfStatement", "start": 8773, "end": 8834, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 50 } }, "test": { "type": "Identifier", "start": 8776, "end": 8781, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8792, "end": 8834, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8792, "end": 8833, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8792, "end": 8803, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 19 } }, "object": { "type": "Identifier", "start": 8792, "end": 8799, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8800, "end": 8803, "loc": { "start": { "line": 196, "column": 16 }, "end": { "line": 196, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8804, "end": 8820, "loc": { "start": { "line": 196, "column": 20 }, "end": { "line": 196, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8822, "end": 8832, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8822, "end": 8826, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 42 } } }, "property": { "type": "Identifier", "start": 8827, "end": 8832, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "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": 8844, "end": 8903, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8911, "end": 8992, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 202, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8914, "end": 8945, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8914, "end": 8926, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8914, "end": 8918, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8919, "end": 8926, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8927, "end": 8945, "loc": { "start": { "line": 201, "column": 22 }, "end": { "line": 201, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8956, "end": 8992, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8956, "end": 8991, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8956, "end": 8979, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8956, "end": 8960, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, "property": { "type": "Identifier", "start": 8961, "end": 8979, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8980, "end": 8990, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8980, "end": 8984, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 36 } } }, "property": { "type": "Identifier", "start": 8985, "end": 8990, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "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": 8844, "end": 8903, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 9002, "end": 9043, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 206, "column": 9 } } } ] }, { "type": "IfStatement", "start": 9051, "end": 9166, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 208, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 9054, "end": 9097, "loc": { "start": { "line": 207, "column": 9 }, "end": { "line": 207, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 9054, "end": 9082, "loc": { "start": { "line": 207, "column": 9 }, "end": { "line": 207, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 9061, "end": 9082, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 37 } }, "object": { "type": "MemberExpression", "start": 9061, "end": 9073, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 28 } }, "object": { "type": "ThisExpression", "start": 9061, "end": 9065, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9066, "end": 9073, "loc": { "start": { "line": 207, "column": 21 }, "end": { "line": 207, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 9074, "end": 9082, "loc": { "start": { "line": 207, "column": 29 }, "end": { "line": 207, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 9087, "end": 9097, "loc": { "start": { "line": 207, "column": 42 }, "end": { "line": 207, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 9108, "end": 9166, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 66 } }, "expression": { "type": "CallExpression", "start": 9108, "end": 9165, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 9108, "end": 9129, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9108, "end": 9120, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9108, "end": 9112, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 12 } } }, "property": { "type": "Identifier", "start": 9113, "end": 9120, "loc": { "start": { "line": 208, "column": 13 }, "end": { "line": 208, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9121, "end": 9129, "loc": { "start": { "line": 208, "column": 21 }, "end": { "line": 208, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9130, "end": 9164, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 64 } }, "object": { "type": "MemberExpression", "start": 9130, "end": 9140, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 40 } }, "object": { "type": "ThisExpression", "start": 9130, "end": 9134, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, "property": { "type": "Identifier", "start": 9135, "end": 9140, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 9141, "end": 9163, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 63 } }, "object": { "type": "MemberExpression", "start": 9141, "end": 9153, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 53 } }, "object": { "type": "ThisExpression", "start": 9141, "end": 9145, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 45 } } }, "property": { "type": "Identifier", "start": 9146, "end": 9153, "loc": { "start": { "line": 208, "column": 46 }, "end": { "line": 208, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9154, "end": 9163, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 9002, "end": 9043, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 206, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 9185, "end": 9246, "loc": { "start": { "line": 211, "column": 4 }, "end": { "line": 213, "column": 5 } }, "test": { "type": "Identifier", "start": 9188, "end": 9193, "loc": { "start": { "line": 211, "column": 7 }, "end": { "line": 211, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 9194, "end": 9246, "loc": { "start": { "line": 211, "column": 13 }, "end": { "line": 213, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9203, "end": 9239, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 42 } }, "expression": { "type": "CallExpression", "start": 9203, "end": 9238, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 9203, "end": 9214, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 17 } }, "object": { "type": "Identifier", "start": 9203, "end": 9210, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9211, "end": 9214, "loc": { "start": { "line": 212, "column": 14 }, "end": { "line": 212, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9215, "end": 9229, "loc": { "start": { "line": 212, "column": 18 }, "end": { "line": 212, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 9231, "end": 9237, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7613, "end": 7725, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 159, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9257, "end": 9298, "loc": { "start": { "line": 216, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9302, "end": 9328, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 9332, "end": 10191, "loc": { "start": { "line": 220, "column": 2 }, "end": { "line": 252, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9332, "end": 9353, "loc": { "start": { "line": 220, "column": 2 }, "end": { "line": 220, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9354, "end": 9360, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9362, "end": 9363, "loc": { "start": { "line": 220, "column": 32 }, "end": { "line": 220, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 9364, "end": 10191, "loc": { "start": { "line": 220, "column": 34 }, "end": { "line": 252, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9456, "end": 9480, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9456, "end": 9479, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9456, "end": 9472, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9456, "end": 9460, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9461, "end": 9472, "loc": { "start": { "line": 224, "column": 9 }, "end": { "line": 224, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 9475, "end": 9479, "loc": { "start": { "line": 224, "column": 23 }, "end": { "line": 224, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9371, "end": 9450, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 223, "column": 7 } } } ] }, { "type": "IfStatement", "start": 9488, "end": 9569, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 227, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9491, "end": 9518, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 226, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9491, "end": 9495, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 226, "column": 11 } } }, "property": { "type": "Identifier", "start": 9496, "end": 9518, "loc": { "start": { "line": 226, "column": 12 }, "end": { "line": 226, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9527, "end": 9569, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9527, "end": 9568, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 47 } }, "callee": { "type": "Identifier", "start": 9527, "end": 9539, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9540, "end": 9567, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 227, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9540, "end": 9544, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 227, "column": 23 } } }, "property": { "type": "Identifier", "start": 9545, "end": 9567, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null }, { "type": "IfStatement", "start": 9577, "end": 9636, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 230, "column": 37 } }, "test": { "type": "MemberExpression", "start": 9580, "end": 9596, "loc": { "start": { "line": 229, "column": 7 }, "end": { "line": 229, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9580, "end": 9584, "loc": { "start": { "line": 229, "column": 7 }, "end": { "line": 229, "column": 11 } } }, "property": { "type": "Identifier", "start": 9585, "end": 9596, "loc": { "start": { "line": 229, "column": 12 }, "end": { "line": 229, "column": 23 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9605, "end": 9636, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9605, "end": 9635, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 36 } }, "callee": { "type": "Identifier", "start": 9605, "end": 9617, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9618, "end": 9634, "loc": { "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9618, "end": 9622, "loc": { "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 23 } } }, "property": { "type": "Identifier", "start": 9623, "end": 9634, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9644, "end": 9721, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9727, "end": 10186, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 251, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9727, "end": 10185, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 251, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9727, "end": 9743, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9727, "end": 9731, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9732, "end": 9743, "loc": { "start": { "line": 235, "column": 9 }, "end": { "line": 235, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9746, "end": 10185, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 251, "column": 11 } }, "callee": { "type": "Identifier", "start": 9746, "end": 9756, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 235, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9757, "end": 10179, "loc": { "start": { "line": 235, "column": 34 }, "end": { "line": 251, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9763, "end": 10179, "loc": { "start": { "line": 235, "column": 40 }, "end": { "line": 251, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9772, "end": 10133, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 249, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9785, "end": 9989, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 243, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9785, "end": 9801, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9785, "end": 9789, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 12 } } }, "property": { "type": "Identifier", "start": 9790, "end": 9801, "loc": { "start": { "line": 237, "column": 13 }, "end": { "line": 237, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9828, "end": 9978, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 242, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9828, "end": 9945, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 241, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9828, "end": 9910, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 240, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9829, "end": 9875, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9829, "end": 9850, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9830, "end": 9850, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9830, "end": 9845, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 27 } }, "object": { "type": "Identifier", "start": 9830, "end": 9836, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9837, "end": 9845, "loc": { "start": { "line": 239, "column": 19 }, "end": { "line": 239, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9846, "end": 9849, "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9854, "end": 9875, "loc": { "start": { "line": 239, "column": 36 }, "end": { "line": 239, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9855, "end": 9875, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9855, "end": 9870, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 52 } }, "object": { "type": "Identifier", "start": 9855, "end": 9861, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9862, "end": 9870, "loc": { "start": { "line": 239, "column": 44 }, "end": { "line": 239, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9871, "end": 9874, "loc": { "start": { "line": 239, "column": 53 }, "end": { "line": 239, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9828 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9891, "end": 9910, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 29 } }, "left": { "type": "Identifier", "start": 9891, "end": 9897, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9902, "end": 9910, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9925, "end": 9945, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 30 } }, "left": { "type": "Identifier", "start": 9925, "end": 9931, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9936, "end": 9945, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9960, "end": 9978, "loc": { "start": { "line": 242, "column": 10 }, "end": { "line": 242, "column": 28 } }, "left": { "type": "Identifier", "start": 9960, "end": 9966, "loc": { "start": { "line": 242, "column": 10 }, "end": { "line": 242, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9971, "end": 9978, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9815 } } }, "consequent": { "type": "BlockStatement", "start": 9998, "end": 10133, "loc": { "start": { "line": 244, "column": 7 }, "end": { "line": 249, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 10009, "end": 10079, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 246, "column": 46 } }, "test": { "type": "MemberExpression", "start": 10012, "end": 10030, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 29 } }, "object": { "type": "MemberExpression", "start": 10012, "end": 10024, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 23 } }, "object": { "type": "ThisExpression", "start": 10012, "end": 10016, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 15 } } }, "property": { "type": "Identifier", "start": 10017, "end": 10024, "loc": { "start": { "line": 245, "column": 16 }, "end": { "line": 245, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10025, "end": 10030, "loc": { "start": { "line": 245, "column": 24 }, "end": { "line": 245, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10043, "end": 10079, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 46 } }, "expression": { "type": "CallExpression", "start": 10043, "end": 10078, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 10043, "end": 10054, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 21 } }, "object": { "type": "Identifier", "start": 10043, "end": 10050, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10051, "end": 10054, "loc": { "start": { "line": 246, "column": 18 }, "end": { "line": 246, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10055, "end": 10069, "loc": { "start": { "line": 246, "column": 22 }, "end": { "line": 246, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 10071, "end": 10077, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 10091, "end": 10124, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 41 } }, "expression": { "type": "CallExpression", "start": 10091, "end": 10123, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 10091, "end": 10112, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10091, "end": 10095, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, "property": { "type": "Identifier", "start": 10096, "end": 10112, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10113, "end": 10119, "loc": { "start": { "line": 248, "column": 30 }, "end": { "line": 248, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 10121, "end": 10122, "loc": { "start": { "line": 248, "column": 38 }, "end": { "line": 248, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 10141, "end": 10172, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 37 } }, "expression": { "type": "CallExpression", "start": 10141, "end": 10171, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 36 } }, "callee": { "type": "Identifier", "start": 10141, "end": 10153, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10154, "end": 10170, "loc": { "start": { "line": 250, "column": 19 }, "end": { "line": 250, "column": 35 } }, "object": { "type": "ThisExpression", "start": 10154, "end": 10158, "loc": { "start": { "line": 250, "column": 19 }, "end": { "line": 250, "column": 23 } } }, "property": { "type": "Identifier", "start": 10159, "end": 10170, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10181, "end": 10184, "loc": { "start": { "line": 251, "column": 7 }, "end": { "line": 251, "column": 10 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9644, "end": 9721, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9257, "end": 9298, "loc": { "start": { "line": 216, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9302, "end": 9328, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 10197, "end": 10236, "loc": { "start": { "line": 254, "column": 2 }, "end": { "line": 256, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10240, "end": 10385, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 261, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10240, "end": 10259, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 257, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10261, "end": 10385, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 261, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10268, "end": 10293, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 10268, "end": 10292, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10268, "end": 10284, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 20 } }, "object": { "type": "ThisExpression", "start": 10268, "end": 10272, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 8 } } }, "property": { "type": "Identifier", "start": 10273, "end": 10284, "loc": { "start": { "line": 258, "column": 9 }, "end": { "line": 258, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 10287, "end": 10292, "loc": { "start": { "line": 258, "column": 23 }, "end": { "line": 258, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 10299, "end": 10380, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 260, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10302, "end": 10329, "loc": { "start": { "line": 259, "column": 7 }, "end": { "line": 259, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10302, "end": 10306, "loc": { "start": { "line": 259, "column": 7 }, "end": { "line": 259, "column": 11 } } }, "property": { "type": "Identifier", "start": 10307, "end": 10329, "loc": { "start": { "line": 259, "column": 12 }, "end": { "line": 259, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10338, "end": 10380, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10338, "end": 10379, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 47 } }, "callee": { "type": "Identifier", "start": 10338, "end": 10350, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10351, "end": 10378, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10351, "end": 10355, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 23 } } }, "property": { "type": "Identifier", "start": 10356, "end": 10378, "loc": { "start": { "line": 260, "column": 24 }, "end": { "line": 260, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 10197, "end": 10236, "loc": { "start": { "line": 254, "column": 2 }, "end": { "line": 256, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10391, "end": 10427, "loc": { "start": { "line": 263, "column": 2 }, "end": { "line": 265, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10431, "end": 10457, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 10461, "end": 10929, "loc": { "start": { "line": 267, "column": 2 }, "end": { "line": 282, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10461, "end": 10477, "loc": { "start": { "line": 267, "column": 2 }, "end": { "line": 267, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10478, "end": 10484, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10485, "end": 10929, "loc": { "start": { "line": 267, "column": 26 }, "end": { "line": 282, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10492, "end": 10573, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 269, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10495, "end": 10522, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10495, "end": 10499, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 11 } } }, "property": { "type": "Identifier", "start": 10500, "end": 10522, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10531, "end": 10573, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10531, "end": 10572, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 47 } }, "callee": { "type": "Identifier", "start": 10531, "end": 10543, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10544, "end": 10571, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10544, "end": 10548, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 23 } } }, "property": { "type": "Identifier", "start": 10549, "end": 10571, "loc": { "start": { "line": 269, "column": 24 }, "end": { "line": 269, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10581, "end": 10667, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 273, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 10673, "end": 10924, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 281, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 10673, "end": 10923, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 281, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10673, "end": 10700, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 31 } }, "object": { "type": "ThisExpression", "start": 10673, "end": 10677, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10678, "end": 10700, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 10703, "end": 10923, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 281, "column": 11 } }, "callee": { "type": "Identifier", "start": 10703, "end": 10713, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 274, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10714, "end": 10917, "loc": { "start": { "line": 274, "column": 45 }, "end": { "line": 281, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10720, "end": 10917, "loc": { "start": { "line": 274, "column": 51 }, "end": { "line": 281, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 10729, "end": 10910, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 280, "column": 7 } }, "test": { "type": "MemberExpression", "start": 10732, "end": 10748, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10732, "end": 10736, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 13 } } }, "property": { "type": "Identifier", "start": 10737, "end": 10748, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 25 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 10749, "end": 10842, "loc": { "start": { "line": 275, "column": 26 }, "end": { "line": 278, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10760, "end": 10793, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 41 } }, "expression": { "type": "CallExpression", "start": 10760, "end": 10792, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 10760, "end": 10784, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 32 } }, "object": { "type": "ThisExpression", "start": 10760, "end": 10764, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 12 } } }, "property": { "type": "Identifier", "start": 10765, "end": 10784, "loc": { "start": { "line": 276, "column": 13 }, "end": { "line": 276, "column": 32 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10785, "end": 10791, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "column": 39 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 10803, "end": 10833, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10803, "end": 10832, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10803, "end": 10824, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10803, "end": 10807, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 12 } } }, "property": { "type": "Identifier", "start": 10808, "end": 10824, "loc": { "start": { "line": 277, "column": 13 }, "end": { "line": 277, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10825, "end": 10831, "loc": { "start": { "line": 277, "column": 30 }, "end": { "line": 277, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10848, "end": 10910, "loc": { "start": { "line": 278, "column": 13 }, "end": { "line": 280, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10859, "end": 10901, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 50 } }, "expression": { "type": "CallExpression", "start": 10859, "end": 10900, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 49 } }, "callee": { "type": "Identifier", "start": 10859, "end": 10871, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 20 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10872, "end": 10899, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 48 } }, "object": { "type": "ThisExpression", "start": 10872, "end": 10876, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 25 } } }, "property": { "type": "Identifier", "start": 10877, "end": 10899, "loc": { "start": { "line": 279, "column": 26 }, "end": { "line": 279, "column": 48 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10919, "end": 10922, "loc": { "start": { "line": 281, "column": 7 }, "end": { "line": 281, "column": 10 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10581, "end": 10667, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 273, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10391, "end": 10427, "loc": { "start": { "line": 263, "column": 2 }, "end": { "line": 265, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10431, "end": 10457, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10935, "end": 11032, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 286, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11036, "end": 11148, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 291, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11036, "end": 11054, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11056, "end": 11148, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 291, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11063, "end": 11143, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "column": 7 } }, "expression": { "type": "CallExpression", "start": 11063, "end": 11142, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 11063, "end": 11076, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 17 } }, "object": { "type": "ThisExpression", "start": 11063, "end": 11067, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 8 } } }, "property": { "type": "Identifier", "start": 11068, "end": 11076, "loc": { "start": { "line": 288, "column": 9 }, "end": { "line": 288, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11077, "end": 11141, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 290, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11078, "end": 11086, "loc": { "start": { "line": 288, "column": 19 }, "end": { "line": 288, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 11091, "end": 11141, "loc": { "start": { "line": 288, "column": 32 }, "end": { "line": 290, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11100, "end": 11134, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 40 } }, "expression": { "type": "CallExpression", "start": 11100, "end": 11133, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 11100, "end": 11121, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 27 } }, "object": { "type": "Identifier", "start": 11100, "end": 11108, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 11109, "end": 11121, "loc": { "start": { "line": 289, "column": 15 }, "end": { "line": 289, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11122, "end": 11132, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 38 } }, "object": { "type": "ThisExpression", "start": 11122, "end": 11126, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 32 } } }, "property": { "type": "Identifier", "start": 11127, "end": 11132, "loc": { "start": { "line": 289, "column": 33 }, "end": { "line": 289, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10935, "end": 11032, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 286, "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": 11156, "end": 11274, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 296, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11278, "end": 11540, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 306, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11278, "end": 11288, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 297, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11289, "end": 11298, "loc": { "start": { "line": 297, "column": 13 }, "end": { "line": 297, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11299, "end": 11540, "loc": { "start": { "line": 297, "column": 23 }, "end": { "line": 306, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11306, "end": 11354, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11306, "end": 11353, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11306, "end": 11315, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11318, "end": 11353, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 51 } }, "left": { "type": "Identifier", "start": 11318, "end": 11327, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11331, "end": 11353, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11331, "end": 11343, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11331, "end": 11335, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 33 } } }, "property": { "type": "Identifier", "start": 11336, "end": 11343, "loc": { "start": { "line": 298, "column": 34 }, "end": { "line": 298, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11344, "end": 11353, "loc": { "start": { "line": 298, "column": 42 }, "end": { "line": 298, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11360, "end": 11387, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 11360, "end": 11386, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11360, "end": 11381, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11360, "end": 11370, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11360, "end": 11364, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 8 } } }, "property": { "type": "Identifier", "start": 11365, "end": 11370, "loc": { "start": { "line": 299, "column": 9 }, "end": { "line": 299, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11371, "end": 11380, "loc": { "start": { "line": 299, "column": 15 }, "end": { "line": 299, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "StringLiteral", "start": 11384, "end": 11386, "loc": { "start": { "line": 299, "column": 28 }, "end": { "line": 299, "column": 30 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11395, "end": 11450, "loc": { "start": { "line": 301, "column": 4 }, "end": { "line": 303, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11456, "end": 11535, "loc": { "start": { "line": 304, "column": 4 }, "end": { "line": 305, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11459, "end": 11490, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11459, "end": 11471, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11459, "end": 11463, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11464, "end": 11471, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11472, "end": 11490, "loc": { "start": { "line": 304, "column": 20 }, "end": { "line": 304, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11499, "end": 11535, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11499, "end": 11534, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11499, "end": 11522, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11499, "end": 11503, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 10 } } }, "property": { "type": "Identifier", "start": 11504, "end": 11522, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11523, "end": 11533, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11523, "end": 11527, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 34 } } }, "property": { "type": "Identifier", "start": 11528, "end": 11533, "loc": { "start": { "line": 305, "column": 35 }, "end": { "line": 305, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11395, "end": 11450, "loc": { "start": { "line": 301, "column": 4 }, "end": { "line": 303, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11156, "end": 11274, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 296, "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": 11546, "end": 11708, "loc": { "start": { "line": 308, "column": 2 }, "end": { "line": 311, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11712, "end": 11989, "loc": { "start": { "line": 312, "column": 2 }, "end": { "line": 322, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11712, "end": 11720, "loc": { "start": { "line": 312, "column": 2 }, "end": { "line": 312, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11721, "end": 11730, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11731, "end": 11989, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 322, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11738, "end": 11786, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11738, "end": 11785, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11738, "end": 11747, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11750, "end": 11785, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 51 } }, "left": { "type": "Identifier", "start": 11750, "end": 11759, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11763, "end": 11785, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11763, "end": 11775, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11763, "end": 11767, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 33 } } }, "property": { "type": "Identifier", "start": 11768, "end": 11775, "loc": { "start": { "line": 313, "column": 34 }, "end": { "line": 313, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11776, "end": 11785, "loc": { "start": { "line": 313, "column": 42 }, "end": { "line": 313, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11794, "end": 11849, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11855, "end": 11934, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 319, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11858, "end": 11889, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11858, "end": 11870, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11858, "end": 11862, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11863, "end": 11870, "loc": { "start": { "line": 318, "column": 12 }, "end": { "line": 318, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11871, "end": 11889, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11898, "end": 11934, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11898, "end": 11933, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11898, "end": 11921, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11898, "end": 11902, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 10 } } }, "property": { "type": "Identifier", "start": 11903, "end": 11921, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11922, "end": 11932, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11922, "end": 11926, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 34 } } }, "property": { "type": "Identifier", "start": 11927, "end": 11932, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11794, "end": 11849, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11942, "end": 11984, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11949, "end": 11983, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11949, "end": 11959, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11949, "end": 11953, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 15 } } }, "property": { "type": "Identifier", "start": 11954, "end": 11959, "loc": { "start": { "line": 321, "column": 16 }, "end": { "line": 321, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11960, "end": 11982, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11960, "end": 11972, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11960, "end": 11964, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 26 } } }, "property": { "type": "Identifier", "start": 11965, "end": 11972, "loc": { "start": { "line": 321, "column": 27 }, "end": { "line": 321, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11973, "end": 11982, "loc": { "start": { "line": 321, "column": 35 }, "end": { "line": 321, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11546, "end": 11708, "loc": { "start": { "line": 308, "column": 2 }, "end": { "line": 311, "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": 11995, "end": 12155, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12159, "end": 12429, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 338, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12159, "end": 12167, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 329, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12168, "end": 12173, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 12175, "end": 12184, "loc": { "start": { "line": 329, "column": 18 }, "end": { "line": 329, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 12185, "end": 12429, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 338, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12192, "end": 12240, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 12192, "end": 12239, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 12192, "end": 12201, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 12204, "end": 12239, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 51 } }, "left": { "type": "Identifier", "start": 12204, "end": 12213, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 12217, "end": 12239, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 51 } }, "object": { "type": "MemberExpression", "start": 12217, "end": 12229, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 41 } }, "object": { "type": "ThisExpression", "start": 12217, "end": 12221, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 33 } } }, "property": { "type": "Identifier", "start": 12222, "end": 12229, "loc": { "start": { "line": 330, "column": 34 }, "end": { "line": 330, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12230, "end": 12239, "loc": { "start": { "line": 330, "column": 42 }, "end": { "line": 330, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 12246, "end": 12276, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 12246, "end": 12275, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12246, "end": 12267, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12246, "end": 12256, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12246, "end": 12250, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 8 } } }, "property": { "type": "Identifier", "start": 12251, "end": 12256, "loc": { "start": { "line": 331, "column": 9 }, "end": { "line": 331, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 12257, "end": 12266, "loc": { "start": { "line": 331, "column": 15 }, "end": { "line": 331, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 12270, "end": 12275, "loc": { "start": { "line": 331, "column": 28 }, "end": { "line": 331, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12284, "end": 12339, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 335, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12345, "end": 12424, "loc": { "start": { "line": 336, "column": 4 }, "end": { "line": 337, "column": 42 } }, "test": { "type": "MemberExpression", "start": 12348, "end": 12379, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12348, "end": 12360, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 19 } }, "object": { "type": "ThisExpression", "start": 12348, "end": 12352, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12353, "end": 12360, "loc": { "start": { "line": 336, "column": 12 }, "end": { "line": 336, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12361, "end": 12379, "loc": { "start": { "line": 336, "column": 20 }, "end": { "line": 336, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 12388, "end": 12424, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 42 } }, "expression": { "type": "CallExpression", "start": 12388, "end": 12423, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 12388, "end": 12411, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12388, "end": 12392, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 10 } } }, "property": { "type": "Identifier", "start": 12393, "end": 12411, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12412, "end": 12422, "loc": { "start": { "line": 337, "column": 30 }, "end": { "line": 337, "column": 40 } }, "object": { "type": "ThisExpression", "start": 12412, "end": 12416, "loc": { "start": { "line": 337, "column": 30 }, "end": { "line": 337, "column": 34 } } }, "property": { "type": "Identifier", "start": 12417, "end": 12422, "loc": { "start": { "line": 337, "column": 35 }, "end": { "line": 337, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12284, "end": 12339, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 335, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11995, "end": 12155, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "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": 12437, "end": 12546, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 343, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12550, "end": 12606, "loc": { "start": { "line": 344, "column": 2 }, "end": { "line": 346, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12550, "end": 12562, "loc": { "start": { "line": 344, "column": 2 }, "end": { "line": 344, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12563, "end": 12571, "loc": { "start": { "line": 344, "column": 15 }, "end": { "line": 344, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 12572, "end": 12606, "loc": { "start": { "line": 344, "column": 24 }, "end": { "line": 346, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12579, "end": 12601, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12579, "end": 12600, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12579, "end": 12589, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12579, "end": 12583, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 8 } } }, "property": { "type": "Identifier", "start": 12584, "end": 12589, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 12592, "end": 12600, "loc": { "start": { "line": 345, "column": 17 }, "end": { "line": 345, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12437, "end": 12546, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 343, "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": 12612, "end": 12738, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12742, "end": 12876, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 356, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12742, "end": 12752, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12755, "end": 12876, "loc": { "start": { "line": 352, "column": 15 }, "end": { "line": 356, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12755, "end": 12761, "loc": { "start": { "line": 352, "column": 15 }, "end": { "line": 352, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 12765, "end": 12876, "loc": { "start": { "line": 352, "column": 25 }, "end": { "line": 356, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12772, "end": 12794, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12772, "end": 12793, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 12772, "end": 12778, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 12781, "end": 12793, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 25 } }, "left": { "type": "Identifier", "start": 12781, "end": 12787, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 12791, "end": 12793, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 12800, "end": 12851, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12800, "end": 12850, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12800, "end": 12812, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12800, "end": 12804, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 8 } } }, "property": { "type": "Identifier", "start": 12805, "end": 12812, "loc": { "start": { "line": 354, "column": 9 }, "end": { "line": 354, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 12815, "end": 12850, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 12815, "end": 12828, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 32 } }, "object": { "type": "Identifier", "start": 12815, "end": 12821, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12822, "end": 12828, "loc": { "start": { "line": 354, "column": 26 }, "end": { "line": 354, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12829, "end": 12841, "loc": { "start": { "line": 354, "column": 33 }, "end": { "line": 354, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12829, "end": 12833, "loc": { "start": { "line": 354, "column": 33 }, "end": { "line": 354, "column": 37 } } }, "property": { "type": "Identifier", "start": 12834, "end": 12841, "loc": { "start": { "line": 354, "column": 38 }, "end": { "line": 354, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 12843, "end": 12849, "loc": { "start": { "line": 354, "column": 47 }, "end": { "line": 354, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 12857, "end": 12871, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12857, "end": 12870, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12857, "end": 12868, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12857, "end": 12861, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 8 } } }, "property": { "type": "Identifier", "start": 12862, "end": 12868, "loc": { "start": { "line": 355, "column": 9 }, "end": { "line": 355, "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": 12612, "end": 12738, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "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": 12882, "end": 12991, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 361, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12995, "end": 13134, "loc": { "start": { "line": 362, "column": 2 }, "end": { "line": 366, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12995, "end": 13000, "loc": { "start": { "line": 362, "column": 2 }, "end": { "line": 362, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13002, "end": 13134, "loc": { "start": { "line": 362, "column": 9 }, "end": { "line": 366, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 13009, "end": 13041, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13009, "end": 13040, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13009, "end": 13035, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 30 } }, "object": { "type": "MemberExpression", "start": 13009, "end": 13025, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13009, "end": 13013, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 8 } } }, "property": { "type": "Identifier", "start": 13014, "end": 13025, "loc": { "start": { "line": 363, "column": 9 }, "end": { "line": 363, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 13026, "end": 13035, "loc": { "start": { "line": 363, "column": 21 }, "end": { "line": 363, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 13038, "end": 13040, "loc": { "start": { "line": 363, "column": 33 }, "end": { "line": 363, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 13047, "end": 13098, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 13047, "end": 13097, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13047, "end": 13073, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 30 } }, "object": { "type": "MemberExpression", "start": 13047, "end": 13063, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13047, "end": 13051, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 8 } } }, "property": { "type": "Identifier", "start": 13052, "end": 13063, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 13064, "end": 13073, "loc": { "start": { "line": 364, "column": 21 }, "end": { "line": 364, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 13076, "end": 13097, "loc": { "start": { "line": 364, "column": 33 }, "end": { "line": 364, "column": 54 } }, "object": { "type": "ThisExpression", "start": 13076, "end": 13080, "loc": { "start": { "line": 364, "column": 33 }, "end": { "line": 364, "column": 37 } } }, "property": { "type": "Identifier", "start": 13081, "end": 13097, "loc": { "start": { "line": 364, "column": 38 }, "end": { "line": 364, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 13104, "end": 13129, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 13104, "end": 13128, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13104, "end": 13123, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 23 } }, "object": { "type": "ThisExpression", "start": 13104, "end": 13108, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 8 } } }, "property": { "type": "Identifier", "start": 13109, "end": 13123, "loc": { "start": { "line": 365, "column": 9 }, "end": { "line": 365, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 13126, "end": 13128, "loc": { "start": { "line": 365, "column": 26 }, "end": { "line": 365, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12882, "end": 12991, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 361, "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": 13140, "end": 13345, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 371, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13349, "end": 13717, "loc": { "start": { "line": 372, "column": 2 }, "end": { "line": 381, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13349, "end": 13357, "loc": { "start": { "line": 372, "column": 2 }, "end": { "line": 372, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13358, "end": 13366, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 13367, "end": 13717, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 381, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13374, "end": 13558, "loc": { "start": { "line": 373, "column": 4 }, "end": { "line": 376, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 13377, "end": 13411, "loc": { "start": { "line": 373, "column": 7 }, "end": { "line": 373, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13378, "end": 13411, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 41 } }, "object": { "type": "Identifier", "start": 13378, "end": 13384, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13385, "end": 13410, "loc": { "start": { "line": 373, "column": 15 }, "end": { "line": 373, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13412, "end": 13558, "loc": { "start": { "line": 373, "column": 42 }, "end": { "line": 376, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13421, "end": 13504, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 89 } }, "expression": { "type": "CallExpression", "start": 13421, "end": 13503, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 13421, "end": 13433, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 18 } }, "object": { "type": "Identifier", "start": 13421, "end": 13428, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 13429, "end": 13433, "loc": { "start": { "line": 374, "column": 14 }, "end": { "line": 374, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 13434, "end": 13502, "loc": { "start": { "line": 374, "column": 19 }, "end": { "line": 374, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 13435, "end": 13501, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "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": 13512, "end": 13551, "loc": { "start": { "line": 375, "column": 6 }, "end": { "line": 375, "column": 45 } }, "argument": { "type": "NewExpression", "start": 13518, "end": 13550, "loc": { "start": { "line": 375, "column": 12 }, "end": { "line": 375, "column": 44 } }, "callee": { "type": "Identifier", "start": 13522, "end": 13527, "loc": { "start": { "line": 375, "column": 16 }, "end": { "line": 375, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 13528, "end": 13549, "loc": { "start": { "line": 375, "column": 22 }, "end": { "line": 375, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13570, "end": 13712, "loc": { "start": { "line": 378, "column": 4 }, "end": { "line": 380, "column": 6 } }, "argument": { "type": "CallExpression", "start": 13577, "end": 13712, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 380, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13577, "end": 13631, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 65 } }, "object": { "type": "CallExpression", "start": 13577, "end": 13623, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 13577, "end": 13588, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 22 } }, "object": { "type": "Identifier", "start": 13577, "end": 13583, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 13584, "end": 13588, "loc": { "start": { "line": 378, "column": 18 }, "end": { "line": 378, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13589, "end": 13622, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 56 } }, "object": { "type": "Identifier", "start": 13589, "end": 13595, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13596, "end": 13621, "loc": { "start": { "line": 378, "column": 30 }, "end": { "line": 378, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 13624, "end": 13631, "loc": { "start": { "line": 378, "column": 58 }, "end": { "line": 378, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13632, "end": 13711, "loc": { "start": { "line": 378, "column": 66 }, "end": { "line": 380, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13633, "end": 13636, "loc": { "start": { "line": 378, "column": 67 }, "end": { "line": 378, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 13641, "end": 13711, "loc": { "start": { "line": 378, "column": 75 }, "end": { "line": 380, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13650, "end": 13704, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 60 } }, "expression": { "type": "CallExpression", "start": 13650, "end": 13703, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 59 } }, "callee": { "type": "Identifier", "start": 13650, "end": 13658, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 13659, "end": 13697, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13659, "end": 13692, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 48 } }, "object": { "type": "Identifier", "start": 13659, "end": 13665, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13666, "end": 13691, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 13693, "end": 13696, "loc": { "start": { "line": 379, "column": 49 }, "end": { "line": 379, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 13699, "end": 13702, "loc": { "start": { "line": 379, "column": 55 }, "end": { "line": 379, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 13140, "end": 13345, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 371, "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": 13723, "end": 14004, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 387, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 14008, "end": 15240, "loc": { "start": { "line": 388, "column": 2 }, "end": { "line": 431, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14008, "end": 14022, "loc": { "start": { "line": 388, "column": 2 }, "end": { "line": 388, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14023, "end": 14030, "loc": { "start": { "line": 388, "column": 17 }, "end": { "line": 388, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 14032, "end": 14041, "loc": { "start": { "line": 388, "column": 26 }, "end": { "line": 388, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 14042, "end": 15240, "loc": { "start": { "line": 388, "column": 36 }, "end": { "line": 431, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14049, "end": 14096, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 390, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 14052, "end": 14074, "loc": { "start": { "line": 389, "column": 7 }, "end": { "line": 389, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 14052, "end": 14062, "loc": { "start": { "line": 389, "column": 7 }, "end": { "line": 389, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14053, "end": 14062, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 14066, "end": 14074, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14067, "end": 14074, "loc": { "start": { "line": 389, "column": 22 }, "end": { "line": 389, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 14083, "end": 14096, "loc": { "start": { "line": 390, "column": 6 }, "end": { "line": 390, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 14090, "end": 14095, "loc": { "start": { "line": 390, "column": 13 }, "end": { "line": 390, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 14104, "end": 15213, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 428, "column": 7 } }, "expression": { "type": "CallExpression", "start": 14104, "end": 15212, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 428, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 14104, "end": 14130, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 30 } }, "object": { "type": "CallExpression", "start": 14104, "end": 14122, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 14104, "end": 14117, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 17 } }, "object": { "type": "Identifier", "start": 14104, "end": 14111, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 14112, "end": 14117, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14118, "end": 14121, "loc": { "start": { "line": 392, "column": 18 }, "end": { "line": 392, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14123, "end": 14130, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14131, "end": 15211, "loc": { "start": { "line": 392, "column": 31 }, "end": { "line": 428, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14131, "end": 14137, "loc": { "start": { "line": 392, "column": 31 }, "end": { "line": 392, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 14141, "end": 15211, "loc": { "start": { "line": 392, "column": 41 }, "end": { "line": 428, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14150, "end": 15204, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 427, "column": 9 } }, "expression": { "type": "CallExpression", "start": 14150, "end": 15203, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 427, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 14150, "end": 14178, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 34 } }, "object": { "type": "CallExpression", "start": 14150, "end": 14170, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 14150, "end": 14165, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 21 } }, "object": { "type": "Identifier", "start": 14150, "end": 14159, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 14160, "end": 14165, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14166, "end": 14169, "loc": { "start": { "line": 393, "column": 22 }, "end": { "line": 393, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14171, "end": 14178, "loc": { "start": { "line": 393, "column": 27 }, "end": { "line": 393, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14179, "end": 15202, "loc": { "start": { "line": 393, "column": 35 }, "end": { "line": 427, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14179, "end": 14192, "loc": { "start": { "line": 393, "column": 35 }, "end": { "line": 393, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 14196, "end": 15202, "loc": { "start": { "line": 393, "column": 52 }, "end": { "line": 427, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 14207, "end": 14278, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 395, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 14210, "end": 14235, "loc": { "start": { "line": 394, "column": 11 }, "end": { "line": 394, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 14211, "end": 14235, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14211, "end": 14223, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 24 } }, "object": { "type": "ThisExpression", "start": 14211, "end": 14215, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 16 } } }, "property": { "type": "Identifier", "start": 14216, "end": 14223, "loc": { "start": { "line": 394, "column": 17 }, "end": { "line": 394, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14224, "end": 14235, "loc": { "start": { "line": 394, "column": 25 }, "end": { "line": 394, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 14248, "end": 14278, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 14248, "end": 14277, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14248, "end": 14272, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14248, "end": 14260, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14248, "end": 14252, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 14 } } }, "property": { "type": "Identifier", "start": 14253, "end": 14260, "loc": { "start": { "line": 395, "column": 15 }, "end": { "line": 395, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14261, "end": 14272, "loc": { "start": { "line": 395, "column": 23 }, "end": { "line": 395, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14275, "end": 14277, "loc": { "start": { "line": 395, "column": 37 }, "end": { "line": 395, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 14290, "end": 14317, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14294, "end": 14316, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 34 } }, "id": { "type": "Identifier", "start": 14294, "end": 14308, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 14311, "end": 14316, "loc": { "start": { "line": 397, "column": 29 }, "end": { "line": 397, "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": 14331, "end": 14422, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 401, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 14432, "end": 14940, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 415, "column": 11 } }, "expression": { "type": "CallExpression", "start": 14432, "end": 14939, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 415, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 14432, "end": 14460, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14432, "end": 14456, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 32 } }, "object": { "type": "MemberExpression", "start": 14432, "end": 14444, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 20 } }, "object": { "type": "ThisExpression", "start": 14432, "end": 14436, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14437, "end": 14444, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14445, "end": 14456, "loc": { "start": { "line": 402, "column": 21 }, "end": { "line": 402, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14457, "end": 14460, "loc": { "start": { "line": 402, "column": 33 }, "end": { "line": 402, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14461, "end": 14938, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 415, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14461, "end": 14472, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 14476, "end": 14938, "loc": { "start": { "line": 402, "column": 52 }, "end": { "line": 415, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 14491, "end": 14896, "loc": { "start": { "line": 404, "column": 10 }, "end": { "line": 413, "column": 11 } }, "test": { "type": "CallExpression", "start": 14494, "end": 14546, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14494, "end": 14531, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 50 } }, "object": { "type": "CallExpression", "start": 14494, "end": 14522, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 14494, "end": 14517, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14494, "end": 14511, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 30 } }, "object": { "type": "Identifier", "start": 14494, "end": 14505, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14506, "end": 14511, "loc": { "start": { "line": 404, "column": 25 }, "end": { "line": 404, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 14512, "end": 14517, "loc": { "start": { "line": 404, "column": 31 }, "end": { "line": 404, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14518, "end": 14521, "loc": { "start": { "line": 404, "column": 37 }, "end": { "line": 404, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14523, "end": 14531, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14532, "end": 14545, "loc": { "start": { "line": 404, "column": 51 }, "end": { "line": 404, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 14547, "end": 14896, "loc": { "start": { "line": 404, "column": 66 }, "end": { "line": 413, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 14562, "end": 14584, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 14562, "end": 14583, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 14562, "end": 14576, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14579, "end": 14583, "loc": { "start": { "line": 405, "column": 29 }, "end": { "line": 405, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 14612, "end": 14666, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14616, "end": 14665, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 65 } }, "id": { "type": "Identifier", "start": 14616, "end": 14632, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 14635, "end": 14665, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14635, "end": 14660, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 60 } }, "object": { "type": "MemberExpression", "start": 14635, "end": 14654, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 54 } }, "object": { "type": "Identifier", "start": 14635, "end": 14646, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14647, "end": 14654, "loc": { "start": { "line": 407, "column": 47 }, "end": { "line": 407, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 14655, "end": 14660, "loc": { "start": { "line": 407, "column": 55 }, "end": { "line": 407, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14661, "end": 14664, "loc": { "start": { "line": 407, "column": 61 }, "end": { "line": 407, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14680, "end": 14883, "loc": { "start": { "line": 408, "column": 12 }, "end": { "line": 412, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14683, "end": 14717, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14684, "end": 14717, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 14684, "end": 14709, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 41 } }, "object": { "type": "Identifier", "start": 14684, "end": 14700, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14701, "end": 14709, "loc": { "start": { "line": 408, "column": 33 }, "end": { "line": 408, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14710, "end": 14716, "loc": { "start": { "line": 408, "column": 42 }, "end": { "line": 408, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14718, "end": 14883, "loc": { "start": { "line": 408, "column": 50 }, "end": { "line": 412, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14735, "end": 14757, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14735, "end": 14756, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 14735, "end": 14749, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14752, "end": 14756, "loc": { "start": { "line": 409, "column": 31 }, "end": { "line": 409, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 14773, "end": 14803, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14773, "end": 14802, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14773, "end": 14794, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 35 } }, "object": { "type": "Identifier", "start": 14773, "end": 14789, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14790, "end": 14794, "loc": { "start": { "line": 410, "column": 31 }, "end": { "line": 410, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14795, "end": 14801, "loc": { "start": { "line": 410, "column": 36 }, "end": { "line": 410, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 14819, "end": 14868, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 14819, "end": 14867, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14819, "end": 14838, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 33 } }, "object": { "type": "Identifier", "start": 14819, "end": 14830, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14831, "end": 14838, "loc": { "start": { "line": 411, "column": 26 }, "end": { "line": 411, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14841, "end": 14867, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14841, "end": 14862, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 57 } }, "object": { "type": "Identifier", "start": 14841, "end": 14857, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14858, "end": 14862, "loc": { "start": { "line": 411, "column": 53 }, "end": { "line": 411, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14863, "end": 14866, "loc": { "start": { "line": 411, "column": 58 }, "end": { "line": 411, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14908, "end": 14927, "loc": { "start": { "line": 414, "column": 10 }, "end": { "line": 414, "column": 29 } }, "argument": { "type": "Identifier", "start": 14915, "end": 14926, "loc": { "start": { "line": 414, "column": 17 }, "end": { "line": 414, "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": 14331, "end": 14422, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 401, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14952, "end": 15027, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "column": 11 } } } ] }, { "type": "IfStatement", "start": 15037, "end": 15191, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 425, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 15040, "end": 15055, "loc": { "start": { "line": 420, "column": 11 }, "end": { "line": 420, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15041, "end": 15055, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15056, "end": 15191, "loc": { "start": { "line": 420, "column": 27 }, "end": { "line": 425, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 15069, "end": 15180, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 424, "column": 13 } }, "expression": { "type": "CallExpression", "start": 15069, "end": 15179, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 424, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 15069, "end": 15098, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "MemberExpression", "start": 15069, "end": 15093, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 34 } }, "object": { "type": "MemberExpression", "start": 15069, "end": 15081, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 22 } }, "object": { "type": "ThisExpression", "start": 15069, "end": 15073, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 14 } } }, "property": { "type": "Identifier", "start": 15074, "end": 15081, "loc": { "start": { "line": 421, "column": 15 }, "end": { "line": 421, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15082, "end": 15093, "loc": { "start": { "line": 421, "column": 23 }, "end": { "line": 421, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15094, "end": 15098, "loc": { "start": { "line": 421, "column": 35 }, "end": { "line": 421, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 15099, "end": 15178, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 424, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 15114, "end": 15134, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15114, "end": 15119, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 15121, "end": 15134, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 15149, "end": 15165, "loc": { "start": { "line": 423, "column": 12 }, "end": { "line": 423, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15149, "end": 15156, "loc": { "start": { "line": 423, "column": 12 }, "end": { "line": 423, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 15158, "end": 15165, "loc": { "start": { "line": 423, "column": 21 }, "end": { "line": 423, "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": 14952, "end": 15027, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 15221, "end": 15235, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 18 } }, "expression": { "type": "CallExpression", "start": 15221, "end": 15234, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 15221, "end": 15232, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 15 } }, "object": { "type": "ThisExpression", "start": 15221, "end": 15225, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 8 } } }, "property": { "type": "Identifier", "start": 15226, "end": 15232, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13723, "end": 14004, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 387, "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": 15246, "end": 15586, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 437, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 15590, "end": 17007, "loc": { "start": { "line": 438, "column": 2 }, "end": { "line": 484, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15590, "end": 15607, "loc": { "start": { "line": 438, "column": 2 }, "end": { "line": 438, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15608, "end": 15615, "loc": { "start": { "line": 438, "column": 20 }, "end": { "line": 438, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 15617, "end": 15626, "loc": { "start": { "line": 438, "column": 29 }, "end": { "line": 438, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 15627, "end": 17007, "loc": { "start": { "line": 438, "column": 39 }, "end": { "line": 484, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15720, "end": 15835, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 446, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15723, "end": 15745, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 15723, "end": 15731, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15724, "end": 15731, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 15735, "end": 15745, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15736, "end": 15745, "loc": { "start": { "line": 442, "column": 20 }, "end": { "line": 442, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15746, "end": 15835, "loc": { "start": { "line": 442, "column": 30 }, "end": { "line": 446, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15755, "end": 15785, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 15755, "end": 15784, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15755, "end": 15779, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 30 } }, "object": { "type": "MemberExpression", "start": 15755, "end": 15767, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15755, "end": 15759, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 15760, "end": 15767, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15768, "end": 15779, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 15782, "end": 15784, "loc": { "start": { "line": 443, "column": 33 }, "end": { "line": 443, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 15793, "end": 15807, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 20 } }, "expression": { "type": "CallExpression", "start": 15793, "end": 15806, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 15793, "end": 15804, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 17 } }, "object": { "type": "ThisExpression", "start": 15793, "end": 15797, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 10 } } }, "property": { "type": "Identifier", "start": 15798, "end": 15804, "loc": { "start": { "line": 444, "column": 11 }, "end": { "line": 444, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 15815, "end": 15828, "loc": { "start": { "line": 445, "column": 6 }, "end": { "line": 445, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 15822, "end": 15827, "loc": { "start": { "line": 445, "column": 13 }, "end": { "line": 445, "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": 15634, "end": 15714, "loc": { "start": { "line": 439, "column": 4 }, "end": { "line": 441, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15843, "end": 15911, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15917, "end": 17002, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 483, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15920, "end": 16005, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15920, "end": 15970, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 57 } }, "left": { "type": "Identifier", "start": 15920, "end": 15927, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15931, "end": 15970, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15931, "end": 15944, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 31 } }, "object": { "type": "Identifier", "start": 15931, "end": 15936, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15937, "end": 15944, "loc": { "start": { "line": 451, "column": 24 }, "end": { "line": 451, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15945, "end": 15969, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15945, "end": 15957, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15945, "end": 15949, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 36 } } }, "property": { "type": "Identifier", "start": 15950, "end": 15957, "loc": { "start": { "line": 451, "column": 37 }, "end": { "line": 451, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15958, "end": 15969, "loc": { "start": { "line": 451, "column": 45 }, "end": { "line": 451, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15974, "end": 16005, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15974, "end": 15998, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15974, "end": 15986, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15974, "end": 15978, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 65 } } }, "property": { "type": "Identifier", "start": 15979, "end": 15986, "loc": { "start": { "line": 451, "column": 66 }, "end": { "line": 451, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15987, "end": 15998, "loc": { "start": { "line": 451, "column": 74 }, "end": { "line": 451, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15999, "end": 16005, "loc": { "start": { "line": 451, "column": 86 }, "end": { "line": 451, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16006, "end": 17002, "loc": { "start": { "line": 451, "column": 93 }, "end": { "line": 483, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16015, "end": 16052, "loc": { "start": { "line": 452, "column": 6 }, "end": { "line": 452, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16019, "end": 16051, "loc": { "start": { "line": 452, "column": 10 }, "end": { "line": 452, "column": 42 } }, "id": { "type": "Identifier", "start": 16019, "end": 16030, "loc": { "start": { "line": 452, "column": 10 }, "end": { "line": 452, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 16033, "end": 16051, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 16033, "end": 16046, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 37 } }, "object": { "type": "Identifier", "start": 16033, "end": 16040, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 16041, "end": 16046, "loc": { "start": { "line": 452, "column": 32 }, "end": { "line": 452, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16047, "end": 16050, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 16060, "end": 16971, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 480, "column": 9 } }, "expression": { "type": "CallExpression", "start": 16060, "end": 16970, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 480, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 16060, "end": 16079, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 453, "column": 25 } }, "object": { "type": "Identifier", "start": 16060, "end": 16071, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 453, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 16072, "end": 16079, "loc": { "start": { "line": 453, "column": 18 }, "end": { "line": 453, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16080, "end": 16969, "loc": { "start": { "line": 453, "column": 26 }, "end": { "line": 480, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16081, "end": 16087, "loc": { "start": { "line": 453, "column": 27 }, "end": { "line": 453, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 16089, "end": 16092, "loc": { "start": { "line": 453, "column": 35 }, "end": { "line": 453, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 16097, "end": 16969, "loc": { "start": { "line": 453, "column": 43 }, "end": { "line": 480, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16108, "end": 16960, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 479, "column": 11 } }, "expression": { "type": "CallExpression", "start": 16108, "end": 16959, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 479, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 16108, "end": 16136, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16108, "end": 16132, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 32 } }, "object": { "type": "MemberExpression", "start": 16108, "end": 16120, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 20 } }, "object": { "type": "ThisExpression", "start": 16108, "end": 16112, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 12 } } }, "property": { "type": "Identifier", "start": 16113, "end": 16120, "loc": { "start": { "line": 454, "column": 13 }, "end": { "line": 454, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16121, "end": 16132, "loc": { "start": { "line": 454, "column": 21 }, "end": { "line": 454, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16133, "end": 16136, "loc": { "start": { "line": 454, "column": 33 }, "end": { "line": 454, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16137, "end": 16958, "loc": { "start": { "line": 454, "column": 37 }, "end": { "line": 479, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16138, "end": 16149, "loc": { "start": { "line": 454, "column": 38 }, "end": { "line": 454, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 16151, "end": 16156, "loc": { "start": { "line": 454, "column": 51 }, "end": { "line": 454, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 16161, "end": 16958, "loc": { "start": { "line": 454, "column": 61 }, "end": { "line": 479, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 16329, "end": 16914, "loc": { "start": { "line": 460, "column": 10 }, "end": { "line": 476, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 16346, "end": 16425, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 462, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 16347, "end": 16397, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 63 } }, "left": { "type": "Identifier", "start": 16347, "end": 16356, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 16360, "end": 16397, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 16360, "end": 16378, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 44 } }, "object": { "type": "Identifier", "start": 16360, "end": 16369, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 16370, "end": 16378, "loc": { "start": { "line": 461, "column": 36 }, "end": { "line": 461, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16379, "end": 16396, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 461, "column": 62 } }, "object": { "type": "Identifier", "start": 16379, "end": 16390, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 461, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16391, "end": 16396, "loc": { "start": { "line": 461, "column": 57 }, "end": { "line": 461, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 16346 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 16415, "end": 16425, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 16416, "end": 16425, "loc": { "start": { "line": 462, "column": 13 }, "end": { "line": 462, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16438, "end": 16914, "loc": { "start": { "line": 463, "column": 11 }, "end": { "line": 476, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 16453, "end": 16542, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16457, "end": 16541, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 100 } }, "id": { "type": "Identifier", "start": 16457, "end": 16476, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 16479, "end": 16541, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 16479, "end": 16516, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 75 } }, "object": { "type": "CallExpression", "start": 16479, "end": 16509, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 16479, "end": 16504, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 63 } }, "object": { "type": "MemberExpression", "start": 16479, "end": 16498, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 57 } }, "object": { "type": "Identifier", "start": 16479, "end": 16490, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16491, "end": 16498, "loc": { "start": { "line": 464, "column": 50 }, "end": { "line": 464, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16499, "end": 16504, "loc": { "start": { "line": 464, "column": 58 }, "end": { "line": 464, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16505, "end": 16508, "loc": { "start": { "line": 464, "column": 64 }, "end": { "line": 464, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 16510, "end": 16516, "loc": { "start": { "line": 464, "column": 69 }, "end": { "line": 464, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16517, "end": 16540, "loc": { "start": { "line": 464, "column": 76 }, "end": { "line": 464, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 16517, "end": 16521, "loc": { "start": { "line": 464, "column": 76 }, "end": { "line": 464, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 16525, "end": 16540, "loc": { "start": { "line": 464, "column": 84 }, "end": { "line": 464, "column": 99 } }, "left": { "type": "Identifier", "start": 16525, "end": 16529, "loc": { "start": { "line": 464, "column": 84 }, "end": { "line": 464, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 16534, "end": 16540, "loc": { "start": { "line": 464, "column": 93 }, "end": { "line": 464, "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": 16558, "end": 16655, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 468, "column": 15 } } } ] }, { "type": "IfStatement", "start": 16669, "end": 16898, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 474, "column": 13 } }, "test": { "type": "MemberExpression", "start": 16672, "end": 16698, "loc": { "start": { "line": 469, "column": 15 }, "end": { "line": 469, "column": 41 } }, "object": { "type": "Identifier", "start": 16672, "end": 16691, "loc": { "start": { "line": 469, "column": 15 }, "end": { "line": 469, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 16692, "end": 16698, "loc": { "start": { "line": 469, "column": 35 }, "end": { "line": 469, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16699, "end": 16783, "loc": { "start": { "line": 469, "column": 42 }, "end": { "line": 471, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16716, "end": 16768, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 16716, "end": 16767, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16716, "end": 16735, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 33 } }, "object": { "type": "Identifier", "start": 16716, "end": 16727, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16728, "end": 16735, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 16738, "end": 16767, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16738, "end": 16762, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 60 } }, "object": { "type": "Identifier", "start": 16738, "end": 16757, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 16758, "end": 16762, "loc": { "start": { "line": 470, "column": 56 }, "end": { "line": 470, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16763, "end": 16766, "loc": { "start": { "line": 470, "column": 61 }, "end": { "line": 470, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16789, "end": 16898, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 474, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16806, "end": 16848, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 56 } }, "expression": { "type": "CallExpression", "start": 16806, "end": 16847, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 16806, "end": 16837, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16806, "end": 16830, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16806, "end": 16818, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16806, "end": 16810, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 18 } } }, "property": { "type": "Identifier", "start": 16811, "end": 16818, "loc": { "start": { "line": 472, "column": 19 }, "end": { "line": 472, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16819, "end": 16830, "loc": { "start": { "line": 472, "column": 27 }, "end": { "line": 472, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16831, "end": 16837, "loc": { "start": { "line": 472, "column": 39 }, "end": { "line": 472, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16838, "end": 16843, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 472, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16845, "end": 16846, "loc": { "start": { "line": 472, "column": 53 }, "end": { "line": 472, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16864, "end": 16883, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16864, "end": 16882, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16864, "end": 16875, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16878, "end": 16882, "loc": { "start": { "line": 473, "column": 28 }, "end": { "line": 473, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16558, "end": 16655, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 468, "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": 16176, "end": 16317, "loc": { "start": { "line": 456, "column": 10 }, "end": { "line": 459, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16928, "end": 16947, "loc": { "start": { "line": 478, "column": 10 }, "end": { "line": 478, "column": 29 } }, "argument": { "type": "Identifier", "start": 16935, "end": 16946, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16981, "end": 16995, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16981, "end": 16994, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16981, "end": 16992, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16981, "end": 16985, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 10 } } }, "property": { "type": "Identifier", "start": 16986, "end": 16992, "loc": { "start": { "line": 482, "column": 11 }, "end": { "line": 482, "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": 15843, "end": 15911, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15246, "end": 15586, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 437, "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": 17013, "end": 17216, "loc": { "start": { "line": 486, "column": 2 }, "end": { "line": 489, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17220, "end": 17487, "loc": { "start": { "line": 490, "column": 2 }, "end": { "line": 503, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17220, "end": 17236, "loc": { "start": { "line": 490, "column": 2 }, "end": { "line": 490, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17237, "end": 17243, "loc": { "start": { "line": 490, "column": 19 }, "end": { "line": 490, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 17244, "end": 17487, "loc": { "start": { "line": 490, "column": 26 }, "end": { "line": 503, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17251, "end": 17262, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17255, "end": 17261, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 } }, "id": { "type": "Identifier", "start": 17255, "end": 17261, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 17270, "end": 17314, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17274, "end": 17313, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 47 } }, "id": { "type": "Identifier", "start": 17274, "end": 17283, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 17286, "end": 17313, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 47 } }, "object": { "type": "MemberExpression", "start": 17286, "end": 17305, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 39 } }, "object": { "type": "ThisExpression", "start": 17286, "end": 17290, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 24 } } }, "property": { "type": "Identifier", "start": 17291, "end": 17305, "loc": { "start": { "line": 493, "column": 25 }, "end": { "line": 493, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 17306, "end": 17312, "loc": { "start": { "line": 493, "column": 40 }, "end": { "line": 493, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 17320, "end": 17460, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 500, "column": 5 } }, "test": { "type": "Identifier", "start": 17323, "end": 17332, "loc": { "start": { "line": 494, "column": 7 }, "end": { "line": 494, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 17333, "end": 17460, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 500, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 17342, "end": 17453, "loc": { "start": { "line": 495, "column": 6 }, "end": { "line": 499, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 17345, "end": 17365, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 29 } }, "left": { "type": "MemberExpression", "start": 17345, "end": 17361, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 25 } }, "object": { "type": "Identifier", "start": 17345, "end": 17354, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 17355, "end": 17361, "loc": { "start": { "line": 495, "column": 19 }, "end": { "line": 495, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 17364, "end": 17365, "loc": { "start": { "line": 495, "column": 28 }, "end": { "line": 495, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 17366, "end": 17405, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17377, "end": 17396, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 17377, "end": 17395, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 17377, "end": 17383, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 17386, "end": 17395, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17411, "end": 17453, "loc": { "start": { "line": 497, "column": 13 }, "end": { "line": 499, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17422, "end": 17444, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 17422, "end": 17443, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 17422, "end": 17428, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 17431, "end": 17443, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 29 } }, "object": { "type": "Identifier", "start": 17431, "end": 17440, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 17441, "end": 17442, "loc": { "start": { "line": 498, "column": 27 }, "end": { "line": 498, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 17468, "end": 17482, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 18 } }, "argument": { "type": "Identifier", "start": 17475, "end": 17481, "loc": { "start": { "line": 502, "column": 11 }, "end": { "line": 502, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 17013, "end": 17216, "loc": { "start": { "line": 486, "column": 2 }, "end": { "line": 489, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17493, "end": 17583, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17587, "end": 17890, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 516, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17587, "end": 17598, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 508, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17600, "end": 17890, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 516, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17607, "end": 17683, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 511, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17610, "end": 17628, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17622, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17610, "end": 17614, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 11 } } }, "property": { "type": "Identifier", "start": 17615, "end": 17622, "loc": { "start": { "line": 509, "column": 12 }, "end": { "line": 509, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17623, "end": 17628, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17629, "end": 17683, "loc": { "start": { "line": 509, "column": 26 }, "end": { "line": 511, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17638, "end": 17676, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 44 } }, "expression": { "type": "CallExpression", "start": 17638, "end": 17675, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 17638, "end": 17649, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 17 } }, "object": { "type": "Identifier", "start": 17638, "end": 17645, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17646, "end": 17649, "loc": { "start": { "line": 510, "column": 14 }, "end": { "line": 510, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17650, "end": 17674, "loc": { "start": { "line": 510, "column": 18 }, "end": { "line": 510, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17691, "end": 17750, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 63 } }, "expression": { "type": "CallExpression", "start": 17691, "end": 17749, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17691, "end": 17716, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 29 } }, "object": { "type": "Identifier", "start": 17691, "end": 17699, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17700, "end": 17716, "loc": { "start": { "line": 513, "column": 13 }, "end": { "line": 513, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17717, "end": 17724, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 17726, "end": 17748, "loc": { "start": { "line": 513, "column": 39 }, "end": { "line": 513, "column": 61 } }, "object": { "type": "ThisExpression", "start": 17726, "end": 17730, "loc": { "start": { "line": 513, "column": 39 }, "end": { "line": 513, "column": 43 } } }, "property": { "type": "Identifier", "start": 17731, "end": 17748, "loc": { "start": { "line": 513, "column": 44 }, "end": { "line": 513, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17756, "end": 17817, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 65 } }, "expression": { "type": "CallExpression", "start": 17756, "end": 17816, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 17756, "end": 17781, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 29 } }, "object": { "type": "Identifier", "start": 17756, "end": 17764, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17765, "end": 17781, "loc": { "start": { "line": 514, "column": 13 }, "end": { "line": 514, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17782, "end": 17791, "loc": { "start": { "line": 514, "column": 30 }, "end": { "line": 514, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 17793, "end": 17815, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "column": 63 } }, "object": { "type": "ThisExpression", "start": 17793, "end": 17797, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "column": 45 } } }, "property": { "type": "Identifier", "start": 17798, "end": 17815, "loc": { "start": { "line": 514, "column": 46 }, "end": { "line": 514, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17823, "end": 17885, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17823, "end": 17884, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17823, "end": 17848, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 29 } }, "object": { "type": "Identifier", "start": 17823, "end": 17831, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17832, "end": 17848, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17849, "end": 17859, "loc": { "start": { "line": 515, "column": 30 }, "end": { "line": 515, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17861, "end": 17883, "loc": { "start": { "line": 515, "column": 42 }, "end": { "line": 515, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17861, "end": 17865, "loc": { "start": { "line": 515, "column": 42 }, "end": { "line": 515, "column": 46 } } }, "property": { "type": "Identifier", "start": 17866, "end": 17883, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17493, "end": 17583, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "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": 17896, "end": 18008, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 520, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18012, "end": 18743, "loc": { "start": { "line": 521, "column": 2 }, "end": { "line": 547, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18012, "end": 18029, "loc": { "start": { "line": 521, "column": 2 }, "end": { "line": 521, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18030, "end": 18035, "loc": { "start": { "line": 521, "column": 20 }, "end": { "line": 521, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 18036, "end": 18743, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 547, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 18043, "end": 18061, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18047, "end": 18060, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 21 } }, "id": { "type": "Identifier", "start": 18047, "end": 18060, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 18069, "end": 18130, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 526, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18072, "end": 18088, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 23 } }, "object": { "type": "ThisExpression", "start": 18072, "end": 18076, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 11 } } }, "property": { "type": "Identifier", "start": 18077, "end": 18088, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 23 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18089, "end": 18130, "loc": { "start": { "line": 524, "column": 24 }, "end": { "line": 526, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18098, "end": 18123, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 18098, "end": 18122, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18098, "end": 18114, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 22 } }, "object": { "type": "ThisExpression", "start": 18098, "end": 18102, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 10 } } }, "property": { "type": "Identifier", "start": 18103, "end": 18114, "loc": { "start": { "line": 525, "column": 11 }, "end": { "line": 525, "column": 22 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 18117, "end": 18122, "loc": { "start": { "line": 525, "column": 25 }, "end": { "line": 525, "column": 30 } }, "value": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 18138, "end": 18229, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18141, "end": 18161, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18141, "end": 18153, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 19 } }, "object": { "type": "Identifier", "start": 18141, "end": 18146, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 12 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18147, "end": 18153, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 19 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18154, "end": 18161, "loc": { "start": { "line": 528, "column": 20 }, "end": { "line": 528, "column": 27 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18162, "end": 18229, "loc": { "start": { "line": 528, "column": 28 }, "end": { "line": 530, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18171, "end": 18222, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 18171, "end": 18221, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 18171, "end": 18184, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "right": { "type": "CallExpression", "start": 18187, "end": 18221, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 18187, "end": 18219, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18187, "end": 18207, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18187, "end": 18199, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 34 } }, "object": { "type": "Identifier", "start": 18187, "end": 18192, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18193, "end": 18199, "loc": { "start": { "line": 529, "column": 28 }, "end": { "line": 529, "column": 34 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18200, "end": 18207, "loc": { "start": { "line": 529, "column": 35 }, "end": { "line": 529, "column": 42 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18208, "end": 18219, "loc": { "start": { "line": 529, "column": 43 }, "end": { "line": 529, "column": 54 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 18237, "end": 18738, "loc": { "start": { "line": 532, "column": 4 }, "end": { "line": 546, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 18248, "end": 18362, "loc": { "start": { "line": 533, "column": 6 }, "end": { "line": 535, "column": 43 } }, "left": { "type": "LogicalExpression", "start": 18249, "end": 18313, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 534, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 18249, "end": 18277, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 35 } }, "left": { "type": "Identifier", "start": 18249, "end": 18262, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 20 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18267, "end": 18277, "loc": { "start": { "line": 533, "column": 25 }, "end": { "line": 533, "column": 35 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 18288, "end": 18313, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 31 } }, "left": { "type": "Identifier", "start": 18288, "end": 18301, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18306, "end": 18313, "loc": { "start": { "line": 534, "column": 24 }, "end": { "line": 534, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } }, "extra": { "parenthesized": true, "parenStart": 18248 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 18325, "end": 18362, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18326, "end": 18362, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 43 } }, "object": { "type": "MemberExpression", "start": 18326, "end": 18338, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18326, "end": 18330, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 11 } } }, "property": { "type": "Identifier", "start": 18331, "end": 18338, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18339, "end": 18362, "loc": { "start": { "line": 535, "column": 20 }, "end": { "line": 535, "column": 43 }, "identifierName": "disableCaretPositioning" }, "name": "disableCaretPositioning" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 18369, "end": 18738, "loc": { "start": { "line": 536, "column": 5 }, "end": { "line": 546, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18534, "end": 18583, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 18534, "end": 18582, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18534, "end": 18552, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 24 } }, "object": { "type": "ThisExpression", "start": 18534, "end": 18538, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18539, "end": 18552, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 18555, "end": 18582, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18555, "end": 18567, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 39 } }, "object": { "type": "Identifier", "start": 18555, "end": 18560, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18561, "end": 18567, "loc": { "start": { "line": 541, "column": 33 }, "end": { "line": 541, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18568, "end": 18582, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "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": 18378, "end": 18526, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 540, "column": 9 } } } ] }, { "type": "IfStatement", "start": 18593, "end": 18726, "loc": { "start": { "line": 543, "column": 6 }, "end": { "line": 545, "column": 7 } }, "test": { "type": "MemberExpression", "start": 18596, "end": 18614, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18596, "end": 18608, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 21 } }, "object": { "type": "ThisExpression", "start": 18596, "end": 18600, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 13 } } }, "property": { "type": "Identifier", "start": 18601, "end": 18608, "loc": { "start": { "line": 543, "column": 14 }, "end": { "line": 543, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18609, "end": 18614, "loc": { "start": { "line": 543, "column": 22 }, "end": { "line": 543, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18615, "end": 18726, "loc": { "start": { "line": 543, "column": 28 }, "end": { "line": 545, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 18626, "end": 18717, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 99 } }, "expression": { "type": "CallExpression", "start": 18626, "end": 18716, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 18626, "end": 18637, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 19 } }, "object": { "type": "Identifier", "start": 18626, "end": 18633, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18634, "end": 18637, "loc": { "start": { "line": 544, "column": 16 }, "end": { "line": 544, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18638, "end": 18650, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 18652, "end": 18679, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18652, "end": 18664, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 46 } }, "object": { "type": "Identifier", "start": 18652, "end": 18657, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18658, "end": 18664, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18665, "end": 18679, "loc": { "start": { "line": 544, "column": 47 }, "end": { "line": 544, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 18681, "end": 18715, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 18681, "end": 18713, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 95 } }, "object": { "type": "MemberExpression", "start": 18681, "end": 18701, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 83 } }, "object": { "type": "MemberExpression", "start": 18681, "end": 18693, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 75 } }, "object": { "type": "Identifier", "start": 18681, "end": 18686, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18687, "end": 18693, "loc": { "start": { "line": 544, "column": 69 }, "end": { "line": 544, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18694, "end": 18701, "loc": { "start": { "line": 544, "column": 76 }, "end": { "line": 544, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18702, "end": 18713, "loc": { "start": { "line": 544, "column": 84 }, "end": { "line": 544, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17896, "end": 18008, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 520, "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": 18749, "end": 18869, "loc": { "start": { "line": 549, "column": 2 }, "end": { "line": 551, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18873, "end": 19109, "loc": { "start": { "line": 552, "column": 2 }, "end": { "line": 564, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18873, "end": 18879, "loc": { "start": { "line": 552, "column": 2 }, "end": { "line": 552, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18881, "end": 19109, "loc": { "start": { "line": 552, "column": 10 }, "end": { "line": 564, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18888, "end": 18953, "loc": { "start": { "line": 553, "column": 4 }, "end": { "line": 555, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18891, "end": 18909, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18891, "end": 18903, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18891, "end": 18895, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 11 } } }, "property": { "type": "Identifier", "start": 18896, "end": 18903, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18904, "end": 18909, "loc": { "start": { "line": 553, "column": 20 }, "end": { "line": 553, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18910, "end": 18953, "loc": { "start": { "line": 553, "column": 26 }, "end": { "line": 555, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18919, "end": 18946, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 33 } }, "expression": { "type": "CallExpression", "start": 18919, "end": 18945, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 18919, "end": 18930, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 17 } }, "object": { "type": "Identifier", "start": 18919, "end": 18926, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18927, "end": 18930, "loc": { "start": { "line": 554, "column": 14 }, "end": { "line": 554, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18931, "end": 18944, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "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": 18961, "end": 18996, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 559, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19002, "end": 19021, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 23 } }, "expression": { "type": "CallExpression", "start": 19002, "end": 19020, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 19002, "end": 19018, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19002, "end": 19006, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19007, "end": 19018, "loc": { "start": { "line": 560, "column": 9 }, "end": { "line": 560, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18961, "end": 18996, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 559, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19029, "end": 19104, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 563, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 19032, "end": 19073, "loc": { "start": { "line": 562, "column": 7 }, "end": { "line": 562, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 19032, "end": 19058, "loc": { "start": { "line": 562, "column": 7 }, "end": { "line": 562, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19039, "end": 19058, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 33 } }, "object": { "type": "MemberExpression", "start": 19039, "end": 19051, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19039, "end": 19043, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 18 } } }, "property": { "type": "Identifier", "start": 19044, "end": 19051, "loc": { "start": { "line": 562, "column": 19 }, "end": { "line": 562, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19052, "end": 19058, "loc": { "start": { "line": 562, "column": 27 }, "end": { "line": 562, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19063, "end": 19073, "loc": { "start": { "line": 562, "column": 38 }, "end": { "line": 562, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19082, "end": 19104, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 28 } }, "expression": { "type": "CallExpression", "start": 19082, "end": 19103, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 19082, "end": 19101, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 25 } }, "object": { "type": "MemberExpression", "start": 19082, "end": 19094, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19082, "end": 19086, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 10 } } }, "property": { "type": "Identifier", "start": 19087, "end": 19094, "loc": { "start": { "line": 563, "column": 11 }, "end": { "line": 563, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19095, "end": 19101, "loc": { "start": { "line": 563, "column": 19 }, "end": { "line": 563, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18749, "end": 18869, "loc": { "start": { "line": 549, "column": 2 }, "end": { "line": 551, "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": 19115, "end": 19233, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 568, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19237, "end": 19338, "loc": { "start": { "line": 569, "column": 2 }, "end": { "line": 572, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19237, "end": 19245, "loc": { "start": { "line": 569, "column": 2 }, "end": { "line": 569, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19247, "end": 19338, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 572, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19254, "end": 19333, "loc": { "start": { "line": 570, "column": 4 }, "end": { "line": 571, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 19257, "end": 19300, "loc": { "start": { "line": 570, "column": 7 }, "end": { "line": 570, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 19257, "end": 19285, "loc": { "start": { "line": 570, "column": 7 }, "end": { "line": 570, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19264, "end": 19285, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19264, "end": 19276, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19264, "end": 19268, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 18 } } }, "property": { "type": "Identifier", "start": 19269, "end": 19276, "loc": { "start": { "line": 570, "column": 19 }, "end": { "line": 570, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19277, "end": 19285, "loc": { "start": { "line": 570, "column": 27 }, "end": { "line": 570, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19290, "end": 19300, "loc": { "start": { "line": 570, "column": 40 }, "end": { "line": 570, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19309, "end": 19333, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 30 } }, "expression": { "type": "CallExpression", "start": 19309, "end": 19332, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 19309, "end": 19330, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 27 } }, "object": { "type": "MemberExpression", "start": 19309, "end": 19321, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19309, "end": 19313, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 10 } } }, "property": { "type": "Identifier", "start": 19314, "end": 19321, "loc": { "start": { "line": 571, "column": 11 }, "end": { "line": 571, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19322, "end": 19330, "loc": { "start": { "line": 571, "column": 19 }, "end": { "line": 571, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 19115, "end": 19233, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 568, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19343, "end": 19422, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 576, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 19426, "end": 19548, "loc": { "start": { "line": 577, "column": 2 }, "end": { "line": 580, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19426, "end": 19441, "loc": { "start": { "line": 577, "column": 2 }, "end": { "line": 577, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19443, "end": 19548, "loc": { "start": { "line": 577, "column": 19 }, "end": { "line": 580, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19450, "end": 19543, "loc": { "start": { "line": 578, "column": 4 }, "end": { "line": 579, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 19453, "end": 19503, "loc": { "start": { "line": 578, "column": 7 }, "end": { "line": 578, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 19453, "end": 19488, "loc": { "start": { "line": 578, "column": 7 }, "end": { "line": 578, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19460, "end": 19488, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 42 } }, "object": { "type": "MemberExpression", "start": 19460, "end": 19472, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19460, "end": 19464, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 18 } } }, "property": { "type": "Identifier", "start": 19465, "end": 19472, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19473, "end": 19488, "loc": { "start": { "line": 578, "column": 27 }, "end": { "line": 578, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19493, "end": 19503, "loc": { "start": { "line": 578, "column": 47 }, "end": { "line": 578, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19512, "end": 19543, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19512, "end": 19542, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19512, "end": 19540, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19512, "end": 19524, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19512, "end": 19516, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 10 } } }, "property": { "type": "Identifier", "start": 19517, "end": 19524, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19525, "end": 19540, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 34 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19343, "end": 19422, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 576, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19554, "end": 19586, "loc": { "start": { "line": 582, "column": 2 }, "end": { "line": 584, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19590, "end": 19739, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 590, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19590, "end": 19604, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 585, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19607, "end": 19739, "loc": { "start": { "line": 585, "column": 19 }, "end": { "line": 590, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19608, "end": 19612, "loc": { "start": { "line": 585, "column": 20 }, "end": { "line": 585, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19614, "end": 19626, "loc": { "start": { "line": 585, "column": 26 }, "end": { "line": 585, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 19631, "end": 19739, "loc": { "start": { "line": 585, "column": 43 }, "end": { "line": 590, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19638, "end": 19693, "loc": { "start": { "line": 586, "column": 4 }, "end": { "line": 587, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 19641, "end": 19660, "loc": { "start": { "line": 586, "column": 7 }, "end": { "line": 586, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19642, "end": 19660, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19642, "end": 19654, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19642, "end": 19646, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 12 } } }, "property": { "type": "Identifier", "start": 19647, "end": 19654, "loc": { "start": { "line": 586, "column": 13 }, "end": { "line": 586, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19655, "end": 19659, "loc": { "start": { "line": 586, "column": 21 }, "end": { "line": 586, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 19669, "end": 19693, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19669, "end": 19692, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19669, "end": 19687, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 24 } }, "object": { "type": "MemberExpression", "start": 19669, "end": 19681, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19669, "end": 19673, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 10 } } }, "property": { "type": "Identifier", "start": 19674, "end": 19681, "loc": { "start": { "line": 587, "column": 11 }, "end": { "line": 587, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19682, "end": 19686, "loc": { "start": { "line": 587, "column": 19 }, "end": { "line": 587, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 19690, "end": 19692, "loc": { "start": { "line": 587, "column": 27 }, "end": { "line": 587, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 19701, "end": 19734, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19701, "end": 19733, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 36 } }, "callee": { "type": "Identifier", "start": 19701, "end": 19713, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 19714, "end": 19732, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19714, "end": 19726, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19714, "end": 19718, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 21 } } }, "property": { "type": "Identifier", "start": 19719, "end": 19726, "loc": { "start": { "line": 589, "column": 22 }, "end": { "line": 589, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19727, "end": 19731, "loc": { "start": { "line": 589, "column": 30 }, "end": { "line": 589, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19554, "end": 19586, "loc": { "start": { "line": 582, "column": 2 }, "end": { "line": 584, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19745, "end": 19774, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19778, "end": 20419, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 614, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19778, "end": 19789, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19791, "end": 20419, "loc": { "start": { "line": 595, "column": 15 }, "end": { "line": 614, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19798, "end": 20414, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 613, "column": 5 } }, "test": { "type": "CallExpression", "start": 19801, "end": 19836, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19801, "end": 19814, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 20 } }, "object": { "type": "Identifier", "start": 19801, "end": 19806, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19807, "end": 19814, "loc": { "start": { "line": 596, "column": 13 }, "end": { "line": 596, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19815, "end": 19835, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19815, "end": 19827, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19815, "end": 19819, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 25 } } }, "property": { "type": "Identifier", "start": 19820, "end": 19827, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19828, "end": 19835, "loc": { "start": { "line": 596, "column": 34 }, "end": { "line": 596, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19837, "end": 20414, "loc": { "start": { "line": 596, "column": 43 }, "end": { "line": 613, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19846, "end": 20266, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 607, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19846, "end": 20265, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 607, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19846, "end": 19874, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19846, "end": 19866, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19846, "end": 19858, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19846, "end": 19850, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 10 } } }, "property": { "type": "Identifier", "start": 19851, "end": 19858, "loc": { "start": { "line": 597, "column": 11 }, "end": { "line": 597, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19859, "end": 19866, "loc": { "start": { "line": 597, "column": 19 }, "end": { "line": 597, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19867, "end": 19874, "loc": { "start": { "line": 597, "column": 27 }, "end": { "line": 597, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19875, "end": 20264, "loc": { "start": { "line": 597, "column": 35 }, "end": { "line": 607, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19875, "end": 19881, "loc": { "start": { "line": 597, "column": 35 }, "end": { "line": 597, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 19885, "end": 20264, "loc": { "start": { "line": 597, "column": 45 }, "end": { "line": 607, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 19896, "end": 19922, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19900, "end": 19921, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 33 } }, "id": { "type": "Identifier", "start": 19900, "end": 19906, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 19909, "end": 19921, "loc": { "start": { "line": 598, "column": 21 }, "end": { "line": 598, "column": 33 } }, "callee": { "type": "Identifier", "start": 19913, "end": 19919, "loc": { "start": { "line": 598, "column": 25 }, "end": { "line": 598, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19934, "end": 19960, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19970, "end": 20225, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 604, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19973, "end": 20038, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19973, "end": 19996, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19973, "end": 19991, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 29 } }, "object": { "type": "Identifier", "start": 19973, "end": 19979, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 19980, "end": 19991, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19992, "end": 19996, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 20000, "end": 20038, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 76 } }, "left": { "type": "MemberExpression", "start": 20000, "end": 20023, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 61 } }, "object": { "type": "MemberExpression", "start": 20000, "end": 20018, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 56 } }, "object": { "type": "Identifier", "start": 20000, "end": 20006, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20007, "end": 20018, "loc": { "start": { "line": 601, "column": 45 }, "end": { "line": 601, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20019, "end": 20023, "loc": { "start": { "line": 601, "column": 57 }, "end": { "line": 601, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 20028, "end": 20038, "loc": { "start": { "line": 601, "column": 66 }, "end": { "line": 601, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20039, "end": 20225, "loc": { "start": { "line": 601, "column": 77 }, "end": { "line": 604, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20052, "end": 20129, "loc": { "start": { "line": 602, "column": 10 }, "end": { "line": 602, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20056, "end": 20128, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 86 } }, "id": { "type": "Identifier", "start": 20056, "end": 20064, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 20067, "end": 20128, "loc": { "start": { "line": 602, "column": 25 }, "end": { "line": 602, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 20077, "end": 20126, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 20077, "end": 20101, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 59 } }, "object": { "type": "MemberExpression", "start": 20077, "end": 20091, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 49 } }, "object": { "type": "ThisExpression", "start": 20077, "end": 20081, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 39 } } }, "property": { "type": "Identifier", "start": 20082, "end": 20091, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 20092, "end": 20101, "loc": { "start": { "line": 602, "column": 50 }, "end": { "line": 602, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20102, "end": 20125, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 83 } }, "object": { "type": "MemberExpression", "start": 20102, "end": 20120, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 78 } }, "object": { "type": "Identifier", "start": 20102, "end": 20108, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20109, "end": 20120, "loc": { "start": { "line": 602, "column": 67 }, "end": { "line": 602, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20121, "end": 20125, "loc": { "start": { "line": 602, "column": 79 }, "end": { "line": 602, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 20068, "end": 20075, "loc": { "start": { "line": 602, "column": 26 }, "end": { "line": 602, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 20127, "end": 20127, "loc": { "start": { "line": 602, "column": 85 }, "end": { "line": 602, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 20141, "end": 20214, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 20141, "end": 20213, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20141, "end": 20167, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 36 } }, "object": { "type": "ThisExpression", "start": 20141, "end": 20145, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 14 } } }, "property": { "type": "Identifier", "start": 20146, "end": 20167, "loc": { "start": { "line": 603, "column": 15 }, "end": { "line": 603, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20170, "end": 20213, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 82 } }, "left": { "type": "MemberExpression", "start": 20170, "end": 20196, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 65 } }, "object": { "type": "ThisExpression", "start": 20170, "end": 20174, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 43 } } }, "property": { "type": "Identifier", "start": 20175, "end": 20196, "loc": { "start": { "line": 603, "column": 44 }, "end": { "line": 603, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 20199, "end": 20213, "loc": { "start": { "line": 603, "column": 68 }, "end": { "line": 603, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 20203, "end": 20211, "loc": { "start": { "line": 603, "column": 72 }, "end": { "line": 603, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 20200, "end": 20201, "loc": { "start": { "line": 603, "column": 69 }, "end": { "line": 603, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20212, "end": 20212, "loc": { "start": { "line": 603, "column": 81 }, "end": { "line": 603, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19934, "end": 19960, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 20237, "end": 20255, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 26 } }, "expression": { "type": "CallExpression", "start": 20237, "end": 20254, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 20237, "end": 20248, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 19 } }, "object": { "type": "Identifier", "start": 20237, "end": 20243, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20244, "end": 20248, "loc": { "start": { "line": 606, "column": 15 }, "end": { "line": 606, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 20249, "end": 20253, "loc": { "start": { "line": 606, "column": 20 }, "end": { "line": 606, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 20276, "end": 20352, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 20276, "end": 20351, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20276, "end": 20302, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 32 } }, "object": { "type": "ThisExpression", "start": 20276, "end": 20280, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 10 } } }, "property": { "type": "Identifier", "start": 20281, "end": 20302, "loc": { "start": { "line": 609, "column": 11 }, "end": { "line": 609, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20305, "end": 20351, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 81 } }, "left": { "type": "MemberExpression", "start": 20305, "end": 20331, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20305, "end": 20309, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 39 } } }, "property": { "type": "Identifier", "start": 20310, "end": 20331, "loc": { "start": { "line": 609, "column": 40 }, "end": { "line": 609, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 20334, "end": 20351, "loc": { "start": { "line": 609, "column": 64 }, "end": { "line": 609, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 20362, "end": 20376, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 20 } }, "expression": { "type": "CallExpression", "start": 20362, "end": 20375, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 20362, "end": 20373, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 17 } }, "object": { "type": "ThisExpression", "start": 20362, "end": 20366, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 10 } } }, "property": { "type": "Identifier", "start": 20367, "end": 20373, "loc": { "start": { "line": 611, "column": 11 }, "end": { "line": 611, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 20384, "end": 20407, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 29 } }, "expression": { "type": "CallExpression", "start": 20384, "end": 20406, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 20384, "end": 20404, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20384, "end": 20388, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 10 } } }, "property": { "type": "Identifier", "start": 20389, "end": 20404, "loc": { "start": { "line": 612, "column": 11 }, "end": { "line": 612, "column": 26 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19745, "end": 19774, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20425, "end": 20457, "loc": { "start": { "line": 616, "column": 2 }, "end": { "line": 618, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20461, "end": 20593, "loc": { "start": { "line": 619, "column": 2 }, "end": { "line": 624, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20461, "end": 20474, "loc": { "start": { "line": 619, "column": 2 }, "end": { "line": 619, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20477, "end": 20593, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 624, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20478, "end": 20482, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 20484, "end": 20488, "loc": { "start": { "line": 619, "column": 25 }, "end": { "line": 619, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 20493, "end": 20593, "loc": { "start": { "line": 619, "column": 34 }, "end": { "line": 624, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20500, "end": 20544, "loc": { "start": { "line": 620, "column": 4 }, "end": { "line": 621, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 20503, "end": 20522, "loc": { "start": { "line": 620, "column": 7 }, "end": { "line": 620, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 20504, "end": 20522, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20504, "end": 20516, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20504, "end": 20508, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 12 } } }, "property": { "type": "Identifier", "start": 20509, "end": 20516, "loc": { "start": { "line": 620, "column": 13 }, "end": { "line": 620, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20517, "end": 20521, "loc": { "start": { "line": 620, "column": 21 }, "end": { "line": 620, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 20531, "end": 20544, "loc": { "start": { "line": 621, "column": 6 }, "end": { "line": 621, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 20538, "end": 20543, "loc": { "start": { "line": 621, "column": 13 }, "end": { "line": 621, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 20556, "end": 20588, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 20563, "end": 20587, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 35 } }, "object": { "type": "MemberExpression", "start": 20563, "end": 20581, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 29 } }, "object": { "type": "MemberExpression", "start": 20563, "end": 20575, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 23 } }, "object": { "type": "ThisExpression", "start": 20563, "end": 20567, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 15 } } }, "property": { "type": "Identifier", "start": 20568, "end": 20575, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20576, "end": 20580, "loc": { "start": { "line": 623, "column": 24 }, "end": { "line": 623, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 20582, "end": 20586, "loc": { "start": { "line": 623, "column": 30 }, "end": { "line": 623, "column": 34 }, "identifierName": "prop" }, "name": "prop" }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20425, "end": 20457, "loc": { "start": { "line": 616, "column": 2 }, "end": { "line": 618, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20599, "end": 20630, "loc": { "start": { "line": 626, "column": 2 }, "end": { "line": 628, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20634, "end": 20702, "loc": { "start": { "line": 629, "column": 2 }, "end": { "line": 631, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20634, "end": 20648, "loc": { "start": { "line": 629, "column": 2 }, "end": { "line": 629, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20651, "end": 20702, "loc": { "start": { "line": 629, "column": 19 }, "end": { "line": 631, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20657, "end": 20702, "loc": { "start": { "line": 629, "column": 25 }, "end": { "line": 631, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 20664, "end": 20697, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 37 } }, "argument": { "type": "CallExpression", "start": 20671, "end": 20696, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 20671, "end": 20682, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 22 } }, "object": { "type": "Identifier", "start": 20671, "end": 20677, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 20678, "end": 20682, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20683, "end": 20695, "loc": { "start": { "line": 630, "column": 23 }, "end": { "line": 630, "column": 35 } }, "object": { "type": "ThisExpression", "start": 20683, "end": 20687, "loc": { "start": { "line": 630, "column": 23 }, "end": { "line": 630, "column": 27 } } }, "property": { "type": "Identifier", "start": 20688, "end": 20695, "loc": { "start": { "line": 630, "column": 28 }, "end": { "line": 630, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20599, "end": 20630, "loc": { "start": { "line": 626, "column": 2 }, "end": { "line": 628, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20708, "end": 20764, "loc": { "start": { "line": 633, "column": 2 }, "end": { "line": 635, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20768, "end": 25762, "loc": { "start": { "line": 636, "column": 2 }, "end": { "line": 797, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20768, "end": 20774, "loc": { "start": { "line": 636, "column": 2 }, "end": { "line": 636, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20776, "end": 25762, "loc": { "start": { "line": 636, "column": 10 }, "end": { "line": 797, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 20824, "end": 20837, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 17 } }, "expression": { "type": "CallExpression", "start": 20824, "end": 20836, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 20824, "end": 20834, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 14 } }, "object": { "type": "ThisExpression", "start": 20824, "end": 20828, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20829, "end": 20834, "loc": { "start": { "line": 640, "column": 9 }, "end": { "line": 640, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20783, "end": 20818, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 639, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20845, "end": 20945, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 642, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20849, "end": 20944, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 103 } }, "id": { "type": "Identifier", "start": 20849, "end": 20860, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 20863, "end": 20944, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 103 } }, "test": { "type": "MemberExpression", "start": 20863, "end": 20882, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20863, "end": 20875, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20863, "end": 20867, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 26 } } }, "property": { "type": "Identifier", "start": 20868, "end": 20875, "loc": { "start": { "line": 642, "column": 27 }, "end": { "line": 642, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20876, "end": 20882, "loc": { "start": { "line": 642, "column": 35 }, "end": { "line": 642, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 20885, "end": 20903, "loc": { "start": { "line": 642, "column": 44 }, "end": { "line": 642, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 20906, "end": 20944, "loc": { "start": { "line": 642, "column": 65 }, "end": { "line": 642, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 20919, "end": 20942, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 101 } }, "object": { "type": "MemberExpression", "start": 20919, "end": 20931, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 90 } }, "object": { "type": "ThisExpression", "start": 20919, "end": 20923, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 82 } } }, "property": { "type": "Identifier", "start": 20924, "end": 20931, "loc": { "start": { "line": 642, "column": 83 }, "end": { "line": 642, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20932, "end": 20942, "loc": { "start": { "line": 642, "column": 91 }, "end": { "line": 642, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20907, "end": 20917, "loc": { "start": { "line": 642, "column": 66 }, "end": { "line": 642, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 20943, "end": 20943, "loc": { "start": { "line": 642, "column": 102 }, "end": { "line": 642, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 20951, "end": 21021, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 643, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20955, "end": 21020, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 73 } }, "id": { "type": "Identifier", "start": 20955, "end": 20961, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 20964, "end": 21020, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 73 } }, "left": { "type": "MemberExpression", "start": 20964, "end": 20983, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 36 } }, "object": { "type": "MemberExpression", "start": 20964, "end": 20976, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20964, "end": 20968, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 21 } } }, "property": { "type": "Identifier", "start": 20969, "end": 20976, "loc": { "start": { "line": 643, "column": 22 }, "end": { "line": 643, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20977, "end": 20983, "loc": { "start": { "line": 643, "column": 30 }, "end": { "line": 643, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 20987, "end": 21020, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 20987, "end": 21018, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 71 } }, "object": { "type": "Identifier", "start": 20987, "end": 21001, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 21002, "end": 21018, "loc": { "start": { "line": 643, "column": 55 }, "end": { "line": 643, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21027, "end": 21084, "loc": { "start": { "line": 644, "column": 4 }, "end": { "line": 644, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21031, "end": 21084, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 61 } }, "id": { "type": "Identifier", "start": 21031, "end": 21045, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 22 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "init": { "type": "LogicalExpression", "start": 21048, "end": 21084, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 61 } }, "left": { "type": "MemberExpression", "start": 21048, "end": 21075, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 52 } }, "object": { "type": "MemberExpression", "start": 21048, "end": 21060, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 37 } }, "object": { "type": "ThisExpression", "start": 21048, "end": 21052, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 29 } } }, "property": { "type": "Identifier", "start": 21053, "end": 21060, "loc": { "start": { "line": 644, "column": 30 }, "end": { "line": 644, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21061, "end": 21075, "loc": { "start": { "line": 644, "column": 38 }, "end": { "line": 644, "column": 52 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "computed": false }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 21079, "end": 21084, "loc": { "start": { "line": 644, "column": 56 }, "end": { "line": 644, "column": 61 } }, "value": false, "leadingComments": null, "trailingComments": null }, "trailingComments": null }, "trailingComments": null } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21092, "end": 21144, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 648, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 21150, "end": 21178, "loc": { "start": { "line": 649, "column": 4 }, "end": { "line": 649, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21154, "end": 21177, "loc": { "start": { "line": 649, "column": 8 }, "end": { "line": 649, "column": 31 } }, "id": { "type": "Identifier", "start": 21154, "end": 21172, "loc": { "start": { "line": 649, "column": 8 }, "end": { "line": 649, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 21175, "end": 21177, "loc": { "start": { "line": 649, "column": 29 }, "end": { "line": 649, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21092, "end": 21144, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 648, "column": 7 } } } ] }, { "type": "IfStatement", "start": 21184, "end": 22323, "loc": { "start": { "line": 650, "column": 4 }, "end": { "line": 678, "column": 5 } }, "test": { "type": "CallExpression", "start": 21187, "end": 21226, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 21187, "end": 21200, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 20 } }, "object": { "type": "Identifier", "start": 21187, "end": 21192, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 21193, "end": 21200, "loc": { "start": { "line": 650, "column": 13 }, "end": { "line": 650, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21201, "end": 21225, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 45 } }, "object": { "type": "MemberExpression", "start": 21201, "end": 21213, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 33 } }, "object": { "type": "ThisExpression", "start": 21201, "end": 21205, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 25 } } }, "property": { "type": "Identifier", "start": 21206, "end": 21213, "loc": { "start": { "line": 650, "column": 26 }, "end": { "line": 650, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21214, "end": 21225, "loc": { "start": { "line": 650, "column": 34 }, "end": { "line": 650, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 21227, "end": 22323, "loc": { "start": { "line": 650, "column": 47 }, "end": { "line": 678, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 21236, "end": 22316, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 677, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21236, "end": 22315, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 677, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21236, "end": 21268, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 38 } }, "object": { "type": "MemberExpression", "start": 21236, "end": 21260, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21236, "end": 21248, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 18 } }, "object": { "type": "ThisExpression", "start": 21236, "end": 21240, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 10 } } }, "property": { "type": "Identifier", "start": 21241, "end": 21248, "loc": { "start": { "line": 651, "column": 11 }, "end": { "line": 651, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21249, "end": 21260, "loc": { "start": { "line": 651, "column": 19 }, "end": { "line": 651, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 21261, "end": 21268, "loc": { "start": { "line": 651, "column": 31 }, "end": { "line": 651, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21269, "end": 22314, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 677, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21269, "end": 21277, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 651, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 21281, "end": 22314, "loc": { "start": { "line": 651, "column": 51 }, "end": { "line": 677, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 21292, "end": 22305, "loc": { "start": { "line": 652, "column": 8 }, "end": { "line": 676, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 21295, "end": 21329, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 45 } }, "left": { "type": "MemberExpression", "start": 21295, "end": 21311, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 27 } }, "object": { "type": "Identifier", "start": 21295, "end": 21303, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21304, "end": 21311, "loc": { "start": { "line": 652, "column": 20 }, "end": { "line": 652, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 21315, "end": 21329, "loc": { "start": { "line": 652, "column": 31 }, "end": { "line": 652, "column": 45 } }, "object": { "type": "Identifier", "start": 21315, "end": 21323, "loc": { "start": { "line": 652, "column": 31 }, "end": { "line": 652, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21324, "end": 21329, "loc": { "start": { "line": 652, "column": 40 }, "end": { "line": 652, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 21330, "end": 22171, "loc": { "start": { "line": 652, "column": 46 }, "end": { "line": 674, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 21343, "end": 21360, "loc": { "start": { "line": 653, "column": 10 }, "end": { "line": 653, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21347, "end": 21359, "loc": { "start": { "line": 653, "column": 14 }, "end": { "line": 653, "column": 26 } }, "id": { "type": "Identifier", "start": 21347, "end": 21359, "loc": { "start": { "line": 653, "column": 14 }, "end": { "line": 653, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 21374, "end": 21485, "loc": { "start": { "line": 655, "column": 10 }, "end": { "line": 657, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 21377, "end": 21413, "loc": { "start": { "line": 655, "column": 13 }, "end": { "line": 655, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 21377, "end": 21400, "loc": { "start": { "line": 655, "column": 13 }, "end": { "line": 655, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 21384, "end": 21400, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 36 } }, "object": { "type": "Identifier", "start": 21384, "end": 21392, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21393, "end": 21400, "loc": { "start": { "line": 655, "column": 29 }, "end": { "line": 655, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 21405, "end": 21413, "loc": { "start": { "line": 655, "column": 41 }, "end": { "line": 655, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 21414, "end": 21485, "loc": { "start": { "line": 655, "column": 50 }, "end": { "line": 657, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21429, "end": 21472, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 21429, "end": 21471, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 21429, "end": 21441, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 21444, "end": 21471, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 21444, "end": 21466, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 49 } }, "object": { "type": "MemberExpression", "start": 21444, "end": 21460, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 43 } }, "object": { "type": "Identifier", "start": 21444, "end": 21452, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21453, "end": 21460, "loc": { "start": { "line": 656, "column": 36 }, "end": { "line": 656, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 21461, "end": 21466, "loc": { "start": { "line": 656, "column": 44 }, "end": { "line": 656, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21467, "end": 21470, "loc": { "start": { "line": 656, "column": 50 }, "end": { "line": 656, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 21499, "end": 22160, "loc": { "start": { "line": 659, "column": 10 }, "end": { "line": 673, "column": 11 } }, "test": { "type": "Identifier", "start": 21502, "end": 21514, "loc": { "start": { "line": 659, "column": 13 }, "end": { "line": 659, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 21515, "end": 22160, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 673, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21530, "end": 22147, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 672, "column": 15 } }, "expression": { "type": "CallExpression", "start": 21530, "end": 22146, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 672, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 21530, "end": 21550, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 32 } }, "object": { "type": "Identifier", "start": 21530, "end": 21542, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 21543, "end": 21550, "loc": { "start": { "line": 660, "column": 25 }, "end": { "line": 660, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21551, "end": 22145, "loc": { "start": { "line": 660, "column": 33 }, "end": { "line": 672, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21551, "end": 21562, "loc": { "start": { "line": 660, "column": 33 }, "end": { "line": 660, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 21566, "end": 22145, "loc": { "start": { "line": 660, "column": 48 }, "end": { "line": 672, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 21583, "end": 21633, "loc": { "start": { "line": 661, "column": 14 }, "end": { "line": 661, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21587, "end": 21632, "loc": { "start": { "line": 661, "column": 18 }, "end": { "line": 661, "column": 63 } }, "id": { "type": "Identifier", "start": 21587, "end": 21598, "loc": { "start": { "line": 661, "column": 18 }, "end": { "line": 661, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 21601, "end": 21632, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 63 } }, "object": { "type": "Identifier", "start": 21601, "end": 21619, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21620, "end": 21631, "loc": { "start": { "line": 661, "column": 51 }, "end": { "line": 661, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21651, "end": 21690, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "column": 53 } } } ] }, { "type": "IfStatement", "start": 21706, "end": 22130, "loc": { "start": { "line": 664, "column": 14 }, "end": { "line": 671, "column": 15 } }, "test": { "type": "Identifier", "start": 21709, "end": 21720, "loc": { "start": { "line": 664, "column": 17 }, "end": { "line": 664, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21721, "end": 22039, "loc": { "start": { "line": 664, "column": 29 }, "end": { "line": 669, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 21841, "end": 22022, "loc": { "start": { "line": 666, "column": 16 }, "end": { "line": 668, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 21844, "end": 21912, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 21845, "end": 21912, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 21845, "end": 21872, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21845, "end": 21859, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21845, "end": 21849, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21850, "end": 21859, "loc": { "start": { "line": 666, "column": 25 }, "end": { "line": 666, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21860, "end": 21872, "loc": { "start": { "line": 666, "column": 35 }, "end": { "line": 666, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 21873, "end": 21895, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 21873, "end": 21890, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 65 } }, "object": { "type": "Identifier", "start": 21873, "end": 21884, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 21885, "end": 21890, "loc": { "start": { "line": 666, "column": 60 }, "end": { "line": 666, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21891, "end": 21894, "loc": { "start": { "line": 666, "column": 66 }, "end": { "line": 666, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 21897, "end": 21911, "loc": { "start": { "line": 666, "column": 72 }, "end": { "line": 666, "column": 86 } }, "object": { "type": "Identifier", "start": 21897, "end": 21905, "loc": { "start": { "line": 666, "column": 72 }, "end": { "line": 666, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21906, "end": 21911, "loc": { "start": { "line": 666, "column": 81 }, "end": { "line": 666, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21913, "end": 22022, "loc": { "start": { "line": 666, "column": 88 }, "end": { "line": 668, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21934, "end": 22003, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 21934, "end": 22002, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21934, "end": 21965, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 49 } }, "object": { "type": "Identifier", "start": 21934, "end": 21952, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21953, "end": 21964, "loc": { "start": { "line": 667, "column": 37 }, "end": { "line": 667, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 21968, "end": 22002, "loc": { "start": { "line": 667, "column": 52 }, "end": { "line": 667, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 21971, "end": 21982, "loc": { "start": { "line": 667, "column": 55 }, "end": { "line": 667, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 21986, "end": 22000, "loc": { "start": { "line": 667, "column": 70 }, "end": { "line": 667, "column": 84 } }, "object": { "type": "Identifier", "start": 21986, "end": 21994, "loc": { "start": { "line": 667, "column": 70 }, "end": { "line": 667, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21995, "end": 22000, "loc": { "start": { "line": 667, "column": 79 }, "end": { "line": 667, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21969, "end": 21969, "loc": { "start": { "line": 667, "column": 53 }, "end": { "line": 667, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21983, "end": 21984, "loc": { "start": { "line": 667, "column": 67 }, "end": { "line": 667, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22001, "end": 22001, "loc": { "start": { "line": 667, "column": 85 }, "end": { "line": 667, "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": 21740, "end": 21823, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22045, "end": 22130, "loc": { "start": { "line": 669, "column": 21 }, "end": { "line": 671, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 22064, "end": 22113, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 22064, "end": 22112, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22064, "end": 22095, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 47 } }, "object": { "type": "Identifier", "start": 22064, "end": 22082, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22083, "end": 22094, "loc": { "start": { "line": 670, "column": 35 }, "end": { "line": 670, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 22098, "end": 22112, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 670, "column": 64 } }, "object": { "type": "Identifier", "start": 22098, "end": 22106, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 670, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22107, "end": 22112, "loc": { "start": { "line": 670, "column": 59 }, "end": { "line": 670, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21651, "end": 21690, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22177, "end": 22305, "loc": { "start": { "line": 674, "column": 15 }, "end": { "line": 676, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 22190, "end": 22294, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 114 } }, "expression": { "type": "CallExpression", "start": 22190, "end": 22294, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 22190, "end": 22202, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 22 } }, "object": { "type": "Identifier", "start": 22190, "end": 22197, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 22198, "end": 22202, "loc": { "start": { "line": 675, "column": 18 }, "end": { "line": 675, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 22203, "end": 22293, "loc": { "start": { "line": 675, "column": 23 }, "end": { "line": 675, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 22204, "end": 22292, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "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": 22331, "end": 22397, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 682, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22403, "end": 22503, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 22403, "end": 22502, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22403, "end": 22429, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22403, "end": 22419, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 20 } }, "object": { "type": "ThisExpression", "start": 22403, "end": 22407, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22408, "end": 22419, "loc": { "start": { "line": 683, "column": 9 }, "end": { "line": 683, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22420, "end": 22429, "loc": { "start": { "line": 683, "column": 21 }, "end": { "line": 683, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 22433, "end": 22502, "loc": { "start": { "line": 683, "column": 34 }, "end": { "line": 683, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 22437, "end": 22455, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22437, "end": 22449, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 50 } }, "object": { "type": "ThisExpression", "start": 22437, "end": 22441, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 42 } } }, "property": { "type": "Identifier", "start": 22442, "end": 22449, "loc": { "start": { "line": 683, "column": 43 }, "end": { "line": 683, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22450, "end": 22455, "loc": { "start": { "line": 683, "column": 51 }, "end": { "line": 683, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 22459, "end": 22470, "loc": { "start": { "line": 683, "column": 60 }, "end": { "line": 683, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 22474, "end": 22500, "loc": { "start": { "line": 683, "column": 75 }, "end": { "line": 683, "column": 101 } }, "object": { "type": "ThisExpression", "start": 22474, "end": 22478, "loc": { "start": { "line": 683, "column": 75 }, "end": { "line": 683, "column": 79 } } }, "property": { "type": "Identifier", "start": 22479, "end": 22500, "loc": { "start": { "line": 683, "column": 80 }, "end": { "line": 683, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22434, "end": 22435, "loc": { "start": { "line": 683, "column": 35 }, "end": { "line": 683, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22456, "end": 22457, "loc": { "start": { "line": 683, "column": 57 }, "end": { "line": 683, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22471, "end": 22472, "loc": { "start": { "line": 683, "column": 72 }, "end": { "line": 683, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22501, "end": 22501, "loc": { "start": { "line": 683, "column": 102 }, "end": { "line": 683, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22331, "end": 22397, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 682, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22511, "end": 22558, "loc": { "start": { "line": 685, "column": 4 }, "end": { "line": 687, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22564, "end": 25306, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 772, "column": 7 } }, "expression": { "type": "CallExpression", "start": 22564, "end": 25305, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 772, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 22564, "end": 22603, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 43 } }, "object": { "type": "MemberExpression", "start": 22564, "end": 22595, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 35 } }, "object": { "type": "Identifier", "start": 22564, "end": 22570, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 22571, "end": 22594, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 34 } }, "object": { "type": "MemberExpression", "start": 22571, "end": 22583, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 23 } }, "object": { "type": "ThisExpression", "start": 22571, "end": 22575, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 15 } } }, "property": { "type": "Identifier", "start": 22576, "end": 22583, "loc": { "start": { "line": 688, "column": 16 }, "end": { "line": 688, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22584, "end": 22594, "loc": { "start": { "line": 688, "column": 24 }, "end": { "line": 688, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 22596, "end": 22603, "loc": { "start": { "line": 688, "column": 36 }, "end": { "line": 688, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22604, "end": 25304, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 772, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22605, "end": 22608, "loc": { "start": { "line": 688, "column": 45 }, "end": { "line": 688, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 22610, "end": 22616, "loc": { "start": { "line": 688, "column": 50 }, "end": { "line": 688, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 22621, "end": 25304, "loc": { "start": { "line": 688, "column": 61 }, "end": { "line": 772, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 22630, "end": 22660, "loc": { "start": { "line": 689, "column": 6 }, "end": { "line": 689, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22634, "end": 22659, "loc": { "start": { "line": 689, "column": 10 }, "end": { "line": 689, "column": 35 } }, "id": { "type": "Identifier", "start": 22634, "end": 22642, "loc": { "start": { "line": 689, "column": 10 }, "end": { "line": 689, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 22645, "end": 22659, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 22645, "end": 22654, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 30 } }, "object": { "type": "Identifier", "start": 22645, "end": 22648, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 22649, "end": 22654, "loc": { "start": { "line": 689, "column": 25 }, "end": { "line": 689, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22655, "end": 22658, "loc": { "start": { "line": 689, "column": 31 }, "end": { "line": 689, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22670, "end": 22713, "loc": { "start": { "line": 691, "column": 6 }, "end": { "line": 693, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 22721, "end": 22764, "loc": { "start": { "line": 694, "column": 6 }, "end": { "line": 694, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22725, "end": 22763, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 48 } }, "id": { "type": "Identifier", "start": 22725, "end": 22731, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22734, "end": 22763, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 22734, "end": 22756, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 41 } }, "object": { "type": "Identifier", "start": 22734, "end": 22742, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22743, "end": 22756, "loc": { "start": { "line": 694, "column": 28 }, "end": { "line": 694, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22757, "end": 22762, "loc": { "start": { "line": 694, "column": 42 }, "end": { "line": 694, "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": 22670, "end": 22713, "loc": { "start": { "line": 691, "column": 6 }, "end": { "line": 693, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22772, "end": 22801, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 22772, "end": 22800, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22772, "end": 22788, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 22 } }, "object": { "type": "Identifier", "start": 22772, "end": 22778, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 22779, "end": 22788, "loc": { "start": { "line": 695, "column": 13 }, "end": { "line": 695, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 22792, "end": 22800, "loc": { "start": { "line": 695, "column": 26 }, "end": { "line": 695, "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": 22811, "end": 22872, "loc": { "start": { "line": 697, "column": 6 }, "end": { "line": 699, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22880, "end": 25192, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 766, "column": 9 } }, "expression": { "type": "CallExpression", "start": 22880, "end": 25191, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 766, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 22880, "end": 22896, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 700, "column": 22 } }, "object": { "type": "Identifier", "start": 22880, "end": 22888, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 700, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 22889, "end": 22896, "loc": { "start": { "line": 700, "column": 15 }, "end": { "line": 700, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22897, "end": 25190, "loc": { "start": { "line": 700, "column": 23 }, "end": { "line": 766, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22898, "end": 22904, "loc": { "start": { "line": 700, "column": 24 }, "end": { "line": 700, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22906, "end": 22912, "loc": { "start": { "line": 700, "column": 32 }, "end": { "line": 700, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 22917, "end": 25190, "loc": { "start": { "line": 700, "column": 43 }, "end": { "line": 766, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 22928, "end": 22984, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22932, "end": 22983, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 63 } }, "id": { "type": "Identifier", "start": 22932, "end": 22943, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 22946, "end": 22983, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 22946, "end": 22975, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 55 } }, "object": { "type": "MemberExpression", "start": 22946, "end": 22960, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 40 } }, "object": { "type": "ThisExpression", "start": 22946, "end": 22950, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 30 } } }, "property": { "type": "Identifier", "start": 22951, "end": 22960, "loc": { "start": { "line": 701, "column": 31 }, "end": { "line": 701, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22961, "end": 22975, "loc": { "start": { "line": 701, "column": 41 }, "end": { "line": 701, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22976, "end": 22982, "loc": { "start": { "line": 701, "column": 56 }, "end": { "line": 701, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22994, "end": 23044, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22998, "end": 23043, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 57 } }, "id": { "type": "Identifier", "start": 22998, "end": 23014, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 23017, "end": 23043, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 57 } }, "object": { "type": "Identifier", "start": 23017, "end": 23035, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 23036, "end": 23042, "loc": { "start": { "line": 702, "column": 50 }, "end": { "line": 702, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 23054, "end": 23171, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23058, "end": 23170, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 124 } }, "id": { "type": "Identifier", "start": 23058, "end": 23075, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 23078, "end": 23170, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 23078, "end": 23113, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 67 } }, "object": { "type": "MemberExpression", "start": 23078, "end": 23092, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 46 } }, "object": { "type": "ThisExpression", "start": 23078, "end": 23082, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 36 } } }, "property": { "type": "Identifier", "start": 23083, "end": 23092, "loc": { "start": { "line": 703, "column": 37 }, "end": { "line": 703, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 23093, "end": 23113, "loc": { "start": { "line": 703, "column": 47 }, "end": { "line": 703, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23114, "end": 23120, "loc": { "start": { "line": 703, "column": 68 }, "end": { "line": 703, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 23122, "end": 23142, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 96 } }, "object": { "type": "MemberExpression", "start": 23122, "end": 23134, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 88 } }, "object": { "type": "ThisExpression", "start": 23122, "end": 23126, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 80 } } }, "property": { "type": "Identifier", "start": 23127, "end": 23134, "loc": { "start": { "line": 703, "column": 81 }, "end": { "line": 703, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23135, "end": 23142, "loc": { "start": { "line": 703, "column": 89 }, "end": { "line": 703, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 23144, "end": 23169, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 123 } }, "object": { "type": "MemberExpression", "start": 23144, "end": 23156, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 110 } }, "object": { "type": "ThisExpression", "start": 23144, "end": 23148, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 102 } } }, "property": { "type": "Identifier", "start": 23149, "end": 23156, "loc": { "start": { "line": 703, "column": 103 }, "end": { "line": 703, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23157, "end": 23169, "loc": { "start": { "line": 703, "column": 111 }, "end": { "line": 703, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23183, "end": 23227, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 707, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23237, "end": 23283, "loc": { "start": { "line": 708, "column": 8 }, "end": { "line": 708, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23241, "end": 23282, "loc": { "start": { "line": 708, "column": 12 }, "end": { "line": 708, "column": 53 } }, "id": { "type": "Identifier", "start": 23241, "end": 23250, "loc": { "start": { "line": 708, "column": 12 }, "end": { "line": 708, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23253, "end": 23282, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 23253, "end": 23275, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 46 } }, "object": { "type": "Identifier", "start": 23253, "end": 23261, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23262, "end": 23275, "loc": { "start": { "line": 708, "column": 33 }, "end": { "line": 708, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23276, "end": 23281, "loc": { "start": { "line": 708, "column": 47 }, "end": { "line": 708, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23183, "end": 23227, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 707, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23293, "end": 23390, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 23293, "end": 23389, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 23293, "end": 23312, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 27 } }, "object": { "type": "Identifier", "start": 23293, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23303, "end": 23312, "loc": { "start": { "line": 709, "column": 18 }, "end": { "line": 709, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 23316, "end": 23389, "loc": { "start": { "line": 709, "column": 31 }, "end": { "line": 709, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 23329, "end": 23340, "loc": { "start": { "line": 709, "column": 44 }, "end": { "line": 709, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 23343, "end": 23387, "loc": { "start": { "line": 709, "column": 58 }, "end": { "line": 709, "column": 102 } }, "test": { "type": "Identifier", "start": 23343, "end": 23359, "loc": { "start": { "line": 709, "column": 58 }, "end": { "line": 709, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 23362, "end": 23382, "loc": { "start": { "line": 709, "column": 77 }, "end": { "line": 709, "column": 97 } }, "left": { "type": "StringLiteral", "start": 23362, "end": 23365, "loc": { "start": { "line": 709, "column": 77 }, "end": { "line": 709, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 23366, "end": 23382, "loc": { "start": { "line": 709, "column": 81 }, "end": { "line": 709, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 23385, "end": 23387, "loc": { "start": { "line": 709, "column": 100 }, "end": { "line": 709, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 23317, "end": 23327, "loc": { "start": { "line": 709, "column": 32 }, "end": { "line": 709, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 23341, "end": 23341, "loc": { "start": { "line": 709, "column": 56 }, "end": { "line": 709, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23388, "end": 23388, "loc": { "start": { "line": 709, "column": 103 }, "end": { "line": 709, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "IfStatement", "start": 23410, "end": 24076, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 727, "column": 9 } }, "test": { "type": "Identifier", "start": 23414, "end": 23428, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 26 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "consequent": { "type": "BlockStatement", "start": 23430, "end": 23736, "loc": { "start": { "line": 711, "column": 28 }, "end": { "line": 718, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23443, "end": 23588, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 715, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 23443, "end": 23588, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 715, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23443, "end": 23465, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 712, "column": 32 } }, "object": { "type": "Identifier", "start": 23443, "end": 23452, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 712, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23453, "end": 23465, "loc": { "start": { "line": 712, "column": 20 }, "end": { "line": 712, "column": 32 }, "identifierName": "ontouchstart" }, "name": "ontouchstart" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23468, "end": 23588, "loc": { "start": { "line": 712, "column": 35 }, "end": { "line": 715, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23469, "end": 23470, "loc": { "start": { "line": 712, "column": 36 }, "end": { "line": 712, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 23475, "end": 23588, "loc": { "start": { "line": 712, "column": 42 }, "end": { "line": 715, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 23490, "end": 23523, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23490, "end": 23522, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23490, "end": 23514, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 36 } }, "object": { "type": "ThisExpression", "start": 23490, "end": 23494, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 16 } } }, "property": { "type": "Identifier", "start": 23495, "end": 23514, "loc": { "start": { "line": 713, "column": 17 }, "end": { "line": 713, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23515, "end": 23521, "loc": { "start": { "line": 713, "column": 37 }, "end": { "line": 713, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 23537, "end": 23575, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 50 } }, "expression": { "type": "CallExpression", "start": 23537, "end": 23574, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 23537, "end": 23563, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 38 } }, "object": { "type": "ThisExpression", "start": 23537, "end": 23541, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 16 } } }, "property": { "type": "Identifier", "start": 23542, "end": 23563, "loc": { "start": { "line": 714, "column": 17 }, "end": { "line": 714, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23564, "end": 23570, "loc": { "start": { "line": 714, "column": 39 }, "end": { "line": 714, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 23572, "end": 23573, "loc": { "start": { "line": 714, "column": 47 }, "end": { "line": 714, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 23600, "end": 23655, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 23600, "end": 23654, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23600, "end": 23620, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 30 } }, "object": { "type": "Identifier", "start": 23600, "end": 23609, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23610, "end": 23620, "loc": { "start": { "line": 716, "column": 20 }, "end": { "line": 716, "column": 30 }, "identifierName": "ontouchend" }, "name": "ontouchend" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23623, "end": 23654, "loc": { "start": { "line": 716, "column": 33 }, "end": { "line": 716, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 23623, "end": 23624, "loc": { "start": { "line": 716, "column": 33 }, "end": { "line": 716, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 23628, "end": 23654, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 23628, "end": 23652, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 62 } }, "object": { "type": "ThisExpression", "start": 23628, "end": 23632, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 42 } } }, "property": { "type": "Identifier", "start": 23633, "end": 23652, "loc": { "start": { "line": 716, "column": 43 }, "end": { "line": 716, "column": 62 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } }, { "type": "ExpressionStatement", "start": 23667, "end": 23725, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 23667, "end": 23724, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23667, "end": 23690, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 33 } }, "object": { "type": "Identifier", "start": 23667, "end": 23676, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23677, "end": 23690, "loc": { "start": { "line": 717, "column": 20 }, "end": { "line": 717, "column": 33 }, "identifierName": "ontouchcancel" }, "name": "ontouchcancel" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23693, "end": 23724, "loc": { "start": { "line": 717, "column": 36 }, "end": { "line": 717, "column": 67 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 23693, "end": 23694, "loc": { "start": { "line": 717, "column": 36 }, "end": { "line": 717, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 23698, "end": 23724, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 23698, "end": 23722, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 65 } }, "object": { "type": "ThisExpression", "start": 23698, "end": 23702, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 45 } } }, "property": { "type": "Identifier", "start": 23703, "end": 23722, "loc": { "start": { "line": 717, "column": 46 }, "end": { "line": 717, "column": 65 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 23742, "end": 24076, "loc": { "start": { "line": 718, "column": 15 }, "end": { "line": 727, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23755, "end": 23881, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 722, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 23755, "end": 23881, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 722, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23755, "end": 23772, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 719, "column": 27 } }, "object": { "type": "Identifier", "start": 23755, "end": 23764, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 719, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23765, "end": 23772, "loc": { "start": { "line": 719, "column": 20 }, "end": { "line": 719, "column": 27 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23775, "end": 23881, "loc": { "start": { "line": 719, "column": 30 }, "end": { "line": 722, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 23781, "end": 23881, "loc": { "start": { "line": 719, "column": 36 }, "end": { "line": 722, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 23796, "end": 23821, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 23796, "end": 23820, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23796, "end": 23812, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 28 } }, "object": { "type": "ThisExpression", "start": 23796, "end": 23800, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 16 } } }, "property": { "type": "Identifier", "start": 23801, "end": 23812, "loc": { "start": { "line": 720, "column": 17 }, "end": { "line": 720, "column": 28 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 23815, "end": 23820, "loc": { "start": { "line": 720, "column": 31 }, "end": { "line": 720, "column": 36 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 23835, "end": 23868, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23835, "end": 23867, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23835, "end": 23859, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 36 } }, "object": { "type": "ThisExpression", "start": 23835, "end": 23839, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 16 } } }, "property": { "type": "Identifier", "start": 23840, "end": 23859, "loc": { "start": { "line": 721, "column": 17 }, "end": { "line": 721, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23860, "end": 23866, "loc": { "start": { "line": 721, "column": 37 }, "end": { "line": 721, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 23893, "end": 24065, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 726, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 23893, "end": 24065, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 726, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23893, "end": 23914, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 723, "column": 31 } }, "object": { "type": "Identifier", "start": 23893, "end": 23902, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 723, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23903, "end": 23914, "loc": { "start": { "line": 723, "column": 20 }, "end": { "line": 723, "column": 31 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23917, "end": 24065, "loc": { "start": { "line": 723, "column": 34 }, "end": { "line": 726, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23918, "end": 23919, "loc": { "start": { "line": 723, "column": 35 }, "end": { "line": 723, "column": 36 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 23924, "end": 24065, "loc": { "start": { "line": 723, "column": 41 }, "end": { "line": 726, "column": 11 } }, "body": [ { "type": "IfStatement", "start": 23939, "end": 24000, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 73 } }, "test": { "type": "MemberExpression", "start": 23943, "end": 23979, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 52 } }, "object": { "type": "MemberExpression", "start": 23943, "end": 23955, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 28 } }, "object": { "type": "ThisExpression", "start": 23943, "end": 23947, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 20 } } }, "property": { "type": "Identifier", "start": 23948, "end": 23955, "loc": { "start": { "line": 724, "column": 21 }, "end": { "line": 724, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23956, "end": 23979, "loc": { "start": { "line": 724, "column": 29 }, "end": { "line": 724, "column": 52 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 23981, "end": 24000, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 73 } }, "expression": { "type": "CallExpression", "start": 23981, "end": 23999, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 23981, "end": 23997, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 70 } }, "object": { "type": "Identifier", "start": 23981, "end": 23982, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 55 }, "identifierName": "e" }, "name": "e" }, "property": { "type": "Identifier", "start": 23983, "end": 23997, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 70 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 24014, "end": 24052, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 50 } }, "expression": { "type": "CallExpression", "start": 24014, "end": 24051, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 24014, "end": 24040, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24014, "end": 24018, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 16 } } }, "property": { "type": "Identifier", "start": 24019, "end": 24040, "loc": { "start": { "line": 725, "column": 17 }, "end": { "line": 725, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24041, "end": 24047, "loc": { "start": { "line": 725, "column": 39 }, "end": { "line": 725, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 24049, "end": 24050, "loc": { "start": { "line": 725, "column": 47 }, "end": { "line": 725, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24096, "end": 24142, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 731, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24152, "end": 24197, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 53 } }, "expression": { "type": "CallExpression", "start": 24152, "end": 24196, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 24152, "end": 24174, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 30 } }, "object": { "type": "Identifier", "start": 24152, "end": 24161, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24162, "end": 24174, "loc": { "start": { "line": 732, "column": 18 }, "end": { "line": 732, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 24175, "end": 24187, "loc": { "start": { "line": 732, "column": 31 }, "end": { "line": 732, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 24189, "end": 24195, "loc": { "start": { "line": 732, "column": 45 }, "end": { "line": 732, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24096, "end": 24142, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 731, "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": 24209, "end": 24364, "loc": { "start": { "line": 734, "column": 8 }, "end": { "line": 737, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 24374, "end": 24440, "loc": { "start": { "line": 738, "column": 8 }, "end": { "line": 738, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24378, "end": 24439, "loc": { "start": { "line": 738, "column": 12 }, "end": { "line": 738, "column": 73 } }, "id": { "type": "Identifier", "start": 24378, "end": 24387, "loc": { "start": { "line": 738, "column": 12 }, "end": { "line": 738, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 24390, "end": 24439, "loc": { "start": { "line": 738, "column": 24 }, "end": { "line": 738, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 24393, "end": 24416, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 50 } }, "object": { "type": "MemberExpression", "start": 24393, "end": 24405, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 39 } }, "object": { "type": "ThisExpression", "start": 24393, "end": 24397, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 31 } } }, "property": { "type": "Identifier", "start": 24398, "end": 24405, "loc": { "start": { "line": 738, "column": 32 }, "end": { "line": 738, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 24406, "end": 24416, "loc": { "start": { "line": 738, "column": 40 }, "end": { "line": 738, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 24421, "end": 24427, "loc": { "start": { "line": 738, "column": 55 }, "end": { "line": 738, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 24431, "end": 24437, "loc": { "start": { "line": 738, "column": 65 }, "end": { "line": 738, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 24391, "end": 24391, "loc": { "start": { "line": 738, "column": 25 }, "end": { "line": 738, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 24417, "end": 24419, "loc": { "start": { "line": 738, "column": 51 }, "end": { "line": 738, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 24428, "end": 24429, "loc": { "start": { "line": 738, "column": 62 }, "end": { "line": 738, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 24438, "end": 24438, "loc": { "start": { "line": 738, "column": 72 }, "end": { "line": 738, "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": 24209, "end": 24364, "loc": { "start": { "line": 734, "column": 8 }, "end": { "line": 737, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24450, "end": 24501, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 59 } }, "expression": { "type": "CallExpression", "start": 24450, "end": 24500, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 24450, "end": 24472, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 30 } }, "object": { "type": "Identifier", "start": 24450, "end": 24459, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24460, "end": 24472, "loc": { "start": { "line": 739, "column": 18 }, "end": { "line": 739, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24473, "end": 24488, "loc": { "start": { "line": 739, "column": 31 }, "end": { "line": 739, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 24490, "end": 24499, "loc": { "start": { "line": 739, "column": 48 }, "end": { "line": 739, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 24513, "end": 24562, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24572, "end": 24635, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 71 } }, "expression": { "type": "CallExpression", "start": 24572, "end": 24634, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 24572, "end": 24594, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 30 } }, "object": { "type": "Identifier", "start": 24572, "end": 24581, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24582, "end": 24594, "loc": { "start": { "line": 744, "column": 18 }, "end": { "line": 744, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 24595, "end": 24614, "loc": { "start": { "line": 744, "column": 31 }, "end": { "line": 744, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 24616, "end": 24633, "loc": { "start": { "line": 744, "column": 52 }, "end": { "line": 744, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 24513, "end": 24562, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 24647, "end": 24705, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 748, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 24715, "end": 24766, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24719, "end": 24765, "loc": { "start": { "line": 749, "column": 12 }, "end": { "line": 749, "column": 58 } }, "id": { "type": "Identifier", "start": 24719, "end": 24732, "loc": { "start": { "line": 749, "column": 12 }, "end": { "line": 749, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 24735, "end": 24765, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 24735, "end": 24757, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 50 } }, "object": { "type": "Identifier", "start": 24735, "end": 24743, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 24744, "end": 24757, "loc": { "start": { "line": 749, "column": 37 }, "end": { "line": 749, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24758, "end": 24764, "loc": { "start": { "line": 749, "column": 51 }, "end": { "line": 749, "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": 24647, "end": 24705, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 748, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24776, "end": 24820, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 24776, "end": 24819, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24776, "end": 24799, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 31 } }, "object": { "type": "Identifier", "start": 24776, "end": 24789, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 24790, "end": 24799, "loc": { "start": { "line": 750, "column": 22 }, "end": { "line": 750, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 24802, "end": 24819, "loc": { "start": { "line": 750, "column": 34 }, "end": { "line": 750, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 24830, "end": 24867, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 45 } }, "expression": { "type": "CallExpression", "start": 24830, "end": 24866, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 24830, "end": 24851, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 29 } }, "object": { "type": "Identifier", "start": 24830, "end": 24839, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24840, "end": 24851, "loc": { "start": { "line": 751, "column": 18 }, "end": { "line": 751, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24852, "end": 24865, "loc": { "start": { "line": 751, "column": 30 }, "end": { "line": 751, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24879, "end": 24932, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 755, "column": 11 } } } ] }, { "type": "IfStatement", "start": 24942, "end": 25019, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 757, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 24945, "end": 24973, "loc": { "start": { "line": 756, "column": 11 }, "end": { "line": 756, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24946, "end": 24973, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 39 } }, "object": { "type": "MemberExpression", "start": 24946, "end": 24965, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 31 } }, "object": { "type": "ThisExpression", "start": 24946, "end": 24950, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24951, "end": 24965, "loc": { "start": { "line": 756, "column": 17 }, "end": { "line": 756, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24966, "end": 24972, "loc": { "start": { "line": 756, "column": 32 }, "end": { "line": 756, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 24986, "end": 25019, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24986, "end": 25018, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24986, "end": 25013, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 37 } }, "object": { "type": "MemberExpression", "start": 24986, "end": 25005, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 29 } }, "object": { "type": "ThisExpression", "start": 24986, "end": 24990, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 14 } } }, "property": { "type": "Identifier", "start": 24991, "end": 25005, "loc": { "start": { "line": 757, "column": 15 }, "end": { "line": 757, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25006, "end": 25012, "loc": { "start": { "line": 757, "column": 30 }, "end": { "line": 757, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 25016, "end": 25018, "loc": { "start": { "line": 757, "column": 40 }, "end": { "line": 757, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24879, "end": 24932, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 755, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25031, "end": 25075, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 52 } }, "expression": { "type": "CallExpression", "start": 25031, "end": 25074, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 25031, "end": 25063, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 40 } }, "object": { "type": "MemberExpression", "start": 25031, "end": 25058, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 35 } }, "object": { "type": "MemberExpression", "start": 25031, "end": 25050, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 27 } }, "object": { "type": "ThisExpression", "start": 25031, "end": 25035, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 12 } } }, "property": { "type": "Identifier", "start": 25036, "end": 25050, "loc": { "start": { "line": 759, "column": 13 }, "end": { "line": 759, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25051, "end": 25057, "loc": { "start": { "line": 759, "column": 28 }, "end": { "line": 759, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 25059, "end": 25063, "loc": { "start": { "line": 759, "column": 36 }, "end": { "line": 759, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25064, "end": 25073, "loc": { "start": { "line": 759, "column": 41 }, "end": { "line": 759, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25087, "end": 25139, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25149, "end": 25179, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 38 } }, "expression": { "type": "CallExpression", "start": 25149, "end": 25178, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 25149, "end": 25167, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 26 } }, "object": { "type": "Identifier", "start": 25149, "end": 25155, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 25156, "end": 25167, "loc": { "start": { "line": 764, "column": 15 }, "end": { "line": 764, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25168, "end": 25177, "loc": { "start": { "line": 764, "column": 27 }, "end": { "line": 764, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25087, "end": 25139, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22811, "end": 22872, "loc": { "start": { "line": 697, "column": 6 }, "end": { "line": 699, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25202, "end": 25252, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 770, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 25260, "end": 25297, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 43 } }, "expression": { "type": "CallExpression", "start": 25260, "end": 25296, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 25260, "end": 25288, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 34 } }, "object": { "type": "MemberExpression", "start": 25260, "end": 25276, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 22 } }, "object": { "type": "ThisExpression", "start": 25260, "end": 25264, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25265, "end": 25276, "loc": { "start": { "line": 771, "column": 11 }, "end": { "line": 771, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 25277, "end": 25288, "loc": { "start": { "line": 771, "column": 23 }, "end": { "line": 771, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25289, "end": 25295, "loc": { "start": { "line": 771, "column": 35 }, "end": { "line": 771, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25202, "end": 25252, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 770, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22511, "end": 22558, "loc": { "start": { "line": 685, "column": 4 }, "end": { "line": 687, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25314, "end": 25351, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 776, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 25357, "end": 25373, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 20 } }, "expression": { "type": "CallExpression", "start": 25357, "end": 25372, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 25357, "end": 25370, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 17 } }, "object": { "type": "ThisExpression", "start": 25357, "end": 25361, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25362, "end": 25370, "loc": { "start": { "line": 777, "column": 9 }, "end": { "line": 777, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25314, "end": 25351, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 776, "column": 7 } } } ] }, { "type": "IfStatement", "start": 25381, "end": 25757, "loc": { "start": { "line": 779, "column": 4 }, "end": { "line": 796, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 25384, "end": 25401, "loc": { "start": { "line": 779, "column": 7 }, "end": { "line": 779, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 25385, "end": 25401, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 24 } }, "object": { "type": "ThisExpression", "start": 25385, "end": 25389, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 12 } } }, "property": { "type": "Identifier", "start": 25390, "end": 25401, "loc": { "start": { "line": 779, "column": 13 }, "end": { "line": 779, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 25402, "end": 25757, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 796, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 25501, "end": 25525, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 25501, "end": 25524, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25501, "end": 25517, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 22 } }, "object": { "type": "ThisExpression", "start": 25501, "end": 25505, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25506, "end": 25517, "loc": { "start": { "line": 783, "column": 11 }, "end": { "line": 783, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 25520, "end": 25524, "loc": { "start": { "line": 783, "column": 25 }, "end": { "line": 783, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25411, "end": 25493, "loc": { "start": { "line": 780, "column": 6 }, "end": { "line": 782, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 25535, "end": 25576, "loc": { "start": { "line": 785, "column": 6 }, "end": { "line": 787, "column": 9 } } } ] }, { "type": "IfStatement", "start": 25584, "end": 25679, "loc": { "start": { "line": 788, "column": 6 }, "end": { "line": 790, "column": 7 } }, "test": { "type": "UnaryExpression", "start": 25588, "end": 25603, "loc": { "start": { "line": 788, "column": 10 }, "end": { "line": 788, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 25589, "end": 25603, "loc": { "start": { "line": 788, "column": 11 }, "end": { "line": 788, "column": 25 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 25605, "end": 25679, "loc": { "start": { "line": 788, "column": 27 }, "end": { "line": 790, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 25616, "end": 25670, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 25616, "end": 25669, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25616, "end": 25634, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 26 } }, "object": { "type": "Identifier", "start": 25616, "end": 25624, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 25625, "end": 25634, "loc": { "start": { "line": 789, "column": 17 }, "end": { "line": 789, "column": 26 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 25637, "end": 25669, "loc": { "start": { "line": 789, "column": 29 }, "end": { "line": 789, "column": 61 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 25643, "end": 25669, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 25643, "end": 25667, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 59 } }, "object": { "type": "ThisExpression", "start": 25643, "end": 25647, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 39 } } }, "property": { "type": "Identifier", "start": 25648, "end": 25667, "loc": { "start": { "line": 789, "column": 40 }, "end": { "line": 789, "column": 59 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 25535, "end": 25576, "loc": { "start": { "line": 785, "column": 6 }, "end": { "line": 787, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 25689, "end": 25728, "loc": { "start": { "line": 792, "column": 6 }, "end": { "line": 794, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 25736, "end": 25750, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 20 } }, "expression": { "type": "CallExpression", "start": 25736, "end": 25749, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 25736, "end": 25747, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 17 } }, "object": { "type": "ThisExpression", "start": 25736, "end": 25740, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25741, "end": 25747, "loc": { "start": { "line": 795, "column": 11 }, "end": { "line": 795, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 25689, "end": 25728, "loc": { "start": { "line": 792, "column": 6 }, "end": { "line": 794, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20708, "end": 20764, "loc": { "start": { "line": 633, "column": 2 }, "end": { "line": 635, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 25769, "end": 25799, "loc": { "start": { "line": 800, "column": 0 }, "end": { "line": 800, "column": 30 } }, "declaration": { "type": "Identifier", "start": 25784, "end": 25798, "loc": { "start": { "line": 800, "column": 15 }, "end": { "line": 800, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 25769, "end": 25799, "loc": { "start": { "line": 800, "column": 0 }, "end": { "line": 800, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 25765, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 798, "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": 25765, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 798, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 679, "end": 7607, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 154, "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": 7607, "loc": { "start": { "line": 20, "column": 24 }, "end": { "line": 154, "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 {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.\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": 4072, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 61, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4078, "end": 4101, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 4078, "end": 4100, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4078, "end": 4090, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4078, "end": 4082, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4083, "end": 4090, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 4093, "end": 4100, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "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 {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.\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": 4072, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 61, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4107, "end": 4170, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4107, "end": 4169, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4107, "end": 4130, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 27 } }, "object": { "type": "MemberExpression", "start": 4107, "end": 4119, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4107, "end": 4111, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 8 } } }, "property": { "type": "Identifier", "start": 4112, "end": 4119, "loc": { "start": { "line": 63, "column": 9 }, "end": { "line": 63, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4120, "end": 4130, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 27 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4133, "end": 4169, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 66 } }, "left": { "type": "MemberExpression", "start": 4133, "end": 4156, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4133, "end": 4145, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 42 } }, "object": { "type": "ThisExpression", "start": 4133, "end": 4137, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 34 } } }, "property": { "type": "Identifier", "start": 4138, "end": 4145, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4146, "end": 4156, "loc": { "start": { "line": 63, "column": 43 }, "end": { "line": 63, "column": 53 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4160, "end": 4169, "loc": { "start": { "line": 63, "column": 57 }, "end": { "line": 63, "column": 66 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4176, "end": 4238, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 4176, "end": 4237, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4176, "end": 4194, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 22 } }, "object": { "type": "MemberExpression", "start": 4176, "end": 4188, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4176, "end": 4180, "loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 64, "column": 8 } } }, "property": { "type": "Identifier", "start": 4181, "end": 4188, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4189, "end": 4194, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 22 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4197, "end": 4237, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 65 } }, "left": { "type": "MemberExpression", "start": 4197, "end": 4215, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 43 } }, "object": { "type": "MemberExpression", "start": 4197, "end": 4209, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4197, "end": 4201, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 29 } } }, "property": { "type": "Identifier", "start": 4202, "end": 4209, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4210, "end": 4215, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 43 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4219, "end": 4237, "loc": { "start": { "line": 64, "column": 47 }, "end": { "line": 64, "column": 65 } }, "extra": { "rawValue": "hg-theme-default", "raw": "\"hg-theme-default\"" }, "value": "hg-theme-default" } } } }, { "type": "ExpressionStatement", "start": 4244, "end": 4305, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4244, "end": 4304, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4244, "end": 4266, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 26 } }, "object": { "type": "MemberExpression", "start": 4244, "end": 4256, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4244, "end": 4248, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 8 } } }, "property": { "type": "Identifier", "start": 4249, "end": 4256, "loc": { "start": { "line": 65, "column": 9 }, "end": { "line": 65, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4257, "end": 4266, "loc": { "start": { "line": 65, "column": 17 }, "end": { "line": 65, "column": 26 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "right": { "type": "LogicalExpression", "start": 4269, "end": 4304, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4269, "end": 4291, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4269, "end": 4281, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4269, "end": 4273, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 33 } } }, "property": { "type": "Identifier", "start": 4274, "end": 4281, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4282, "end": 4291, "loc": { "start": { "line": 65, "column": 42 }, "end": { "line": 65, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "operator": "||", "right": { "type": "StringLiteral", "start": 4295, "end": 4304, "loc": { "start": { "line": 65, "column": 55 }, "end": { "line": 65, "column": 64 } }, "extra": { "rawValue": "default", "raw": "\"default\"" }, "value": "default" } } } }, { "type": "ExpressionStatement", "start": 4311, "end": 4412, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 4311, "end": 4411, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 104 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4311, "end": 4347, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 40 } }, "object": { "type": "MemberExpression", "start": 4311, "end": 4323, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 16 } }, "object": { "type": "ThisExpression", "start": 4311, "end": 4315, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 8 } } }, "property": { "type": "Identifier", "start": 4316, "end": 4323, "loc": { "start": { "line": 66, "column": 9 }, "end": { "line": 66, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4324, "end": 4347, "loc": { "start": { "line": 66, "column": 17 }, "end": { "line": 66, "column": 40 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 4350, "end": 4411, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 104 } }, "test": { "type": "BinaryExpression", "start": 4350, "end": 4396, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 89 } }, "left": { "type": "MemberExpression", "start": 4350, "end": 4386, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 79 } }, "object": { "type": "MemberExpression", "start": 4350, "end": 4362, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4350, "end": 4354, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 47 } } }, "property": { "type": "Identifier", "start": 4355, "end": 4362, "loc": { "start": { "line": 66, "column": 48 }, "end": { "line": 66, "column": 55 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 4363, "end": 4386, "loc": { "start": { "line": 66, "column": 56 }, "end": { "line": 66, "column": 79 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 4391, "end": 4396, "loc": { "start": { "line": 66, "column": 84 }, "end": { "line": 66, "column": 89 } }, "value": false } }, "consequent": { "type": "BooleanLiteral", "start": 4399, "end": 4404, "loc": { "start": { "line": 66, "column": 92 }, "end": { "line": 66, "column": 97 } }, "value": false }, "alternate": { "type": "BooleanLiteral", "start": 4407, "end": 4411, "loc": { "start": { "line": 66, "column": 100 }, "end": { "line": 66, "column": 104 } }, "value": true } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4420, "end": 4490, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4496, "end": 4528, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4496, "end": 4527, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4496, "end": 4522, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4496, "end": 4500, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4501, "end": 4522, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 30 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false, "leadingComments": null }, "right": { "type": "StringLiteral", "start": 4525, "end": 4527, "loc": { "start": { "line": 71, "column": 33 }, "end": { "line": 71, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4420, "end": 4490, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4536, "end": 4565, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4571, "end": 4634, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 4571, "end": 4633, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4571, "end": 4595, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4571, "end": 4575, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4576, "end": 4595, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 28 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 4598, "end": 4633, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 4598, "end": 4627, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 60 } }, "object": { "type": "MemberExpression", "start": 4598, "end": 4622, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 55 } }, "object": { "type": "ThisExpression", "start": 4598, "end": 4602, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 35 } } }, "property": { "type": "Identifier", "start": 4603, "end": 4622, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 55 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "property": { "type": "Identifier", "start": 4623, "end": 4627, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4628, "end": 4632, "loc": { "start": { "line": 76, "column": 61 }, "end": { "line": 76, "column": 65 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4536, "end": 4565, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 4640, "end": 4701, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 4640, "end": 4700, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4640, "end": 4663, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4640, "end": 4644, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, "property": { "type": "Identifier", "start": 4645, "end": 4663, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 27 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "right": { "type": "CallExpression", "start": 4666, "end": 4700, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 4666, "end": 4694, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 58 } }, "object": { "type": "MemberExpression", "start": 4666, "end": 4689, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 53 } }, "object": { "type": "ThisExpression", "start": 4666, "end": 4670, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 34 } } }, "property": { "type": "Identifier", "start": 4671, "end": 4689, "loc": { "start": { "line": 77, "column": 35 }, "end": { "line": 77, "column": 53 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "property": { "type": "Identifier", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 54 }, "end": { "line": 77, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4695, "end": 4699, "loc": { "start": { "line": 77, "column": 59 }, "end": { "line": 77, "column": 63 } } } ] } } }, { "type": "ExpressionStatement", "start": 4707, "end": 4752, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4707, "end": 4751, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4707, "end": 4722, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 19 } }, "object": { "type": "ThisExpression", "start": 4707, "end": 4711, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, "property": { "type": "Identifier", "start": 4712, "end": 4722, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 19 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4725, "end": 4751, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4725, "end": 4745, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4725, "end": 4740, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 37 } }, "object": { "type": "ThisExpression", "start": 4725, "end": 4729, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 26 } } }, "property": { "type": "Identifier", "start": 4730, "end": 4740, "loc": { "start": { "line": 78, "column": 27 }, "end": { "line": 78, "column": 37 }, "identifierName": "clearInput" }, "name": "clearInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4741, "end": 4745, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4746, "end": 4750, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 47 } } } ] } } }, { "type": "ExpressionStatement", "start": 4758, "end": 4799, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4758, "end": 4798, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4758, "end": 4771, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4758, "end": 4762, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, "property": { "type": "Identifier", "start": 4763, "end": 4771, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 17 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4774, "end": 4798, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4774, "end": 4792, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4774, "end": 4787, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4774, "end": 4778, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 24 } } }, "property": { "type": "Identifier", "start": 4779, "end": 4787, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 33 }, "identifierName": "getInput" }, "name": "getInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4788, "end": 4792, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4793, "end": 4797, "loc": { "start": { "line": 79, "column": 39 }, "end": { "line": 79, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4805, "end": 4846, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4805, "end": 4845, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4805, "end": 4818, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4805, "end": 4809, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 80, "column": 8 } } }, "property": { "type": "Identifier", "start": 4810, "end": 4818, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 17 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4821, "end": 4845, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4821, "end": 4839, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4821, "end": 4834, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4821, "end": 4825, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 24 } } }, "property": { "type": "Identifier", "start": 4826, "end": 4834, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "column": 33 }, "identifierName": "setInput" }, "name": "setInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4835, "end": 4839, "loc": { "start": { "line": 80, "column": 34 }, "end": { "line": 80, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4840, "end": 4844, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4852, "end": 4901, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4852, "end": 4900, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4852, "end": 4869, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4852, "end": 4856, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 8 } } }, "property": { "type": "Identifier", "start": 4857, "end": 4869, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 21 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "right": { "type": "CallExpression", "start": 4872, "end": 4900, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4872, "end": 4894, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4872, "end": 4889, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 41 } }, "object": { "type": "ThisExpression", "start": 4872, "end": 4876, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 28 } } }, "property": { "type": "Identifier", "start": 4877, "end": 4889, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 41 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "property": { "type": "Identifier", "start": 4890, "end": 4894, "loc": { "start": { "line": 81, "column": 42 }, "end": { "line": 81, "column": 46 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4895, "end": 4899, "loc": { "start": { "line": 81, "column": 47 }, "end": { "line": 81, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 4907, "end": 4942, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4907, "end": 4941, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4907, "end": 4917, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 14 } }, "object": { "type": "ThisExpression", "start": 4907, "end": 4911, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, "property": { "type": "Identifier", "start": 4912, "end": 4917, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "right": { "type": "CallExpression", "start": 4920, "end": 4941, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 4920, "end": 4935, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4920, "end": 4930, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4920, "end": 4924, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 21 } } }, "property": { "type": "Identifier", "start": 4925, "end": 4930, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 27 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "property": { "type": "Identifier", "start": 4931, "end": 4935, "loc": { "start": { "line": 82, "column": 28 }, "end": { "line": 82, "column": 32 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4936, "end": 4940, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 37 } } } ] } } }, { "type": "ExpressionStatement", "start": 4948, "end": 4989, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4948, "end": 4988, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4948, "end": 4961, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 17 } }, "object": { "type": "ThisExpression", "start": 4948, "end": 4952, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, "property": { "type": "Identifier", "start": 4953, "end": 4961, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "right": { "type": "CallExpression", "start": 4964, "end": 4988, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4964, "end": 4982, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 38 } }, "object": { "type": "MemberExpression", "start": 4964, "end": 4977, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 33 } }, "object": { "type": "ThisExpression", "start": 4964, "end": 4968, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 24 } } }, "property": { "type": "Identifier", "start": 4969, "end": 4977, "loc": { "start": { "line": 83, "column": 25 }, "end": { "line": 83, "column": 33 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "property": { "type": "Identifier", "start": 4978, "end": 4982, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 4983, "end": 4987, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 4995, "end": 5048, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 4995, "end": 5047, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4995, "end": 5014, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 23 } }, "object": { "type": "ThisExpression", "start": 4995, "end": 4999, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, "property": { "type": "Identifier", "start": 5000, "end": 5014, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 23 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 5017, "end": 5047, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 5017, "end": 5041, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5017, "end": 5036, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 45 } }, "object": { "type": "ThisExpression", "start": 5017, "end": 5021, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 30 } } }, "property": { "type": "Identifier", "start": 5022, "end": 5036, "loc": { "start": { "line": 84, "column": 31 }, "end": { "line": 84, "column": 45 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 5037, "end": 5041, "loc": { "start": { "line": 84, "column": 46 }, "end": { "line": 84, "column": 50 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5042, "end": 5046, "loc": { "start": { "line": 84, "column": 51 }, "end": { "line": 84, "column": 55 } } } ] } } }, { "type": "ExpressionStatement", "start": 5054, "end": 5113, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 5054, "end": 5112, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5054, "end": 5076, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5054, "end": 5058, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, "property": { "type": "Identifier", "start": 5059, "end": 5076, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 26 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "right": { "type": "CallExpression", "start": 5079, "end": 5112, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5079, "end": 5106, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5079, "end": 5101, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5079, "end": 5083, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 } } }, "property": { "type": "Identifier", "start": 5084, "end": 5101, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 51 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 5102, "end": 5106, "loc": { "start": { "line": 85, "column": 52 }, "end": { "line": 85, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5107, "end": 5111, "loc": { "start": { "line": 85, "column": 57 }, "end": { "line": 85, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5119, "end": 5176, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5119, "end": 5175, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5119, "end": 5140, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5119, "end": 5123, "loc": { "start": { "line": 86, "column": 4 }, "end": { "line": 86, "column": 8 } } }, "property": { "type": "Identifier", "start": 5124, "end": 5140, "loc": { "start": { "line": 86, "column": 9 }, "end": { "line": 86, "column": 25 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "right": { "type": "CallExpression", "start": 5143, "end": 5175, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5143, "end": 5169, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5143, "end": 5164, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5143, "end": 5147, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 32 } } }, "property": { "type": "Identifier", "start": 5148, "end": 5164, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 49 }, "identifierName": "getButtonElement" }, "name": "getButtonElement" }, "computed": false }, "property": { "type": "Identifier", "start": 5165, "end": 5169, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5170, "end": 5174, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5182, "end": 5229, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5182, "end": 5228, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5182, "end": 5198, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5182, "end": 5186, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, "property": { "type": "Identifier", "start": 5187, "end": 5198, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "right": { "type": "CallExpression", "start": 5201, "end": 5228, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5201, "end": 5222, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5201, "end": 5217, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5201, "end": 5205, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 27 } } }, "property": { "type": "Identifier", "start": 5206, "end": 5217, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 39 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false }, "property": { "type": "Identifier", "start": 5218, "end": 5222, "loc": { "start": { "line": 87, "column": 40 }, "end": { "line": 87, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5223, "end": 5227, "loc": { "start": { "line": 87, "column": 45 }, "end": { "line": 87, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5235, "end": 5294, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 5235, "end": 5293, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5235, "end": 5257, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5235, "end": 5239, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 5240, "end": 5257, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 26 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "right": { "type": "CallExpression", "start": 5260, "end": 5293, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5260, "end": 5287, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5260, "end": 5282, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5260, "end": 5264, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 33 } } }, "property": { "type": "Identifier", "start": 5265, "end": 5282, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 51 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false }, "property": { "type": "Identifier", "start": 5283, "end": 5287, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5288, "end": 5292, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 61 } } } ] } } }, { "type": "ExpressionStatement", "start": 5300, "end": 5337, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5300, "end": 5336, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5300, "end": 5311, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5300, "end": 5304, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, "property": { "type": "Identifier", "start": 5305, "end": 5311, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "right": { "type": "CallExpression", "start": 5314, "end": 5336, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5314, "end": 5330, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5314, "end": 5325, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5314, "end": 5318, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, "property": { "type": "Identifier", "start": 5319, "end": 5325, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "property": { "type": "Identifier", "start": 5326, "end": 5330, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5331, "end": 5335, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5343, "end": 5384, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 5343, "end": 5383, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5343, "end": 5356, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 17 } }, "object": { "type": "ThisExpression", "start": 5343, "end": 5347, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, "property": { "type": "Identifier", "start": 5348, "end": 5356, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "right": { "type": "CallExpression", "start": 5359, "end": 5383, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5359, "end": 5377, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5359, "end": 5372, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5359, "end": 5363, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 24 } } }, "property": { "type": "Identifier", "start": 5364, "end": 5372, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "property": { "type": "Identifier", "start": 5373, "end": 5377, "loc": { "start": { "line": 90, "column": 34 }, "end": { "line": 90, "column": 38 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5378, "end": 5382, "loc": { "start": { "line": 90, "column": 39 }, "end": { "line": 90, "column": 43 } } } ] } } }, { "type": "ExpressionStatement", "start": 5390, "end": 5427, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 5390, "end": 5426, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5390, "end": 5401, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 15 } }, "object": { "type": "ThisExpression", "start": 5390, "end": 5394, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 8 } } }, "property": { "type": "Identifier", "start": 5395, "end": 5401, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "right": { "type": "CallExpression", "start": 5404, "end": 5426, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5404, "end": 5420, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5404, "end": 5415, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 29 } }, "object": { "type": "ThisExpression", "start": 5404, "end": 5408, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 22 } } }, "property": { "type": "Identifier", "start": 5409, "end": 5415, "loc": { "start": { "line": 91, "column": 23 }, "end": { "line": 91, "column": 29 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "property": { "type": "Identifier", "start": 5416, "end": 5420, "loc": { "start": { "line": 91, "column": 30 }, "end": { "line": 91, "column": 34 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5421, "end": 5425, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 39 } } } ] } } }, { "type": "ExpressionStatement", "start": 5433, "end": 5480, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 5433, "end": 5479, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5433, "end": 5449, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 20 } }, "object": { "type": "ThisExpression", "start": 5433, "end": 5437, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, "property": { "type": "Identifier", "start": 5438, "end": 5449, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "right": { "type": "CallExpression", "start": 5452, "end": 5479, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 5452, "end": 5473, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 44 } }, "object": { "type": "MemberExpression", "start": 5452, "end": 5468, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 39 } }, "object": { "type": "ThisExpression", "start": 5452, "end": 5456, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 27 } } }, "property": { "type": "Identifier", "start": 5457, "end": 5468, "loc": { "start": { "line": 92, "column": 28 }, "end": { "line": 92, "column": 39 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "property": { "type": "Identifier", "start": 5469, "end": 5473, "loc": { "start": { "line": 92, "column": 40 }, "end": { "line": 92, "column": 44 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5474, "end": 5478, "loc": { "start": { "line": 92, "column": 45 }, "end": { "line": 92, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 5486, "end": 5549, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 5486, "end": 5548, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5486, "end": 5510, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 28 } }, "object": { "type": "ThisExpression", "start": 5486, "end": 5490, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, "property": { "type": "Identifier", "start": 5491, "end": 5510, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 28 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "right": { "type": "CallExpression", "start": 5513, "end": 5548, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5513, "end": 5542, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 60 } }, "object": { "type": "MemberExpression", "start": 5513, "end": 5537, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 55 } }, "object": { "type": "ThisExpression", "start": 5513, "end": 5517, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 35 } } }, "property": { "type": "Identifier", "start": 5518, "end": 5537, "loc": { "start": { "line": 93, "column": 36 }, "end": { "line": 93, "column": 55 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "property": { "type": "Identifier", "start": 5538, "end": 5542, "loc": { "start": { "line": 93, "column": 56 }, "end": { "line": 93, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5543, "end": 5547, "loc": { "start": { "line": 93, "column": 61 }, "end": { "line": 93, "column": 65 } } } ] } } }, { "type": "ExpressionStatement", "start": 5555, "end": 5622, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 5555, "end": 5621, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5555, "end": 5581, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 30 } }, "object": { "type": "ThisExpression", "start": 5555, "end": 5559, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, "property": { "type": "Identifier", "start": 5560, "end": 5581, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 30 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "right": { "type": "CallExpression", "start": 5584, "end": 5621, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 5584, "end": 5615, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5584, "end": 5610, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 59 } }, "object": { "type": "ThisExpression", "start": 5584, "end": 5588, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 37 } } }, "property": { "type": "Identifier", "start": 5589, "end": 5610, "loc": { "start": { "line": 94, "column": 38 }, "end": { "line": 94, "column": 59 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "property": { "type": "Identifier", "start": 5611, "end": 5615, "loc": { "start": { "line": 94, "column": 60 }, "end": { "line": 94, "column": 64 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5616, "end": 5620, "loc": { "start": { "line": 94, "column": 65 }, "end": { "line": 94, "column": 69 } } } ] } } }, { "type": "ExpressionStatement", "start": 5628, "end": 5685, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5628, "end": 5684, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5628, "end": 5649, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5628, "end": 5632, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 8 } } }, "property": { "type": "Identifier", "start": 5633, "end": 5649, "loc": { "start": { "line": 95, "column": 9 }, "end": { "line": 95, "column": 25 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "right": { "type": "CallExpression", "start": 5652, "end": 5684, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 5652, "end": 5678, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5652, "end": 5673, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 49 } }, "object": { "type": "ThisExpression", "start": 5652, "end": 5656, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 32 } } }, "property": { "type": "Identifier", "start": 5657, "end": 5673, "loc": { "start": { "line": 95, "column": 33 }, "end": { "line": 95, "column": 49 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "property": { "type": "Identifier", "start": 5674, "end": 5678, "loc": { "start": { "line": 95, "column": 50 }, "end": { "line": 95, "column": 54 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5679, "end": 5683, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 95, "column": 59 } } } ] } } }, { "type": "ExpressionStatement", "start": 5691, "end": 5746, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5691, "end": 5745, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5691, "end": 5711, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 24 } }, "object": { "type": "ThisExpression", "start": 5691, "end": 5695, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 8 } } }, "property": { "type": "Identifier", "start": 5696, "end": 5711, "loc": { "start": { "line": 96, "column": 9 }, "end": { "line": 96, "column": 24 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "right": { "type": "CallExpression", "start": 5714, "end": 5745, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5714, "end": 5739, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 52 } }, "object": { "type": "MemberExpression", "start": 5714, "end": 5734, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5714, "end": 5718, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 31 } } }, "property": { "type": "Identifier", "start": 5719, "end": 5734, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 47 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "property": { "type": "Identifier", "start": 5735, "end": 5739, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 52 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5740, "end": 5744, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 57 } } } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5754, "end": 6413, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 111, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6419, "end": 6435, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 20 } }, "expression": { "type": "AssignmentExpression", "start": 6419, "end": 6434, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 19 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6419, "end": 6429, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6419, "end": 6423, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6424, "end": 6429, "loc": { "start": { "line": 112, "column": 9 }, "end": { "line": 112, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6432, "end": 6434, "loc": { "start": { "line": 112, "column": 17 }, "end": { "line": 112, "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": 5754, "end": 6413, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 111, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6441, "end": 6481, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 44 } }, "expression": { "type": "AssignmentExpression", "start": 6441, "end": 6480, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6441, "end": 6475, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 38 } }, "object": { "type": "MemberExpression", "start": 6441, "end": 6451, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 14 } }, "object": { "type": "ThisExpression", "start": 6441, "end": 6445, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 8 } } }, "property": { "type": "Identifier", "start": 6446, "end": 6451, "loc": { "start": { "line": 113, "column": 9 }, "end": { "line": 113, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 6452, "end": 6474, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 37 } }, "object": { "type": "MemberExpression", "start": 6452, "end": 6464, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6452, "end": 6456, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 19 } } }, "property": { "type": "Identifier", "start": 6457, "end": 6464, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 6465, "end": 6474, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 37 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 6478, "end": 6480, "loc": { "start": { "line": 113, "column": 41 }, "end": { "line": 113, "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": 6489, "end": 6598, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 117, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6604, "end": 6665, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 6604, "end": 6664, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6604, "end": 6625, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 25 } }, "object": { "type": "ThisExpression", "start": 6604, "end": 6608, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6609, "end": 6625, "loc": { "start": { "line": 118, "column": 9 }, "end": { "line": 118, "column": 25 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 6628, "end": 6664, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 6628, "end": 6660, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 60 } }, "object": { "type": "CallExpression", "start": 6628, "end": 6655, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 6628, "end": 6650, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 50 } }, "object": { "type": "Identifier", "start": 6628, "end": 6644, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 44 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" }, "property": { "type": "Identifier", "start": 6645, "end": 6650, "loc": { "start": { "line": 118, "column": 45 }, "end": { "line": 118, "column": 50 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6651, "end": 6654, "loc": { "start": { "line": 118, "column": 51 }, "end": { "line": 118, "column": 54 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." } ] }, "property": { "type": "Identifier", "start": 6656, "end": 6660, "loc": { "start": { "line": 118, "column": 56 }, "end": { "line": 118, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6661, "end": 6663, "loc": { "start": { "line": 118, "column": 61 }, "end": { "line": 118, "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": 6489, "end": 6598, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 117, "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": 6673, "end": 6818, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 122, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 6824, "end": 6849, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 6824, "end": 6848, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 6824, "end": 6843, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6824, "end": 6828, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6829, "end": 6843, "loc": { "start": { "line": 123, "column": 9 }, "end": { "line": 123, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 6846, "end": 6848, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "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": 6673, "end": 6818, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 122, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6857, "end": 6896, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ] }, { "type": "IfStatement", "start": 6902, "end": 7081, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 133, "column": 5 } }, "test": { "type": "MemberExpression", "start": 6905, "end": 6921, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 23 } }, "object": { "type": "ThisExpression", "start": 6905, "end": 6909, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6910, "end": 6921, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 23 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 6930, "end": 6944, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 20 } }, "expression": { "type": "CallExpression", "start": 6930, "end": 6943, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 6930, "end": 6941, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 17 } }, "object": { "type": "ThisExpression", "start": 6930, "end": 6934, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 10 } } }, "property": { "type": "Identifier", "start": 6935, "end": 6941, "loc": { "start": { "line": 129, "column": 11 }, "end": { "line": 129, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, "alternate": { "type": "BlockStatement", "start": 6955, "end": 7081, "loc": { "start": { "line": 130, "column": 9 }, "end": { "line": 133, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6964, "end": 7028, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 70 } }, "expression": { "type": "CallExpression", "start": 6964, "end": 7027, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6964, "end": 6976, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 18 } }, "object": { "type": "Identifier", "start": 6964, "end": 6971, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6972, "end": 6976, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 6977, "end": 7026, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 68 } }, "expressions": [ { "type": "Identifier", "start": 6981, "end": 6997, "loc": { "start": { "line": 131, "column": 23 }, "end": { "line": 131, "column": 39 }, "identifierName": "keyboardDOMQuery" }, "name": "keyboardDOMQuery" } ], "quasis": [ { "type": "TemplateElement", "start": 6978, "end": 6979, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 21 } }, "value": { "raw": "\"", "cooked": "\"" }, "tail": false }, { "type": "TemplateElement", "start": 6998, "end": 7025, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 67 } }, "value": { "raw": "\" was not found in the DOM.", "cooked": "\" was not found in the DOM." }, "tail": true } ] } ] } }, { "type": "ThrowStatement", "start": 7036, "end": 7074, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 44 } }, "argument": { "type": "NewExpression", "start": 7042, "end": 7073, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 43 } }, "callee": { "type": "Identifier", "start": 7046, "end": 7051, "loc": { "start": { "line": 132, "column": 16 }, "end": { "line": 132, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 7052, "end": 7072, "loc": { "start": { "line": 132, "column": 22 }, "end": { "line": 132, "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": 6857, "end": 6896, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 7089, "end": 7202, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7208, "end": 7293, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 140, "column": 45 } }, "test": { "type": "UnaryExpression", "start": 7211, "end": 7245, "loc": { "start": { "line": 139, "column": 7 }, "end": { "line": 139, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7212, "end": 7245, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 41 } }, "object": { "type": "Identifier", "start": 7212, "end": 7218, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "StringLiteral", "start": 7219, "end": 7244, "loc": { "start": { "line": 139, "column": 15 }, "end": { "line": 139, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 7254, "end": 7293, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 7254, "end": 7292, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7254, "end": 7287, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 39 } }, "object": { "type": "Identifier", "start": 7254, "end": 7260, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 12 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7261, "end": 7286, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 38 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 7290, "end": 7292, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "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": 7089, "end": 7202, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7307, "end": 7397, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 94 } }, "expression": { "type": "AssignmentExpression", "start": 7307, "end": 7396, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7307, "end": 7389, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 86 } }, "object": { "type": "MemberExpression", "start": 7307, "end": 7340, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 37 } }, "object": { "type": "Identifier", "start": 7307, "end": 7313, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 10 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 7314, "end": 7339, "loc": { "start": { "line": 142, "column": 11 }, "end": { "line": 142, "column": 36 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "CallExpression", "start": 7341, "end": 7388, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 7341, "end": 7365, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 62 } }, "object": { "type": "MemberExpression", "start": 7341, "end": 7355, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 52 } }, "object": { "type": "ThisExpression", "start": 7341, "end": 7345, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 42 } } }, "property": { "type": "Identifier", "start": 7346, "end": 7355, "loc": { "start": { "line": 142, "column": 43 }, "end": { "line": 142, "column": 52 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 7356, "end": 7365, "loc": { "start": { "line": 142, "column": 53 }, "end": { "line": 142, "column": 62 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 7366, "end": 7387, "loc": { "start": { "line": 142, "column": 63 }, "end": { "line": 142, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7366, "end": 7370, "loc": { "start": { "line": 142, "column": 63 }, "end": { "line": 142, "column": 67 } } }, "property": { "type": "Identifier", "start": 7371, "end": 7387, "loc": { "start": { "line": 142, "column": 68 }, "end": { "line": 142, "column": 84 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] }, "computed": true }, "right": { "type": "ThisExpression", "start": 7392, "end": 7396, "loc": { "start": { "line": 142, "column": 89 }, "end": { "line": 142, "column": 93 } } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7405, "end": 7451, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7457, "end": 7517, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 7457, "end": 7516, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7457, "end": 7487, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 34 } }, "object": { "type": "ThisExpression", "start": 7457, "end": 7461, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7462, "end": 7487, "loc": { "start": { "line": 147, "column": 9 }, "end": { "line": 147, "column": 34 }, "identifierName": "physicalKeyboardInterface" }, "name": "physicalKeyboardInterface" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 7490, "end": 7516, "loc": { "start": { "line": 147, "column": 37 }, "end": { "line": 147, "column": 63 } }, "callee": { "type": "Identifier", "start": 7494, "end": 7510, "loc": { "start": { "line": 147, "column": 41 }, "end": { "line": 147, "column": 57 }, "identifierName": "PhysicalKeyboard" }, "name": "PhysicalKeyboard" }, "arguments": [ { "type": "ThisExpression", "start": 7511, "end": 7515, "loc": { "start": { "line": 147, "column": 58 }, "end": { "line": 147, "column": 62 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7405, "end": 7451, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7525, "end": 7553, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 151, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7559, "end": 7577, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 7559, "end": 7576, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 7559, "end": 7571, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 16 } }, "object": { "type": "ThisExpression", "start": 7559, "end": 7563, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7564, "end": 7571, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 16 }, "identifierName": "modules" }, "name": "modules" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 7574, "end": 7576, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 21 } }, "properties": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7525, "end": 7553, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 151, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 7583, "end": 7602, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 23 } }, "expression": { "type": "CallExpression", "start": 7583, "end": 7601, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 7583, "end": 7599, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 20 } }, "object": { "type": "ThisExpression", "start": 7583, "end": 7587, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 8 } } }, "property": { "type": "Identifier", "start": 7588, "end": 7599, "loc": { "start": { "line": 153, "column": 9 }, "end": { "line": 153, "column": 20 }, "identifierName": "loadModules" }, "name": "loadModules" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of SimpleKeyboard\r\n * @param {Array} params If first parameter is a string, it is considered the container class. The second parameter is then considered the options object. If first parameter is an object, it is considered the options object.\r\n ", "start": 393, "end": 675, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 19, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7613, "end": 7725, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 159, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 7729, "end": 9251, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 214, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7729, "end": 7748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 160, "column": 21 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7749, "end": 7755, "loc": { "start": { "line": 160, "column": 22 }, "end": { "line": 160, "column": 28 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 7756, "end": 9251, "loc": { "start": { "line": 160, "column": 29 }, "end": { "line": 214, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 7763, "end": 7794, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 161, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7767, "end": 7793, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 34 } }, "id": { "type": "Identifier", "start": 7767, "end": 7772, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 13 }, "identifierName": "debug" }, "name": "debug" }, "init": { "type": "MemberExpression", "start": 7775, "end": 7793, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 34 } }, "object": { "type": "MemberExpression", "start": 7775, "end": 7787, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 28 } }, "object": { "type": "ThisExpression", "start": 7775, "end": 7779, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 20 } } }, "property": { "type": "Identifier", "start": 7780, "end": 7787, "loc": { "start": { "line": 161, "column": 21 }, "end": { "line": 161, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 7788, "end": 7793, "loc": { "start": { "line": 161, "column": 29 }, "end": { "line": 161, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7802, "end": 7851, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7857, "end": 7899, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 167, "column": 19 } }, "test": { "type": "BinaryExpression", "start": 7860, "end": 7877, "loc": { "start": { "line": 166, "column": 7 }, "end": { "line": 166, "column": 24 } }, "left": { "type": "Identifier", "start": 7860, "end": 7866, "loc": { "start": { "line": 166, "column": 7 }, "end": { "line": 166, "column": 13 }, "identifierName": "button" }, "name": "button", "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7871, "end": 7877, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 24 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "leadingComments": null }, "consequent": { "type": "ReturnStatement", "start": 7886, "end": 7899, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 7893, "end": 7898, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 } }, "value": false }, "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7802, "end": 7851, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7907, "end": 7946, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 171, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7952, "end": 8041, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 173, "column": 38 } }, "test": { "type": "BinaryExpression", "start": 7955, "end": 8000, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 7955, "end": 7985, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 7962, "end": 7985, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 37 } }, "object": { "type": "MemberExpression", "start": 7962, "end": 7974, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 26 } }, "object": { "type": "ThisExpression", "start": 7962, "end": 7966, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 18 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 7967, "end": 7974, "loc": { "start": { "line": 172, "column": 19 }, "end": { "line": 172, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7975, "end": 7985, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 37 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7990, "end": 8000, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8009, "end": 8041, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 38 } }, "expression": { "type": "CallExpression", "start": 8009, "end": 8040, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 8009, "end": 8032, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 29 } }, "object": { "type": "MemberExpression", "start": 8009, "end": 8021, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 18 } }, "object": { "type": "ThisExpression", "start": 8009, "end": 8013, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 10 } } }, "property": { "type": "Identifier", "start": 8014, "end": 8021, "loc": { "start": { "line": 173, "column": 11 }, "end": { "line": 173, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8022, "end": 8032, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 29 }, "identifierName": "onKeyPress" }, "name": "onKeyPress" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8033, "end": 8039, "loc": { "start": { "line": 173, "column": 30 }, "end": { "line": 173, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7907, "end": 7946, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 171, "column": 7 } } } ] }, { "type": "IfStatement", "start": 8053, "end": 8140, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 176, "column": 46 } }, "test": { "type": "UnaryExpression", "start": 8056, "end": 8091, "loc": { "start": { "line": 175, "column": 7 }, "end": { "line": 175, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 8057, "end": 8091, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 42 } }, "object": { "type": "MemberExpression", "start": 8057, "end": 8067, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 18 } }, "object": { "type": "ThisExpression", "start": 8057, "end": 8061, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 12 } } }, "property": { "type": "Identifier", "start": 8062, "end": 8067, "loc": { "start": { "line": 175, "column": 13 }, "end": { "line": 175, "column": 18 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8068, "end": 8090, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8068, "end": 8080, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8068, "end": 8072, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 23 } } }, "property": { "type": "Identifier", "start": 8073, "end": 8080, "loc": { "start": { "line": 175, "column": 24 }, "end": { "line": 175, "column": 31 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8081, "end": 8090, "loc": { "start": { "line": 175, "column": 32 }, "end": { "line": 175, "column": 41 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 8100, "end": 8140, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 8100, "end": 8139, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 45 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8100, "end": 8134, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8100, "end": 8110, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8100, "end": 8104, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 10 } } }, "property": { "type": "Identifier", "start": 8105, "end": 8110, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8111, "end": 8133, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8111, "end": 8123, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8111, "end": 8115, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 21 } } }, "property": { "type": "Identifier", "start": 8116, "end": 8123, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8124, "end": 8133, "loc": { "start": { "line": 176, "column": 30 }, "end": { "line": 176, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "StringLiteral", "start": 8137, "end": 8139, "loc": { "start": { "line": 176, "column": 43 }, "end": { "line": 176, "column": 45 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 8148, "end": 8290, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 180, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8152, "end": 8289, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 180, "column": 5 } }, "id": { "type": "Identifier", "start": 8152, "end": 8164, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 20 }, "identifierName": "updatedInput" }, "name": "updatedInput" }, "init": { "type": "CallExpression", "start": 8167, "end": 8289, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 180, "column": 5 } }, "callee": { "type": "MemberExpression", "start": 8167, "end": 8197, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 53 } }, "object": { "type": "MemberExpression", "start": 8167, "end": 8181, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 37 } }, "object": { "type": "ThisExpression", "start": 8167, "end": 8171, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 27 } } }, "property": { "type": "Identifier", "start": 8172, "end": 8181, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 37 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8182, "end": 8197, "loc": { "start": { "line": 178, "column": 38 }, "end": { "line": 178, "column": 53 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8206, "end": 8212, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 12 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 8214, "end": 8248, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 48 } }, "object": { "type": "MemberExpression", "start": 8214, "end": 8224, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 24 } }, "object": { "type": "ThisExpression", "start": 8214, "end": 8218, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 18 } } }, "property": { "type": "Identifier", "start": 8219, "end": 8224, "loc": { "start": { "line": 179, "column": 19 }, "end": { "line": 179, "column": 24 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8225, "end": 8247, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 47 } }, "object": { "type": "MemberExpression", "start": 8225, "end": 8237, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 37 } }, "object": { "type": "ThisExpression", "start": 8225, "end": 8229, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 29 } } }, "property": { "type": "Identifier", "start": 8230, "end": 8237, "loc": { "start": { "line": 179, "column": 30 }, "end": { "line": 179, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8238, "end": 8247, "loc": { "start": { "line": 179, "column": 38 }, "end": { "line": 179, "column": 47 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8250, "end": 8262, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 62 } }, "object": { "type": "ThisExpression", "start": 8250, "end": 8254, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 54 } } }, "property": { "type": "Identifier", "start": 8255, "end": 8262, "loc": { "start": { "line": 179, "column": 55 }, "end": { "line": 179, "column": 62 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8264, "end": 8282, "loc": { "start": { "line": 179, "column": 64 }, "end": { "line": 179, "column": 82 } }, "object": { "type": "ThisExpression", "start": 8264, "end": 8268, "loc": { "start": { "line": 179, "column": 64 }, "end": { "line": 179, "column": 68 } } }, "property": { "type": "Identifier", "start": 8269, "end": 8282, "loc": { "start": { "line": 179, "column": 69 }, "end": { "line": 179, "column": 82 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 8298, "end": 9173, "loc": { "start": { "line": 182, "column": 4 }, "end": { "line": 209, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8301, "end": 8352, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 58 } }, "left": { "type": "MemberExpression", "start": 8301, "end": 8335, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 41 } }, "object": { "type": "MemberExpression", "start": 8301, "end": 8311, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 17 } }, "object": { "type": "ThisExpression", "start": 8301, "end": 8305, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 11 } } }, "property": { "type": "Identifier", "start": 8306, "end": 8311, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 17 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8312, "end": 8334, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8312, "end": 8324, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 30 } }, "object": { "type": "ThisExpression", "start": 8312, "end": 8316, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 22 } } }, "property": { "type": "Identifier", "start": 8317, "end": 8324, "loc": { "start": { "line": 182, "column": 23 }, "end": { "line": 182, "column": 30 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8325, "end": 8334, "loc": { "start": { "line": 182, "column": 31 }, "end": { "line": 182, "column": 40 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "operator": "!==", "right": { "type": "Identifier", "start": 8340, "end": 8352, "loc": { "start": { "line": 182, "column": 46 }, "end": { "line": 182, "column": 58 }, "identifierName": "updatedInput" }, "name": "updatedInput" } }, "consequent": { "type": "BlockStatement", "start": 8353, "end": 9173, "loc": { "start": { "line": 182, "column": 59 }, "end": { "line": 209, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8449, "end": 8582, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 189, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 8452, "end": 8548, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 105 } }, "left": { "type": "MemberExpression", "start": 8452, "end": 8474, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 31 } }, "object": { "type": "MemberExpression", "start": 8452, "end": 8464, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8452, "end": 8456, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8457, "end": 8464, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8465, "end": 8474, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 31 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 8478, "end": 8548, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 8478, "end": 8508, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 65 } }, "object": { "type": "MemberExpression", "start": 8478, "end": 8492, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 49 } }, "object": { "type": "ThisExpression", "start": 8478, "end": 8482, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 39 } } }, "property": { "type": "Identifier", "start": 8483, "end": 8492, "loc": { "start": { "line": 187, "column": 40 }, "end": { "line": 187, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8493, "end": 8508, "loc": { "start": { "line": 187, "column": 50 }, "end": { "line": 187, "column": 65 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8509, "end": 8519, "loc": { "start": { "line": 187, "column": 66 }, "end": { "line": 187, "column": 76 } }, "object": { "type": "ThisExpression", "start": 8509, "end": 8513, "loc": { "start": { "line": 187, "column": 66 }, "end": { "line": 187, "column": 70 } } }, "property": { "type": "Identifier", "start": 8514, "end": 8519, "loc": { "start": { "line": 187, "column": 71 }, "end": { "line": 187, "column": 76 }, "identifierName": "input" }, "name": "input" }, "computed": false }, { "type": "MemberExpression", "start": 8521, "end": 8533, "loc": { "start": { "line": 187, "column": 78 }, "end": { "line": 187, "column": 90 } }, "object": { "type": "ThisExpression", "start": 8521, "end": 8525, "loc": { "start": { "line": 187, "column": 78 }, "end": { "line": 187, "column": 82 } } }, "property": { "type": "Identifier", "start": 8526, "end": 8533, "loc": { "start": { "line": 187, "column": 83 }, "end": { "line": 187, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 8535, "end": 8547, "loc": { "start": { "line": 187, "column": 92 }, "end": { "line": 187, "column": 104 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ] }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 8549, "end": 8582, "loc": { "start": { "line": 187, "column": 106 }, "end": { "line": 189, "column": 7 } }, "body": [ { "type": "ReturnStatement", "start": 8560, "end": 8573, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8567, "end": 8572, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8364, "end": 8441, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 186, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 8592, "end": 8763, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 193, "column": 8 } }, "expression": { "type": "AssignmentExpression", "start": 8592, "end": 8762, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 193, "column": 7 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8592, "end": 8626, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8592, "end": 8602, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 16 } }, "object": { "type": "ThisExpression", "start": 8592, "end": 8596, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 10 } } }, "property": { "type": "Identifier", "start": 8597, "end": 8602, "loc": { "start": { "line": 191, "column": 11 }, "end": { "line": 191, "column": 16 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8603, "end": 8625, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 39 } }, "object": { "type": "MemberExpression", "start": 8603, "end": 8615, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8603, "end": 8607, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 21 } } }, "property": { "type": "Identifier", "start": 8608, "end": 8615, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8616, "end": 8625, "loc": { "start": { "line": 191, "column": 30 }, "end": { "line": 191, "column": 39 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, "right": { "type": "CallExpression", "start": 8630, "end": 8762, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 193, "column": 7 } }, "callee": { "type": "MemberExpression", "start": 8630, "end": 8660, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 74 } }, "object": { "type": "MemberExpression", "start": 8630, "end": 8644, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 58 } }, "object": { "type": "ThisExpression", "start": 8630, "end": 8634, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 48 } } }, "property": { "type": "Identifier", "start": 8635, "end": 8644, "loc": { "start": { "line": 191, "column": 49 }, "end": { "line": 191, "column": 58 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 8645, "end": 8660, "loc": { "start": { "line": 191, "column": 59 }, "end": { "line": 191, "column": 74 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8671, "end": 8677, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 14 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 8679, "end": 8713, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 50 } }, "object": { "type": "MemberExpression", "start": 8679, "end": 8689, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8679, "end": 8683, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 20 } } }, "property": { "type": "Identifier", "start": 8684, "end": 8689, "loc": { "start": { "line": 192, "column": 21 }, "end": { "line": 192, "column": 26 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 8690, "end": 8712, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 49 } }, "object": { "type": "MemberExpression", "start": 8690, "end": 8702, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 39 } }, "object": { "type": "ThisExpression", "start": 8690, "end": 8694, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 31 } } }, "property": { "type": "Identifier", "start": 8695, "end": 8702, "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 192, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 8703, "end": 8712, "loc": { "start": { "line": 192, "column": 40 }, "end": { "line": 192, "column": 49 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true }, { "type": "MemberExpression", "start": 8715, "end": 8727, "loc": { "start": { "line": 192, "column": 52 }, "end": { "line": 192, "column": 64 } }, "object": { "type": "ThisExpression", "start": 8715, "end": 8719, "loc": { "start": { "line": 192, "column": 52 }, "end": { "line": 192, "column": 56 } } }, "property": { "type": "Identifier", "start": 8720, "end": 8727, "loc": { "start": { "line": 192, "column": 57 }, "end": { "line": 192, "column": 64 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "MemberExpression", "start": 8729, "end": 8747, "loc": { "start": { "line": 192, "column": 66 }, "end": { "line": 192, "column": 84 } }, "object": { "type": "ThisExpression", "start": 8729, "end": 8733, "loc": { "start": { "line": 192, "column": 66 }, "end": { "line": 192, "column": 70 } } }, "property": { "type": "Identifier", "start": 8734, "end": 8747, "loc": { "start": { "line": 192, "column": 71 }, "end": { "line": 192, "column": 84 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, { "type": "BooleanLiteral", "start": 8749, "end": 8753, "loc": { "start": { "line": 192, "column": 86 }, "end": { "line": 192, "column": 90 } }, "value": true } ] } } }, { "type": "IfStatement", "start": 8773, "end": 8834, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 196, "column": 50 } }, "test": { "type": "Identifier", "start": 8776, "end": 8781, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 14 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "ExpressionStatement", "start": 8792, "end": 8834, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 50 } }, "expression": { "type": "CallExpression", "start": 8792, "end": 8833, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 8792, "end": 8803, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 19 } }, "object": { "type": "Identifier", "start": 8792, "end": 8799, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8800, "end": 8803, "loc": { "start": { "line": 196, "column": 16 }, "end": { "line": 196, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8804, "end": 8820, "loc": { "start": { "line": 196, "column": 20 }, "end": { "line": 196, "column": 36 } }, "extra": { "rawValue": "Input changed:", "raw": "'Input changed:'" }, "value": "Input changed:" }, { "type": "MemberExpression", "start": 8822, "end": 8832, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 48 } }, "object": { "type": "ThisExpression", "start": 8822, "end": 8826, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 42 } } }, "property": { "type": "Identifier", "start": 8827, "end": 8832, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "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": 8844, "end": 8903, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ] }, { "type": "IfStatement", "start": 8911, "end": 8992, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 202, "column": 44 } }, "test": { "type": "MemberExpression", "start": 8914, "end": 8945, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8914, "end": 8926, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 21 } }, "object": { "type": "ThisExpression", "start": 8914, "end": 8918, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 13 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8919, "end": 8926, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 8927, "end": 8945, "loc": { "start": { "line": 201, "column": 22 }, "end": { "line": 201, "column": 40 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 8956, "end": 8992, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 44 } }, "expression": { "type": "CallExpression", "start": 8956, "end": 8991, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 8956, "end": 8979, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 31 } }, "object": { "type": "ThisExpression", "start": 8956, "end": 8960, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, "property": { "type": "Identifier", "start": 8961, "end": 8979, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "column": 31 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 8980, "end": 8990, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8980, "end": 8984, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 36 } } }, "property": { "type": "Identifier", "start": 8985, "end": 8990, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "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": 8844, "end": 8903, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 9002, "end": 9043, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 206, "column": 9 } } } ] }, { "type": "IfStatement", "start": 9051, "end": 9166, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 208, "column": 66 } }, "test": { "type": "BinaryExpression", "start": 9054, "end": 9097, "loc": { "start": { "line": 207, "column": 9 }, "end": { "line": 207, "column": 52 } }, "left": { "type": "UnaryExpression", "start": 9054, "end": 9082, "loc": { "start": { "line": 207, "column": 9 }, "end": { "line": 207, "column": 37 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 9061, "end": 9082, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 37 } }, "object": { "type": "MemberExpression", "start": 9061, "end": 9073, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 28 } }, "object": { "type": "ThisExpression", "start": 9061, "end": 9065, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 20 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9066, "end": 9073, "loc": { "start": { "line": 207, "column": 21 }, "end": { "line": 207, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 9074, "end": 9082, "loc": { "start": { "line": 207, "column": 29 }, "end": { "line": 207, "column": 37 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 9087, "end": 9097, "loc": { "start": { "line": 207, "column": 42 }, "end": { "line": 207, "column": 52 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 9108, "end": 9166, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 66 } }, "expression": { "type": "CallExpression", "start": 9108, "end": 9165, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 9108, "end": 9129, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 29 } }, "object": { "type": "MemberExpression", "start": 9108, "end": 9120, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9108, "end": 9112, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 12 } } }, "property": { "type": "Identifier", "start": 9113, "end": 9120, "loc": { "start": { "line": 208, "column": 13 }, "end": { "line": 208, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9121, "end": 9129, "loc": { "start": { "line": 208, "column": 21 }, "end": { "line": 208, "column": 29 }, "identifierName": "onChange" }, "name": "onChange" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 9130, "end": 9164, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 64 } }, "object": { "type": "MemberExpression", "start": 9130, "end": 9140, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 40 } }, "object": { "type": "ThisExpression", "start": 9130, "end": 9134, "loc": { "start": { "line": 208, "column": 30 }, "end": { "line": 208, "column": 34 } } }, "property": { "type": "Identifier", "start": 9135, "end": 9140, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 9141, "end": 9163, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 63 } }, "object": { "type": "MemberExpression", "start": 9141, "end": 9153, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 53 } }, "object": { "type": "ThisExpression", "start": 9141, "end": 9145, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 45 } } }, "property": { "type": "Identifier", "start": 9146, "end": 9153, "loc": { "start": { "line": 208, "column": 46 }, "end": { "line": 208, "column": 53 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 9154, "end": 9163, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 63 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 9002, "end": 9043, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 206, "column": 9 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 9185, "end": 9246, "loc": { "start": { "line": 211, "column": 4 }, "end": { "line": 213, "column": 5 } }, "test": { "type": "Identifier", "start": 9188, "end": 9193, "loc": { "start": { "line": 211, "column": 7 }, "end": { "line": 211, "column": 12 }, "identifierName": "debug" }, "name": "debug" }, "consequent": { "type": "BlockStatement", "start": 9194, "end": 9246, "loc": { "start": { "line": 211, "column": 13 }, "end": { "line": 213, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9203, "end": 9239, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 42 } }, "expression": { "type": "CallExpression", "start": 9203, "end": 9238, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 9203, "end": 9214, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 17 } }, "object": { "type": "Identifier", "start": 9203, "end": 9210, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9211, "end": 9214, "loc": { "start": { "line": 212, "column": 14 }, "end": { "line": 212, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9215, "end": 9229, "loc": { "start": { "line": 212, "column": 18 }, "end": { "line": 212, "column": 32 } }, "extra": { "rawValue": "Key pressed:", "raw": "\"Key pressed:\"" }, "value": "Key pressed:" }, { "type": "Identifier", "start": 9231, "end": 9237, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 40 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles clicks made to keyboard buttons\r\n * @param {string} button The button's layout name.\r\n ", "start": 7613, "end": 7725, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 159, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9257, "end": 9298, "loc": { "start": { "line": 216, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9302, "end": 9328, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 9332, "end": 10191, "loc": { "start": { "line": 220, "column": 2 }, "end": { "line": 252, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9332, "end": 9353, "loc": { "start": { "line": 220, "column": 2 }, "end": { "line": 220, "column": 23 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9354, "end": 9360, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 9362, "end": 9363, "loc": { "start": { "line": 220, "column": 32 }, "end": { "line": 220, "column": 33 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 9364, "end": 10191, "loc": { "start": { "line": 220, "column": 34 }, "end": { "line": 252, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 9456, "end": 9480, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 9456, "end": 9479, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9456, "end": 9472, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9456, "end": 9460, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9461, "end": 9472, "loc": { "start": { "line": 224, "column": 9 }, "end": { "line": 224, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 9475, "end": 9479, "loc": { "start": { "line": 224, "column": 23 }, "end": { "line": 224, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9371, "end": 9450, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 223, "column": 7 } } } ] }, { "type": "IfStatement", "start": 9488, "end": 9569, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 227, "column": 48 } }, "test": { "type": "MemberExpression", "start": 9491, "end": 9518, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 226, "column": 34 } }, "object": { "type": "ThisExpression", "start": 9491, "end": 9495, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 226, "column": 11 } } }, "property": { "type": "Identifier", "start": 9496, "end": 9518, "loc": { "start": { "line": 226, "column": 12 }, "end": { "line": 226, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9527, "end": 9569, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 48 } }, "expression": { "type": "CallExpression", "start": 9527, "end": 9568, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 47 } }, "callee": { "type": "Identifier", "start": 9527, "end": 9539, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9540, "end": 9567, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 227, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9540, "end": 9544, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 227, "column": 23 } } }, "property": { "type": "Identifier", "start": 9545, "end": 9567, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null }, { "type": "IfStatement", "start": 9577, "end": 9636, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 230, "column": 37 } }, "test": { "type": "MemberExpression", "start": 9580, "end": 9596, "loc": { "start": { "line": 229, "column": 7 }, "end": { "line": 229, "column": 23 } }, "object": { "type": "ThisExpression", "start": 9580, "end": 9584, "loc": { "start": { "line": 229, "column": 7 }, "end": { "line": 229, "column": 11 } } }, "property": { "type": "Identifier", "start": 9585, "end": 9596, "loc": { "start": { "line": 229, "column": 12 }, "end": { "line": 229, "column": 23 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 9605, "end": 9636, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 37 } }, "expression": { "type": "CallExpression", "start": 9605, "end": 9635, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 36 } }, "callee": { "type": "Identifier", "start": 9605, "end": 9617, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 9618, "end": 9634, "loc": { "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 35 } }, "object": { "type": "ThisExpression", "start": 9618, "end": 9622, "loc": { "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 23 } } }, "property": { "type": "Identifier", "start": 9623, "end": 9634, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9644, "end": 9721, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 9727, "end": 10186, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 251, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 9727, "end": 10185, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 251, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9727, "end": 9743, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 20 } }, "object": { "type": "ThisExpression", "start": 9727, "end": 9731, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 9732, "end": 9743, "loc": { "start": { "line": 235, "column": 9 }, "end": { "line": 235, "column": 20 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 9746, "end": 10185, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 251, "column": 11 } }, "callee": { "type": "Identifier", "start": 9746, "end": 9756, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 235, "column": 33 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9757, "end": 10179, "loc": { "start": { "line": 235, "column": 34 }, "end": { "line": 251, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9763, "end": 10179, "loc": { "start": { "line": 235, "column": 40 }, "end": { "line": 251, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9772, "end": 10133, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 249, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 9785, "end": 9989, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 243, "column": 9 } }, "left": { "type": "MemberExpression", "start": 9785, "end": 9801, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 24 } }, "object": { "type": "ThisExpression", "start": 9785, "end": 9789, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 12 } } }, "property": { "type": "Identifier", "start": 9790, "end": 9801, "loc": { "start": { "line": 237, "column": 13 }, "end": { "line": 237, "column": 24 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "operator": "&&", "right": { "type": "LogicalExpression", "start": 9828, "end": 9978, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 242, "column": 28 } }, "left": { "type": "LogicalExpression", "start": 9828, "end": 9945, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 241, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 9828, "end": 9910, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 240, "column": 29 } }, "left": { "type": "LogicalExpression", "start": 9829, "end": 9875, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 9829, "end": 9850, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9830, "end": 9850, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 9830, "end": 9845, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 27 } }, "object": { "type": "Identifier", "start": 9830, "end": 9836, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9837, "end": 9845, "loc": { "start": { "line": 239, "column": 19 }, "end": { "line": 239, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9846, "end": 9849, "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 31 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 9854, "end": 9875, "loc": { "start": { "line": 239, "column": 36 }, "end": { "line": 239, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 9855, "end": 9875, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9855, "end": 9870, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 52 } }, "object": { "type": "Identifier", "start": 9855, "end": 9861, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 43 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 9862, "end": 9870, "loc": { "start": { "line": 239, "column": 44 }, "end": { "line": 239, "column": 52 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9871, "end": 9874, "loc": { "start": { "line": 239, "column": 53 }, "end": { "line": 239, "column": 56 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } }, "extra": { "parenthesized": true, "parenStart": 9828 } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9891, "end": 9910, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 29 } }, "left": { "type": "Identifier", "start": 9891, "end": 9897, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9902, "end": 9910, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 29 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9925, "end": 9945, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 30 } }, "left": { "type": "Identifier", "start": 9925, "end": 9931, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9936, "end": 9945, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 30 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 9960, "end": 9978, "loc": { "start": { "line": 242, "column": 10 }, "end": { "line": 242, "column": 28 } }, "left": { "type": "Identifier", "start": 9960, "end": 9966, "loc": { "start": { "line": 242, "column": 10 }, "end": { "line": 242, "column": 16 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9971, "end": 9978, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 28 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "extra": { "parenthesized": true, "parenStart": 9815 } } }, "consequent": { "type": "BlockStatement", "start": 9998, "end": 10133, "loc": { "start": { "line": 244, "column": 7 }, "end": { "line": 249, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 10009, "end": 10079, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 246, "column": 46 } }, "test": { "type": "MemberExpression", "start": 10012, "end": 10030, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 29 } }, "object": { "type": "MemberExpression", "start": 10012, "end": 10024, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 23 } }, "object": { "type": "ThisExpression", "start": 10012, "end": 10016, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 15 } } }, "property": { "type": "Identifier", "start": 10017, "end": 10024, "loc": { "start": { "line": 245, "column": 16 }, "end": { "line": 245, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 10025, "end": 10030, "loc": { "start": { "line": 245, "column": 24 }, "end": { "line": 245, "column": 29 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10043, "end": 10079, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 46 } }, "expression": { "type": "CallExpression", "start": 10043, "end": 10078, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 10043, "end": 10054, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 21 } }, "object": { "type": "Identifier", "start": 10043, "end": 10050, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10051, "end": 10054, "loc": { "start": { "line": 246, "column": 18 }, "end": { "line": 246, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10055, "end": 10069, "loc": { "start": { "line": 246, "column": 22 }, "end": { "line": 246, "column": 36 } }, "extra": { "rawValue": "Button held:", "raw": "\"Button held:\"" }, "value": "Button held:" }, { "type": "Identifier", "start": 10071, "end": 10077, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 44 }, "identifierName": "button" }, "name": "button" } ] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 10091, "end": 10124, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 41 } }, "expression": { "type": "CallExpression", "start": 10091, "end": 10123, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 10091, "end": 10112, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10091, "end": 10095, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, "property": { "type": "Identifier", "start": 10096, "end": 10112, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10113, "end": 10119, "loc": { "start": { "line": 248, "column": 30 }, "end": { "line": 248, "column": 36 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 10121, "end": 10122, "loc": { "start": { "line": 248, "column": 38 }, "end": { "line": 248, "column": 39 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 10141, "end": 10172, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 37 } }, "expression": { "type": "CallExpression", "start": 10141, "end": 10171, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 36 } }, "callee": { "type": "Identifier", "start": 10141, "end": 10153, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10154, "end": 10170, "loc": { "start": { "line": 250, "column": 19 }, "end": { "line": 250, "column": 35 } }, "object": { "type": "ThisExpression", "start": 10154, "end": 10158, "loc": { "start": { "line": 250, "column": 19 }, "end": { "line": 250, "column": 23 } } }, "property": { "type": "Identifier", "start": 10159, "end": 10170, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 35 }, "identifierName": "holdTimeout" }, "name": "holdTimeout" }, "computed": false } ] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10181, "end": 10184, "loc": { "start": { "line": 251, "column": 7 }, "end": { "line": 251, "column": 10 } }, "extra": { "rawValue": 500, "raw": "500" }, "value": 500 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9644, "end": 9721, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9257, "end": 9298, "loc": { "start": { "line": 216, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9302, "end": 9328, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 10197, "end": 10236, "loc": { "start": { "line": 254, "column": 2 }, "end": { "line": 256, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 10240, "end": 10385, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 261, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10240, "end": 10259, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 257, "column": 21 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10261, "end": 10385, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 261, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 10268, "end": 10293, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 10268, "end": 10292, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10268, "end": 10284, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 20 } }, "object": { "type": "ThisExpression", "start": 10268, "end": 10272, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 8 } } }, "property": { "type": "Identifier", "start": 10273, "end": 10284, "loc": { "start": { "line": 258, "column": 9 }, "end": { "line": 258, "column": 20 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 10287, "end": 10292, "loc": { "start": { "line": 258, "column": 23 }, "end": { "line": 258, "column": 28 } }, "value": false } } }, { "type": "IfStatement", "start": 10299, "end": 10380, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 260, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10302, "end": 10329, "loc": { "start": { "line": 259, "column": 7 }, "end": { "line": 259, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10302, "end": 10306, "loc": { "start": { "line": 259, "column": 7 }, "end": { "line": 259, "column": 11 } } }, "property": { "type": "Identifier", "start": 10307, "end": 10329, "loc": { "start": { "line": 259, "column": 12 }, "end": { "line": 259, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10338, "end": 10380, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10338, "end": 10379, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 47 } }, "callee": { "type": "Identifier", "start": 10338, "end": 10350, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10351, "end": 10378, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10351, "end": 10355, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 23 } } }, "property": { "type": "Identifier", "start": 10356, "end": 10378, "loc": { "start": { "line": 260, "column": 24 }, "end": { "line": 260, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 10197, "end": 10236, "loc": { "start": { "line": 254, "column": 2 }, "end": { "line": 256, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10391, "end": 10427, "loc": { "start": { "line": 263, "column": 2 }, "end": { "line": 265, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10431, "end": 10457, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 10461, "end": 10929, "loc": { "start": { "line": 267, "column": 2 }, "end": { "line": 282, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10461, "end": 10477, "loc": { "start": { "line": 267, "column": 2 }, "end": { "line": 267, "column": 18 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10478, "end": 10484, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 10485, "end": 10929, "loc": { "start": { "line": 267, "column": 26 }, "end": { "line": 282, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 10492, "end": 10573, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 269, "column": 48 } }, "test": { "type": "MemberExpression", "start": 10495, "end": 10522, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 34 } }, "object": { "type": "ThisExpression", "start": 10495, "end": 10499, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 11 } } }, "property": { "type": "Identifier", "start": 10500, "end": 10522, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 34 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 10531, "end": 10573, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 48 } }, "expression": { "type": "CallExpression", "start": 10531, "end": 10572, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 47 } }, "callee": { "type": "Identifier", "start": 10531, "end": 10543, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 18 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10544, "end": 10571, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 46 } }, "object": { "type": "ThisExpression", "start": 10544, "end": 10548, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 23 } } }, "property": { "type": "Identifier", "start": 10549, "end": 10571, "loc": { "start": { "line": 269, "column": 24 }, "end": { "line": 269, "column": 46 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] }, "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10581, "end": 10667, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 273, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 10673, "end": 10924, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 281, "column": 12 } }, "expression": { "type": "AssignmentExpression", "start": 10673, "end": 10923, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 281, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10673, "end": 10700, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 31 } }, "object": { "type": "ThisExpression", "start": 10673, "end": 10677, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 10678, "end": 10700, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 31 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 10703, "end": 10923, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 281, "column": 11 } }, "callee": { "type": "Identifier", "start": 10703, "end": 10713, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 274, "column": 44 }, "identifierName": "setTimeout" }, "name": "setTimeout" }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10714, "end": 10917, "loc": { "start": { "line": 274, "column": 45 }, "end": { "line": 281, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10720, "end": 10917, "loc": { "start": { "line": 274, "column": 51 }, "end": { "line": 281, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 10729, "end": 10910, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 280, "column": 7 } }, "test": { "type": "MemberExpression", "start": 10732, "end": 10748, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10732, "end": 10736, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 13 } } }, "property": { "type": "Identifier", "start": 10737, "end": 10748, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 25 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 10749, "end": 10842, "loc": { "start": { "line": 275, "column": 26 }, "end": { "line": 278, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10760, "end": 10793, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 41 } }, "expression": { "type": "CallExpression", "start": 10760, "end": 10792, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 10760, "end": 10784, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 32 } }, "object": { "type": "ThisExpression", "start": 10760, "end": 10764, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 12 } } }, "property": { "type": "Identifier", "start": 10765, "end": 10784, "loc": { "start": { "line": 276, "column": 13 }, "end": { "line": 276, "column": 32 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10785, "end": 10791, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "column": 39 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 10803, "end": 10833, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10803, "end": 10832, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10803, "end": 10824, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10803, "end": 10807, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 12 } } }, "property": { "type": "Identifier", "start": 10808, "end": 10824, "loc": { "start": { "line": 277, "column": 13 }, "end": { "line": 277, "column": 29 }, "identifierName": "handleButtonHold" }, "name": "handleButtonHold" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10825, "end": 10831, "loc": { "start": { "line": 277, "column": 30 }, "end": { "line": 277, "column": 36 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10848, "end": 10910, "loc": { "start": { "line": 278, "column": 13 }, "end": { "line": 280, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 10859, "end": 10901, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 50 } }, "expression": { "type": "CallExpression", "start": 10859, "end": 10900, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 49 } }, "callee": { "type": "Identifier", "start": 10859, "end": 10871, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 20 }, "identifierName": "clearTimeout" }, "name": "clearTimeout" }, "arguments": [ { "type": "MemberExpression", "start": 10872, "end": 10899, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 48 } }, "object": { "type": "ThisExpression", "start": 10872, "end": 10876, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 25 } } }, "property": { "type": "Identifier", "start": 10877, "end": 10899, "loc": { "start": { "line": 279, "column": 26 }, "end": { "line": 279, "column": 48 }, "identifierName": "holdInteractionTimeout" }, "name": "holdInteractionTimeout" }, "computed": false } ] } } ], "directives": [] } } ], "directives": [] } }, { "type": "NumericLiteral", "start": 10919, "end": 10922, "loc": { "start": { "line": 281, "column": 7 }, "end": { "line": 281, "column": 10 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10581, "end": 10667, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 273, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10391, "end": 10427, "loc": { "start": { "line": 263, "column": 2 }, "end": { "line": 265, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10431, "end": 10457, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10935, "end": 11032, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 286, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11036, "end": 11148, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 291, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11036, "end": 11054, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 20 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11056, "end": 11148, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 291, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11063, "end": 11143, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "column": 7 } }, "expression": { "type": "CallExpression", "start": 11063, "end": 11142, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 290, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 11063, "end": 11076, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 17 } }, "object": { "type": "ThisExpression", "start": 11063, "end": 11067, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 8 } } }, "property": { "type": "Identifier", "start": 11068, "end": 11076, "loc": { "start": { "line": 288, "column": 9 }, "end": { "line": 288, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 11077, "end": 11141, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 290, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11078, "end": 11086, "loc": { "start": { "line": 288, "column": 19 }, "end": { "line": 288, "column": 27 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 11091, "end": 11141, "loc": { "start": { "line": 288, "column": 32 }, "end": { "line": 290, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11100, "end": 11134, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 40 } }, "expression": { "type": "CallExpression", "start": 11100, "end": 11133, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 11100, "end": 11121, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 27 } }, "object": { "type": "Identifier", "start": 11100, "end": 11108, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 14 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 11109, "end": 11121, "loc": { "start": { "line": 289, "column": 15 }, "end": { "line": 289, "column": 27 }, "identifierName": "replaceInput" }, "name": "replaceInput" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11122, "end": 11132, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 38 } }, "object": { "type": "ThisExpression", "start": 11122, "end": 11126, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 32 } } }, "property": { "type": "Identifier", "start": 11127, "end": 11132, "loc": { "start": { "line": 289, "column": 33 }, "end": { "line": 289, "column": 38 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10935, "end": 11032, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 286, "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": 11156, "end": 11274, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 296, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11278, "end": 11540, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 306, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11278, "end": 11288, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 297, "column": 12 }, "identifierName": "clearInput" }, "name": "clearInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11289, "end": 11298, "loc": { "start": { "line": 297, "column": 13 }, "end": { "line": 297, "column": 22 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11299, "end": 11540, "loc": { "start": { "line": 297, "column": 23 }, "end": { "line": 306, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11306, "end": 11354, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11306, "end": 11353, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11306, "end": 11315, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11318, "end": 11353, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 51 } }, "left": { "type": "Identifier", "start": 11318, "end": 11327, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11331, "end": 11353, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11331, "end": 11343, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11331, "end": 11335, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 33 } } }, "property": { "type": "Identifier", "start": 11336, "end": 11343, "loc": { "start": { "line": 298, "column": 34 }, "end": { "line": 298, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11344, "end": 11353, "loc": { "start": { "line": 298, "column": 42 }, "end": { "line": 298, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 11360, "end": 11387, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 11360, "end": 11386, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 11360, "end": 11381, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11360, "end": 11370, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 14 } }, "object": { "type": "ThisExpression", "start": 11360, "end": 11364, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 8 } } }, "property": { "type": "Identifier", "start": 11365, "end": 11370, "loc": { "start": { "line": 299, "column": 9 }, "end": { "line": 299, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 11371, "end": 11380, "loc": { "start": { "line": 299, "column": 15 }, "end": { "line": 299, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "StringLiteral", "start": 11384, "end": 11386, "loc": { "start": { "line": 299, "column": 28 }, "end": { "line": 299, "column": 30 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11395, "end": 11450, "loc": { "start": { "line": 301, "column": 4 }, "end": { "line": 303, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11456, "end": 11535, "loc": { "start": { "line": 304, "column": 4 }, "end": { "line": 305, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11459, "end": 11490, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11459, "end": 11471, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11459, "end": 11463, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11464, "end": 11471, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11472, "end": 11490, "loc": { "start": { "line": 304, "column": 20 }, "end": { "line": 304, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11499, "end": 11535, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11499, "end": 11534, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11499, "end": 11522, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11499, "end": 11503, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 10 } } }, "property": { "type": "Identifier", "start": 11504, "end": 11522, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11523, "end": 11533, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11523, "end": 11527, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 34 } } }, "property": { "type": "Identifier", "start": 11528, "end": 11533, "loc": { "start": { "line": 305, "column": 35 }, "end": { "line": 305, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11395, "end": 11450, "loc": { "start": { "line": 301, "column": 4 }, "end": { "line": 303, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear the keyboard’s input.\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11156, "end": 11274, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 296, "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": 11546, "end": 11708, "loc": { "start": { "line": 308, "column": 2 }, "end": { "line": 311, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 11712, "end": 11989, "loc": { "start": { "line": 312, "column": 2 }, "end": { "line": 322, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11712, "end": 11720, "loc": { "start": { "line": 312, "column": 2 }, "end": { "line": 312, "column": 10 }, "identifierName": "getInput" }, "name": "getInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11721, "end": 11730, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 20 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 11731, "end": 11989, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 322, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 11738, "end": 11786, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 11738, "end": 11785, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 11738, "end": 11747, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 11750, "end": 11785, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 51 } }, "left": { "type": "Identifier", "start": 11750, "end": 11759, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 11763, "end": 11785, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 51 } }, "object": { "type": "MemberExpression", "start": 11763, "end": 11775, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11763, "end": 11767, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 33 } } }, "property": { "type": "Identifier", "start": 11768, "end": 11775, "loc": { "start": { "line": 313, "column": 34 }, "end": { "line": 313, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11776, "end": 11785, "loc": { "start": { "line": 313, "column": 42 }, "end": { "line": 313, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11794, "end": 11849, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } } ] }, { "type": "IfStatement", "start": 11855, "end": 11934, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 319, "column": 42 } }, "test": { "type": "MemberExpression", "start": 11858, "end": 11889, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11858, "end": 11870, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11858, "end": 11862, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11863, "end": 11870, "loc": { "start": { "line": 318, "column": 12 }, "end": { "line": 318, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11871, "end": 11889, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 11898, "end": 11934, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 42 } }, "expression": { "type": "CallExpression", "start": 11898, "end": 11933, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 11898, "end": 11921, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11898, "end": 11902, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 10 } } }, "property": { "type": "Identifier", "start": 11903, "end": 11921, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11922, "end": 11932, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 40 } }, "object": { "type": "ThisExpression", "start": 11922, "end": 11926, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 34 } } }, "property": { "type": "Identifier", "start": 11927, "end": 11932, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11794, "end": 11849, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 11942, "end": 11984, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "column": 46 } }, "argument": { "type": "MemberExpression", "start": 11949, "end": 11983, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 45 } }, "object": { "type": "MemberExpression", "start": 11949, "end": 11959, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 21 } }, "object": { "type": "ThisExpression", "start": 11949, "end": 11953, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 15 } } }, "property": { "type": "Identifier", "start": 11954, "end": 11959, "loc": { "start": { "line": 321, "column": 16 }, "end": { "line": 321, "column": 21 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "MemberExpression", "start": 11960, "end": 11982, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11960, "end": 11972, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 34 } }, "object": { "type": "ThisExpression", "start": 11960, "end": 11964, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 26 } } }, "property": { "type": "Identifier", "start": 11965, "end": 11972, "loc": { "start": { "line": 321, "column": 27 }, "end": { "line": 321, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 11973, "end": 11982, "loc": { "start": { "line": 321, "column": 35 }, "end": { "line": 321, "column": 44 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the keyboard’s input (You can also get it from the onChange prop).\r\n * @param {string} [inputName] optional - the internal input to select\r\n ", "start": 11546, "end": 11708, "loc": { "start": { "line": 308, "column": 2 }, "end": { "line": 311, "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": 11995, "end": 12155, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12159, "end": 12429, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 338, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12159, "end": 12167, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 329, "column": 10 }, "identifierName": "setInput" }, "name": "setInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12168, "end": 12173, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 16 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 12175, "end": 12184, "loc": { "start": { "line": 329, "column": 18 }, "end": { "line": 329, "column": 27 }, "identifierName": "inputName" }, "name": "inputName" } ], "body": { "type": "BlockStatement", "start": 12185, "end": 12429, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 338, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12192, "end": 12240, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 12192, "end": 12239, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 51 } }, "operator": "=", "left": { "type": "Identifier", "start": 12192, "end": 12201, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 13 }, "identifierName": "inputName" }, "name": "inputName" }, "right": { "type": "LogicalExpression", "start": 12204, "end": 12239, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 51 } }, "left": { "type": "Identifier", "start": 12204, "end": 12213, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 25 }, "identifierName": "inputName" }, "name": "inputName" }, "operator": "||", "right": { "type": "MemberExpression", "start": 12217, "end": 12239, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 51 } }, "object": { "type": "MemberExpression", "start": 12217, "end": 12229, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 41 } }, "object": { "type": "ThisExpression", "start": 12217, "end": 12221, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 33 } } }, "property": { "type": "Identifier", "start": 12222, "end": 12229, "loc": { "start": { "line": 330, "column": 34 }, "end": { "line": 330, "column": 41 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 12230, "end": 12239, "loc": { "start": { "line": 330, "column": 42 }, "end": { "line": 330, "column": 51 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 12246, "end": 12276, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 12246, "end": 12275, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12246, "end": 12267, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 25 } }, "object": { "type": "MemberExpression", "start": 12246, "end": 12256, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12246, "end": 12250, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 8 } } }, "property": { "type": "Identifier", "start": 12251, "end": 12256, "loc": { "start": { "line": 331, "column": 9 }, "end": { "line": 331, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "property": { "type": "Identifier", "start": 12257, "end": 12266, "loc": { "start": { "line": 331, "column": 15 }, "end": { "line": 331, "column": 24 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": true }, "right": { "type": "Identifier", "start": 12270, "end": 12275, "loc": { "start": { "line": 331, "column": 28 }, "end": { "line": 331, "column": 33 }, "identifierName": "input" }, "name": "input" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12284, "end": 12339, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 335, "column": 7 } } } ] }, { "type": "IfStatement", "start": 12345, "end": 12424, "loc": { "start": { "line": 336, "column": 4 }, "end": { "line": 337, "column": 42 } }, "test": { "type": "MemberExpression", "start": 12348, "end": 12379, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 38 } }, "object": { "type": "MemberExpression", "start": 12348, "end": 12360, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 19 } }, "object": { "type": "ThisExpression", "start": 12348, "end": 12352, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 11 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12353, "end": 12360, "loc": { "start": { "line": 336, "column": 12 }, "end": { "line": 336, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 12361, "end": 12379, "loc": { "start": { "line": 336, "column": 20 }, "end": { "line": 336, "column": 38 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 12388, "end": 12424, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 42 } }, "expression": { "type": "CallExpression", "start": 12388, "end": 12423, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 12388, "end": 12411, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12388, "end": 12392, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 10 } } }, "property": { "type": "Identifier", "start": 12393, "end": 12411, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 29 }, "identifierName": "syncInstanceInputs" }, "name": "syncInstanceInputs" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12412, "end": 12422, "loc": { "start": { "line": 337, "column": 30 }, "end": { "line": 337, "column": 40 } }, "object": { "type": "ThisExpression", "start": 12412, "end": 12416, "loc": { "start": { "line": 337, "column": 30 }, "end": { "line": 337, "column": 34 } } }, "property": { "type": "Identifier", "start": 12417, "end": 12422, "loc": { "start": { "line": 337, "column": 35 }, "end": { "line": 337, "column": 40 }, "identifierName": "input" }, "name": "input" }, "computed": false } ] } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12284, "end": 12339, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 335, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Set the keyboard’s input.\r\n * @param {string} input the input value\r\n * @param {string} inputName optional - the internal input to select\r\n ", "start": 11995, "end": 12155, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "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": 12437, "end": 12546, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 343, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12550, "end": 12606, "loc": { "start": { "line": 344, "column": 2 }, "end": { "line": 346, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12550, "end": 12562, "loc": { "start": { "line": 344, "column": 2 }, "end": { "line": 344, "column": 14 }, "identifierName": "replaceInput" }, "name": "replaceInput", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12563, "end": 12571, "loc": { "start": { "line": 344, "column": 15 }, "end": { "line": 344, "column": 23 }, "identifierName": "inputObj" }, "name": "inputObj" } ], "body": { "type": "BlockStatement", "start": 12572, "end": 12606, "loc": { "start": { "line": 344, "column": 24 }, "end": { "line": 346, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12579, "end": 12601, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12579, "end": 12600, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12579, "end": 12589, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 14 } }, "object": { "type": "ThisExpression", "start": 12579, "end": 12583, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 8 } } }, "property": { "type": "Identifier", "start": 12584, "end": 12589, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 14 }, "identifierName": "input" }, "name": "input" }, "computed": false }, "right": { "type": "Identifier", "start": 12592, "end": 12600, "loc": { "start": { "line": 345, "column": 17 }, "end": { "line": 345, "column": 25 }, "identifierName": "inputObj" }, "name": "inputObj" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12437, "end": 12546, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 343, "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": 12612, "end": 12738, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 12742, "end": 12876, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 356, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12742, "end": 12752, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 12 }, "identifierName": "setOptions" }, "name": "setOptions", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 12755, "end": 12876, "loc": { "start": { "line": 352, "column": 15 }, "end": { "line": 356, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 12755, "end": 12761, "loc": { "start": { "line": 352, "column": 15 }, "end": { "line": 352, "column": 21 }, "identifierName": "option" }, "name": "option" } ], "body": { "type": "BlockStatement", "start": 12765, "end": 12876, "loc": { "start": { "line": 352, "column": 25 }, "end": { "line": 356, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 12772, "end": 12794, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 12772, "end": 12793, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 12772, "end": 12778, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 10 }, "identifierName": "option" }, "name": "option" }, "right": { "type": "LogicalExpression", "start": 12781, "end": 12793, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 25 } }, "left": { "type": "Identifier", "start": 12781, "end": 12787, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 19 }, "identifierName": "option" }, "name": "option" }, "operator": "||", "right": { "type": "ObjectExpression", "start": 12791, "end": 12793, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 25 } }, "properties": [] } } } }, { "type": "ExpressionStatement", "start": 12800, "end": 12851, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 12800, "end": 12850, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12800, "end": 12812, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 16 } }, "object": { "type": "ThisExpression", "start": 12800, "end": 12804, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 8 } } }, "property": { "type": "Identifier", "start": 12805, "end": 12812, "loc": { "start": { "line": 354, "column": 9 }, "end": { "line": 354, "column": 16 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "right": { "type": "CallExpression", "start": 12815, "end": 12850, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 12815, "end": 12828, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 32 } }, "object": { "type": "Identifier", "start": 12815, "end": 12821, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 25 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 12822, "end": 12828, "loc": { "start": { "line": 354, "column": 26 }, "end": { "line": 354, "column": 32 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12829, "end": 12841, "loc": { "start": { "line": 354, "column": 33 }, "end": { "line": 354, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12829, "end": 12833, "loc": { "start": { "line": 354, "column": 33 }, "end": { "line": 354, "column": 37 } } }, "property": { "type": "Identifier", "start": 12834, "end": 12841, "loc": { "start": { "line": 354, "column": 38 }, "end": { "line": 354, "column": 45 }, "identifierName": "options" }, "name": "options" }, "computed": false }, { "type": "Identifier", "start": 12843, "end": 12849, "loc": { "start": { "line": 354, "column": 47 }, "end": { "line": 354, "column": 53 }, "identifierName": "option" }, "name": "option" } ] } } }, { "type": "ExpressionStatement", "start": 12857, "end": 12871, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 18 } }, "expression": { "type": "CallExpression", "start": 12857, "end": 12870, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 12857, "end": 12868, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 15 } }, "object": { "type": "ThisExpression", "start": 12857, "end": 12861, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 8 } } }, "property": { "type": "Identifier", "start": 12862, "end": 12868, "loc": { "start": { "line": 355, "column": 9 }, "end": { "line": 355, "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": 12612, "end": 12738, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "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": 12882, "end": 12991, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 361, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 12995, "end": 13134, "loc": { "start": { "line": 362, "column": 2 }, "end": { "line": 366, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12995, "end": 13000, "loc": { "start": { "line": 362, "column": 2 }, "end": { "line": 362, "column": 7 }, "identifierName": "clear" }, "name": "clear", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13002, "end": 13134, "loc": { "start": { "line": 362, "column": 9 }, "end": { "line": 366, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 13009, "end": 13041, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13009, "end": 13040, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13009, "end": 13035, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 30 } }, "object": { "type": "MemberExpression", "start": 13009, "end": 13025, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13009, "end": 13013, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 8 } } }, "property": { "type": "Identifier", "start": 13014, "end": 13025, "loc": { "start": { "line": 363, "column": 9 }, "end": { "line": 363, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 13026, "end": 13035, "loc": { "start": { "line": 363, "column": 21 }, "end": { "line": 363, "column": 30 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "StringLiteral", "start": 13038, "end": 13040, "loc": { "start": { "line": 363, "column": 33 }, "end": { "line": 363, "column": 35 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } }, { "type": "ExpressionStatement", "start": 13047, "end": 13098, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 13047, "end": 13097, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13047, "end": 13073, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 30 } }, "object": { "type": "MemberExpression", "start": 13047, "end": 13063, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 20 } }, "object": { "type": "ThisExpression", "start": 13047, "end": 13051, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 8 } } }, "property": { "type": "Identifier", "start": 13052, "end": 13063, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false }, "property": { "type": "Identifier", "start": 13064, "end": 13073, "loc": { "start": { "line": 364, "column": 21 }, "end": { "line": 364, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "MemberExpression", "start": 13076, "end": 13097, "loc": { "start": { "line": 364, "column": 33 }, "end": { "line": 364, "column": 54 } }, "object": { "type": "ThisExpression", "start": 13076, "end": 13080, "loc": { "start": { "line": 364, "column": 33 }, "end": { "line": 364, "column": 37 } } }, "property": { "type": "Identifier", "start": 13081, "end": 13097, "loc": { "start": { "line": 364, "column": 38 }, "end": { "line": 364, "column": 54 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 13104, "end": 13129, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 13104, "end": 13128, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13104, "end": 13123, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 23 } }, "object": { "type": "ThisExpression", "start": 13104, "end": 13108, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 8 } } }, "property": { "type": "Identifier", "start": 13109, "end": 13123, "loc": { "start": { "line": 365, "column": 9 }, "end": { "line": 365, "column": 23 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 13126, "end": 13128, "loc": { "start": { "line": 365, "column": 26 }, "end": { "line": 365, "column": 28 } }, "properties": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Remove all keyboard rows and reset keyboard values.\r\n * Used interally between re-renders.\r\n ", "start": 12882, "end": 12991, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 361, "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": 13140, "end": 13345, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 371, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 13349, "end": 13717, "loc": { "start": { "line": 372, "column": 2 }, "end": { "line": 381, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13349, "end": 13357, "loc": { "start": { "line": 372, "column": 2 }, "end": { "line": 372, "column": 10 }, "identifierName": "dispatch" }, "name": "dispatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13358, "end": 13366, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 19 }, "identifierName": "callback" }, "name": "callback" } ], "body": { "type": "BlockStatement", "start": 13367, "end": 13717, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 381, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 13374, "end": 13558, "loc": { "start": { "line": 373, "column": 4 }, "end": { "line": 376, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 13377, "end": 13411, "loc": { "start": { "line": 373, "column": 7 }, "end": { "line": 373, "column": 41 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 13378, "end": 13411, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 41 } }, "object": { "type": "Identifier", "start": 13378, "end": 13384, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13385, "end": 13410, "loc": { "start": { "line": 373, "column": 15 }, "end": { "line": 373, "column": 40 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 13412, "end": 13558, "loc": { "start": { "line": 373, "column": 42 }, "end": { "line": 376, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13421, "end": 13504, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 89 } }, "expression": { "type": "CallExpression", "start": 13421, "end": 13503, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 13421, "end": 13433, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 18 } }, "object": { "type": "Identifier", "start": 13421, "end": 13428, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 13429, "end": 13433, "loc": { "start": { "line": 374, "column": 14 }, "end": { "line": 374, "column": 18 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 13434, "end": 13502, "loc": { "start": { "line": 374, "column": 19 }, "end": { "line": 374, "column": 87 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 13435, "end": 13501, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "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": 13512, "end": 13551, "loc": { "start": { "line": 375, "column": 6 }, "end": { "line": 375, "column": 45 } }, "argument": { "type": "NewExpression", "start": 13518, "end": 13550, "loc": { "start": { "line": 375, "column": 12 }, "end": { "line": 375, "column": 44 } }, "callee": { "type": "Identifier", "start": 13522, "end": 13527, "loc": { "start": { "line": 375, "column": 16 }, "end": { "line": 375, "column": 21 }, "identifierName": "Error" }, "name": "Error" }, "arguments": [ { "type": "StringLiteral", "start": 13528, "end": 13549, "loc": { "start": { "line": 375, "column": 22 }, "end": { "line": 375, "column": 43 } }, "extra": { "rawValue": "INSTANCES_VAR_ERROR", "raw": "\"INSTANCES_VAR_ERROR\"" }, "value": "INSTANCES_VAR_ERROR" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 13570, "end": 13712, "loc": { "start": { "line": 378, "column": 4 }, "end": { "line": 380, "column": 6 } }, "argument": { "type": "CallExpression", "start": 13577, "end": 13712, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 380, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 13577, "end": 13631, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 65 } }, "object": { "type": "CallExpression", "start": 13577, "end": 13623, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 13577, "end": 13588, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 22 } }, "object": { "type": "Identifier", "start": 13577, "end": 13583, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 13584, "end": 13588, "loc": { "start": { "line": 378, "column": 18 }, "end": { "line": 378, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 13589, "end": 13622, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 56 } }, "object": { "type": "Identifier", "start": 13589, "end": 13595, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 29 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13596, "end": 13621, "loc": { "start": { "line": 378, "column": 30 }, "end": { "line": 378, "column": 55 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } ] }, "property": { "type": "Identifier", "start": 13624, "end": 13631, "loc": { "start": { "line": 378, "column": 58 }, "end": { "line": 378, "column": 65 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13632, "end": 13711, "loc": { "start": { "line": 378, "column": 66 }, "end": { "line": 380, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13633, "end": 13636, "loc": { "start": { "line": 378, "column": 67 }, "end": { "line": 378, "column": 70 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 13641, "end": 13711, "loc": { "start": { "line": 378, "column": 75 }, "end": { "line": 380, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13650, "end": 13704, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 60 } }, "expression": { "type": "CallExpression", "start": 13650, "end": 13703, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 59 } }, "callee": { "type": "Identifier", "start": 13650, "end": 13658, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 14 }, "identifierName": "callback" }, "name": "callback" }, "arguments": [ { "type": "MemberExpression", "start": 13659, "end": 13697, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13659, "end": 13692, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 48 } }, "object": { "type": "Identifier", "start": 13659, "end": 13665, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 21 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 13666, "end": 13691, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 47 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true }, "property": { "type": "Identifier", "start": 13693, "end": 13696, "loc": { "start": { "line": 379, "column": 49 }, "end": { "line": 379, "column": 52 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "Identifier", "start": 13699, "end": 13702, "loc": { "start": { "line": 379, "column": 55 }, "end": { "line": 379, "column": 58 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances at once (if you have multiple instances).\r\n * @param {function(instance: object, key: string)} callback Function to run on every instance\r\n ", "start": 13140, "end": 13345, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 371, "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": 13723, "end": 14004, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 387, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 14008, "end": 15240, "loc": { "start": { "line": 388, "column": 2 }, "end": { "line": 431, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 14008, "end": 14022, "loc": { "start": { "line": 388, "column": 2 }, "end": { "line": 388, "column": 16 }, "identifierName": "addButtonTheme" }, "name": "addButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14023, "end": 14030, "loc": { "start": { "line": 388, "column": 17 }, "end": { "line": 388, "column": 24 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 14032, "end": 14041, "loc": { "start": { "line": 388, "column": 26 }, "end": { "line": 388, "column": 35 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 14042, "end": 15240, "loc": { "start": { "line": 388, "column": 36 }, "end": { "line": 431, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 14049, "end": 14096, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 390, "column": 19 } }, "test": { "type": "LogicalExpression", "start": 14052, "end": 14074, "loc": { "start": { "line": 389, "column": 7 }, "end": { "line": 389, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 14052, "end": 14062, "loc": { "start": { "line": 389, "column": 7 }, "end": { "line": 389, "column": 17 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14053, "end": 14062, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 17 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 14066, "end": 14074, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 14067, "end": 14074, "loc": { "start": { "line": 389, "column": 22 }, "end": { "line": 389, "column": 29 }, "identifierName": "buttons" }, "name": "buttons" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ReturnStatement", "start": 14083, "end": 14096, "loc": { "start": { "line": 390, "column": 6 }, "end": { "line": 390, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 14090, "end": 14095, "loc": { "start": { "line": 390, "column": 13 }, "end": { "line": 390, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ExpressionStatement", "start": 14104, "end": 15213, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 428, "column": 7 } }, "expression": { "type": "CallExpression", "start": 14104, "end": 15212, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 428, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 14104, "end": 14130, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 30 } }, "object": { "type": "CallExpression", "start": 14104, "end": 14122, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 14104, "end": 14117, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 17 } }, "object": { "type": "Identifier", "start": 14104, "end": 14111, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 11 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 14112, "end": 14117, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 17 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14118, "end": 14121, "loc": { "start": { "line": 392, "column": 18 }, "end": { "line": 392, "column": 21 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14123, "end": 14130, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 30 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14131, "end": 15211, "loc": { "start": { "line": 392, "column": 31 }, "end": { "line": 428, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14131, "end": 14137, "loc": { "start": { "line": 392, "column": 31 }, "end": { "line": 392, "column": 37 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 14141, "end": 15211, "loc": { "start": { "line": 392, "column": 41 }, "end": { "line": 428, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 14150, "end": 15204, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 427, "column": 9 } }, "expression": { "type": "CallExpression", "start": 14150, "end": 15203, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 427, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 14150, "end": 14178, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 34 } }, "object": { "type": "CallExpression", "start": 14150, "end": 14170, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 14150, "end": 14165, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 21 } }, "object": { "type": "Identifier", "start": 14150, "end": 14159, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 15 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 14160, "end": 14165, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "column": 21 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14166, "end": 14169, "loc": { "start": { "line": 393, "column": 22 }, "end": { "line": 393, "column": 25 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14171, "end": 14178, "loc": { "start": { "line": 393, "column": 27 }, "end": { "line": 393, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14179, "end": 15202, "loc": { "start": { "line": 393, "column": 35 }, "end": { "line": 427, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14179, "end": 14192, "loc": { "start": { "line": 393, "column": 35 }, "end": { "line": 393, "column": 48 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ], "body": { "type": "BlockStatement", "start": 14196, "end": 15202, "loc": { "start": { "line": 393, "column": 52 }, "end": { "line": 427, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 14207, "end": 14278, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 395, "column": 40 } }, "test": { "type": "UnaryExpression", "start": 14210, "end": 14235, "loc": { "start": { "line": 394, "column": 11 }, "end": { "line": 394, "column": 36 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 14211, "end": 14235, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14211, "end": 14223, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 24 } }, "object": { "type": "ThisExpression", "start": 14211, "end": 14215, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 16 } } }, "property": { "type": "Identifier", "start": 14216, "end": 14223, "loc": { "start": { "line": 394, "column": 17 }, "end": { "line": 394, "column": 24 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14224, "end": 14235, "loc": { "start": { "line": 394, "column": 25 }, "end": { "line": 394, "column": 36 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 14248, "end": 14278, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 14248, "end": 14277, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14248, "end": 14272, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 34 } }, "object": { "type": "MemberExpression", "start": 14248, "end": 14260, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 22 } }, "object": { "type": "ThisExpression", "start": 14248, "end": 14252, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 14 } } }, "property": { "type": "Identifier", "start": 14253, "end": 14260, "loc": { "start": { "line": 395, "column": 15 }, "end": { "line": 395, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 14261, "end": 14272, "loc": { "start": { "line": 395, "column": 23 }, "end": { "line": 395, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14275, "end": 14277, "loc": { "start": { "line": 395, "column": 37 }, "end": { "line": 395, "column": 39 } }, "elements": [] } } }, "alternate": null }, { "type": "VariableDeclaration", "start": 14290, "end": 14317, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14294, "end": 14316, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 34 } }, "id": { "type": "Identifier", "start": 14294, "end": 14308, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "init": { "type": "BooleanLiteral", "start": 14311, "end": 14316, "loc": { "start": { "line": 397, "column": 29 }, "end": { "line": 397, "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": 14331, "end": 14422, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 401, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 14432, "end": 14940, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 415, "column": 11 } }, "expression": { "type": "CallExpression", "start": 14432, "end": 14939, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 415, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 14432, "end": 14460, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14432, "end": 14456, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 32 } }, "object": { "type": "MemberExpression", "start": 14432, "end": 14444, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 20 } }, "object": { "type": "ThisExpression", "start": 14432, "end": 14436, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 14437, "end": 14444, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14445, "end": 14456, "loc": { "start": { "line": 402, "column": 21 }, "end": { "line": 402, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 14457, "end": 14460, "loc": { "start": { "line": 402, "column": 33 }, "end": { "line": 402, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 14461, "end": 14938, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 415, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14461, "end": 14472, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "column": 48 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } ], "body": { "type": "BlockStatement", "start": 14476, "end": 14938, "loc": { "start": { "line": 402, "column": 52 }, "end": { "line": 415, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 14491, "end": 14896, "loc": { "start": { "line": 404, "column": 10 }, "end": { "line": 413, "column": 11 } }, "test": { "type": "CallExpression", "start": 14494, "end": 14546, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14494, "end": 14531, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 50 } }, "object": { "type": "CallExpression", "start": 14494, "end": 14522, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 14494, "end": 14517, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 36 } }, "object": { "type": "MemberExpression", "start": 14494, "end": 14511, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 30 } }, "object": { "type": "Identifier", "start": 14494, "end": 14505, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 24 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14506, "end": 14511, "loc": { "start": { "line": 404, "column": 25 }, "end": { "line": 404, "column": 30 }, "identifierName": "class" }, "name": "class" }, "computed": false }, "property": { "type": "Identifier", "start": 14512, "end": 14517, "loc": { "start": { "line": 404, "column": 31 }, "end": { "line": 404, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14518, "end": 14521, "loc": { "start": { "line": 404, "column": 37 }, "end": { "line": 404, "column": 40 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 14523, "end": 14531, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 50 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14532, "end": 14545, "loc": { "start": { "line": 404, "column": 51 }, "end": { "line": 404, "column": 64 }, "identifierName": "classNameItem" }, "name": "classNameItem" } ] }, "consequent": { "type": "BlockStatement", "start": 14547, "end": 14896, "loc": { "start": { "line": 404, "column": 66 }, "end": { "line": 413, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 14562, "end": 14584, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 14562, "end": 14583, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 14562, "end": 14576, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14579, "end": 14583, "loc": { "start": { "line": 405, "column": 29 }, "end": { "line": 405, "column": 33 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 14612, "end": 14666, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14616, "end": 14665, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 65 } }, "id": { "type": "Identifier", "start": 14616, "end": 14632, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "init": { "type": "CallExpression", "start": 14635, "end": 14665, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 14635, "end": 14660, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 60 } }, "object": { "type": "MemberExpression", "start": 14635, "end": 14654, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 54 } }, "object": { "type": "Identifier", "start": 14635, "end": 14646, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 46 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14647, "end": 14654, "loc": { "start": { "line": 407, "column": 47 }, "end": { "line": 407, "column": 54 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 14655, "end": 14660, "loc": { "start": { "line": 407, "column": 55 }, "end": { "line": 407, "column": 60 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14661, "end": 14664, "loc": { "start": { "line": 407, "column": 61 }, "end": { "line": 407, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 14680, "end": 14883, "loc": { "start": { "line": 408, "column": 12 }, "end": { "line": 412, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 14683, "end": 14717, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 14684, "end": 14717, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 14684, "end": 14709, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 41 } }, "object": { "type": "Identifier", "start": 14684, "end": 14700, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 32 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14701, "end": 14709, "loc": { "start": { "line": 408, "column": 33 }, "end": { "line": 408, "column": 41 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14710, "end": 14716, "loc": { "start": { "line": 408, "column": 42 }, "end": { "line": 408, "column": 48 }, "identifierName": "button" }, "name": "button" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 14718, "end": 14883, "loc": { "start": { "line": 408, "column": 50 }, "end": { "line": 412, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 14735, "end": 14757, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 14735, "end": 14756, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 14735, "end": 14749, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 28 }, "identifierName": "classNameFound" }, "name": "classNameFound" }, "right": { "type": "BooleanLiteral", "start": 14752, "end": 14756, "loc": { "start": { "line": 409, "column": 31 }, "end": { "line": 409, "column": 35 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 14773, "end": 14803, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 44 } }, "expression": { "type": "CallExpression", "start": 14773, "end": 14802, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 14773, "end": 14794, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 35 } }, "object": { "type": "Identifier", "start": 14773, "end": 14789, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 30 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14790, "end": 14794, "loc": { "start": { "line": 410, "column": 31 }, "end": { "line": 410, "column": 35 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14795, "end": 14801, "loc": { "start": { "line": 410, "column": 36 }, "end": { "line": 410, "column": 42 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 14819, "end": 14868, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 14819, "end": 14867, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14819, "end": 14838, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 33 } }, "object": { "type": "Identifier", "start": 14819, "end": 14830, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 14831, "end": 14838, "loc": { "start": { "line": 411, "column": 26 }, "end": { "line": 411, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 14841, "end": 14867, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 14841, "end": 14862, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 57 } }, "object": { "type": "Identifier", "start": 14841, "end": 14857, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 52 }, "identifierName": "buttonThemeArray" }, "name": "buttonThemeArray" }, "property": { "type": "Identifier", "start": 14858, "end": 14862, "loc": { "start": { "line": 411, "column": 53 }, "end": { "line": 411, "column": 57 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14863, "end": 14866, "loc": { "start": { "line": 411, "column": 58 }, "end": { "line": 411, "column": 61 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 14908, "end": 14927, "loc": { "start": { "line": 414, "column": 10 }, "end": { "line": 414, "column": 29 } }, "argument": { "type": "Identifier", "start": 14915, "end": 14926, "loc": { "start": { "line": 414, "column": 17 }, "end": { "line": 414, "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": 14331, "end": 14422, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 401, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14952, "end": 15027, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "column": 11 } } } ] }, { "type": "IfStatement", "start": 15037, "end": 15191, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 425, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 15040, "end": 15055, "loc": { "start": { "line": 420, "column": 11 }, "end": { "line": 420, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15041, "end": 15055, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 26 }, "identifierName": "classNameFound" }, "name": "classNameFound", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15056, "end": 15191, "loc": { "start": { "line": 420, "column": 27 }, "end": { "line": 425, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 15069, "end": 15180, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 424, "column": 13 } }, "expression": { "type": "CallExpression", "start": 15069, "end": 15179, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 424, "column": 12 } }, "callee": { "type": "MemberExpression", "start": 15069, "end": 15098, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 39 } }, "object": { "type": "MemberExpression", "start": 15069, "end": 15093, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 34 } }, "object": { "type": "MemberExpression", "start": 15069, "end": 15081, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 22 } }, "object": { "type": "ThisExpression", "start": 15069, "end": 15073, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 14 } } }, "property": { "type": "Identifier", "start": 15074, "end": 15081, "loc": { "start": { "line": 421, "column": 15 }, "end": { "line": 421, "column": 22 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15082, "end": 15093, "loc": { "start": { "line": 421, "column": 23 }, "end": { "line": 421, "column": 34 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15094, "end": 15098, "loc": { "start": { "line": 421, "column": 35 }, "end": { "line": 421, "column": 39 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 15099, "end": 15178, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 424, "column": 11 } }, "properties": [ { "type": "ObjectProperty", "start": 15114, "end": 15134, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15114, "end": 15119, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 17 }, "identifierName": "class" }, "name": "class" }, "value": { "type": "Identifier", "start": 15121, "end": 15134, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "column": 32 }, "identifierName": "classNameItem" }, "name": "classNameItem" } }, { "type": "ObjectProperty", "start": 15149, "end": 15165, "loc": { "start": { "line": 423, "column": 12 }, "end": { "line": 423, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 15149, "end": 15156, "loc": { "start": { "line": 423, "column": 12 }, "end": { "line": 423, "column": 19 }, "identifierName": "buttons" }, "name": "buttons" }, "value": { "type": "Identifier", "start": 15158, "end": 15165, "loc": { "start": { "line": 423, "column": 21 }, "end": { "line": 423, "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": 14952, "end": 15027, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "column": 11 } } } ] } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 15221, "end": 15235, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 18 } }, "expression": { "type": "CallExpression", "start": 15221, "end": 15234, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 17 } }, "callee": { "type": "MemberExpression", "start": 15221, "end": 15232, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 15 } }, "object": { "type": "ThisExpression", "start": 15221, "end": 15225, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 8 } } }, "property": { "type": "Identifier", "start": 15226, "end": 15232, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 15 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds/Modifies an entry to the `buttonTheme`. Basically a way to add a class to a button.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 13723, "end": 14004, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 387, "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": 15246, "end": 15586, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 437, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 15590, "end": 17007, "loc": { "start": { "line": 438, "column": 2 }, "end": { "line": 484, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 15590, "end": 15607, "loc": { "start": { "line": 438, "column": 2 }, "end": { "line": 438, "column": 19 }, "identifierName": "removeButtonTheme" }, "name": "removeButtonTheme", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15608, "end": 15615, "loc": { "start": { "line": 438, "column": 20 }, "end": { "line": 438, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, { "type": "Identifier", "start": 15617, "end": 15626, "loc": { "start": { "line": 438, "column": 29 }, "end": { "line": 438, "column": 38 }, "identifierName": "className" }, "name": "className" } ], "body": { "type": "BlockStatement", "start": 15627, "end": 17007, "loc": { "start": { "line": 438, "column": 39 }, "end": { "line": 484, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 15720, "end": 15835, "loc": { "start": { "line": 442, "column": 4 }, "end": { "line": 446, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15723, "end": 15745, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 29 } }, "left": { "type": "UnaryExpression", "start": 15723, "end": 15731, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15724, "end": 15731, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 15 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 15735, "end": 15745, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 29 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 15736, "end": 15745, "loc": { "start": { "line": 442, "column": 20 }, "end": { "line": 442, "column": 29 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 15746, "end": 15835, "loc": { "start": { "line": 442, "column": 30 }, "end": { "line": 446, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 15755, "end": 15785, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 15755, "end": 15784, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 15755, "end": 15779, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 30 } }, "object": { "type": "MemberExpression", "start": 15755, "end": 15767, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 18 } }, "object": { "type": "ThisExpression", "start": 15755, "end": 15759, "loc": { "start": { "line": 443, "column": 6 }, "end": { "line": 443, "column": 10 } } }, "property": { "type": "Identifier", "start": 15760, "end": 15767, "loc": { "start": { "line": 443, "column": 11 }, "end": { "line": 443, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15768, "end": 15779, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 15782, "end": 15784, "loc": { "start": { "line": 443, "column": 33 }, "end": { "line": 443, "column": 35 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 15793, "end": 15807, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 20 } }, "expression": { "type": "CallExpression", "start": 15793, "end": 15806, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 15793, "end": 15804, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 17 } }, "object": { "type": "ThisExpression", "start": 15793, "end": 15797, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 10 } } }, "property": { "type": "Identifier", "start": 15798, "end": 15804, "loc": { "start": { "line": 444, "column": 11 }, "end": { "line": 444, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ReturnStatement", "start": 15815, "end": 15828, "loc": { "start": { "line": 445, "column": 6 }, "end": { "line": 445, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 15822, "end": 15827, "loc": { "start": { "line": 445, "column": 13 }, "end": { "line": 445, "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": 15634, "end": 15714, "loc": { "start": { "line": 439, "column": 4 }, "end": { "line": 441, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15843, "end": 15911, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } } ] }, { "type": "IfStatement", "start": 15917, "end": 17002, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 483, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 15920, "end": 16005, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 15920, "end": 15970, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 57 } }, "left": { "type": "Identifier", "start": 15920, "end": 15927, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 14 }, "identifierName": "buttons" }, "name": "buttons", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 15931, "end": 15970, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 15931, "end": 15944, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 31 } }, "object": { "type": "Identifier", "start": 15931, "end": 15936, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 23 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 15937, "end": 15944, "loc": { "start": { "line": 451, "column": 24 }, "end": { "line": 451, "column": 31 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15945, "end": 15969, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 56 } }, "object": { "type": "MemberExpression", "start": 15945, "end": 15957, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 44 } }, "object": { "type": "ThisExpression", "start": 15945, "end": 15949, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 36 } } }, "property": { "type": "Identifier", "start": 15950, "end": 15957, "loc": { "start": { "line": 451, "column": 37 }, "end": { "line": 451, "column": 44 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15958, "end": 15969, "loc": { "start": { "line": 451, "column": 45 }, "end": { "line": 451, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "leadingComments": null }, "operator": "&&", "right": { "type": "MemberExpression", "start": 15974, "end": 16005, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 92 } }, "object": { "type": "MemberExpression", "start": 15974, "end": 15998, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 85 } }, "object": { "type": "MemberExpression", "start": 15974, "end": 15986, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 73 } }, "object": { "type": "ThisExpression", "start": 15974, "end": 15978, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 65 } } }, "property": { "type": "Identifier", "start": 15979, "end": 15986, "loc": { "start": { "line": 451, "column": 66 }, "end": { "line": 451, "column": 73 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 15987, "end": 15998, "loc": { "start": { "line": 451, "column": 74 }, "end": { "line": 451, "column": 85 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 15999, "end": 16005, "loc": { "start": { "line": 451, "column": 86 }, "end": { "line": 451, "column": 92 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16006, "end": 17002, "loc": { "start": { "line": 451, "column": 93 }, "end": { "line": 483, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16015, "end": 16052, "loc": { "start": { "line": 452, "column": 6 }, "end": { "line": 452, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16019, "end": 16051, "loc": { "start": { "line": 452, "column": 10 }, "end": { "line": 452, "column": 42 } }, "id": { "type": "Identifier", "start": 16019, "end": 16030, "loc": { "start": { "line": 452, "column": 10 }, "end": { "line": 452, "column": 21 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "init": { "type": "CallExpression", "start": 16033, "end": 16051, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 16033, "end": 16046, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 37 } }, "object": { "type": "Identifier", "start": 16033, "end": 16040, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 31 }, "identifierName": "buttons" }, "name": "buttons" }, "property": { "type": "Identifier", "start": 16041, "end": 16046, "loc": { "start": { "line": 452, "column": 32 }, "end": { "line": 452, "column": 37 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16047, "end": 16050, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 41 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 16060, "end": 16971, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 480, "column": 9 } }, "expression": { "type": "CallExpression", "start": 16060, "end": 16970, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 480, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 16060, "end": 16079, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 453, "column": 25 } }, "object": { "type": "Identifier", "start": 16060, "end": 16071, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 453, "column": 17 }, "identifierName": "buttonArray" }, "name": "buttonArray" }, "property": { "type": "Identifier", "start": 16072, "end": 16079, "loc": { "start": { "line": 453, "column": 18 }, "end": { "line": 453, "column": 25 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16080, "end": 16969, "loc": { "start": { "line": 453, "column": 26 }, "end": { "line": 480, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16081, "end": 16087, "loc": { "start": { "line": 453, "column": 27 }, "end": { "line": 453, "column": 33 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 16089, "end": 16092, "loc": { "start": { "line": 453, "column": 35 }, "end": { "line": 453, "column": 38 }, "identifierName": "key" }, "name": "key" } ], "body": { "type": "BlockStatement", "start": 16097, "end": 16969, "loc": { "start": { "line": 453, "column": 43 }, "end": { "line": 480, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 16108, "end": 16960, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 479, "column": 11 } }, "expression": { "type": "CallExpression", "start": 16108, "end": 16959, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 479, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 16108, "end": 16136, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 36 } }, "object": { "type": "MemberExpression", "start": 16108, "end": 16132, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 32 } }, "object": { "type": "MemberExpression", "start": 16108, "end": 16120, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 20 } }, "object": { "type": "ThisExpression", "start": 16108, "end": 16112, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 12 } } }, "property": { "type": "Identifier", "start": 16113, "end": 16120, "loc": { "start": { "line": 454, "column": 13 }, "end": { "line": 454, "column": 20 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16121, "end": 16132, "loc": { "start": { "line": 454, "column": 21 }, "end": { "line": 454, "column": 32 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16133, "end": 16136, "loc": { "start": { "line": 454, "column": 33 }, "end": { "line": 454, "column": 36 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16137, "end": 16958, "loc": { "start": { "line": 454, "column": 37 }, "end": { "line": 479, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16138, "end": 16149, "loc": { "start": { "line": 454, "column": 38 }, "end": { "line": 454, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, { "type": "Identifier", "start": 16151, "end": 16156, "loc": { "start": { "line": 454, "column": 51 }, "end": { "line": 454, "column": 56 }, "identifierName": "index" }, "name": "index" } ], "body": { "type": "BlockStatement", "start": 16161, "end": 16958, "loc": { "start": { "line": 454, "column": 61 }, "end": { "line": 479, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 16329, "end": 16914, "loc": { "start": { "line": 460, "column": 10 }, "end": { "line": 476, "column": 11 } }, "test": { "type": "LogicalExpression", "start": 16346, "end": 16425, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 462, "column": 22 } }, "left": { "type": "LogicalExpression", "start": 16347, "end": 16397, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 63 } }, "left": { "type": "Identifier", "start": 16347, "end": 16356, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 22 }, "identifierName": "className" }, "name": "className", "leadingComments": null }, "operator": "&&", "right": { "type": "CallExpression", "start": 16360, "end": 16397, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 16360, "end": 16378, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 44 } }, "object": { "type": "Identifier", "start": 16360, "end": 16369, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 35 }, "identifierName": "className" }, "name": "className" }, "property": { "type": "Identifier", "start": 16370, "end": 16378, "loc": { "start": { "line": 461, "column": 36 }, "end": { "line": 461, "column": 44 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 16379, "end": 16396, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 461, "column": 62 } }, "object": { "type": "Identifier", "start": 16379, "end": 16390, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 461, "column": 56 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16391, "end": 16396, "loc": { "start": { "line": 461, "column": 57 }, "end": { "line": 461, "column": 62 }, "identifierName": "class" }, "name": "class" }, "computed": false } ] }, "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 16346 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 16415, "end": 16425, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 22 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 16416, "end": 16425, "loc": { "start": { "line": 462, "column": 13 }, "end": { "line": 462, "column": 22 }, "identifierName": "className" }, "name": "className" }, "extra": { "parenthesizedArgument": false } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16438, "end": 16914, "loc": { "start": { "line": 463, "column": 11 }, "end": { "line": 476, "column": 11 } }, "body": [ { "type": "VariableDeclaration", "start": 16453, "end": 16542, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16457, "end": 16541, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 100 } }, "id": { "type": "Identifier", "start": 16457, "end": 16476, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 35 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "init": { "type": "CallExpression", "start": 16479, "end": 16541, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 16479, "end": 16516, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 75 } }, "object": { "type": "CallExpression", "start": 16479, "end": 16509, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 16479, "end": 16504, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 63 } }, "object": { "type": "MemberExpression", "start": 16479, "end": 16498, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 57 } }, "object": { "type": "Identifier", "start": 16479, "end": 16490, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 49 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16491, "end": 16498, "loc": { "start": { "line": 464, "column": 50 }, "end": { "line": 464, "column": 57 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 16499, "end": 16504, "loc": { "start": { "line": 464, "column": 58 }, "end": { "line": 464, "column": 63 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16505, "end": 16508, "loc": { "start": { "line": 464, "column": 64 }, "end": { "line": 464, "column": 67 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, "property": { "type": "Identifier", "start": 16510, "end": 16516, "loc": { "start": { "line": 464, "column": 69 }, "end": { "line": 464, "column": 75 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16517, "end": 16540, "loc": { "start": { "line": 464, "column": 76 }, "end": { "line": 464, "column": 99 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 16517, "end": 16521, "loc": { "start": { "line": 464, "column": 76 }, "end": { "line": 464, "column": 80 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BinaryExpression", "start": 16525, "end": 16540, "loc": { "start": { "line": 464, "column": 84 }, "end": { "line": 464, "column": 99 } }, "left": { "type": "Identifier", "start": 16525, "end": 16529, "loc": { "start": { "line": 464, "column": 84 }, "end": { "line": 464, "column": 88 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "Identifier", "start": 16534, "end": 16540, "loc": { "start": { "line": 464, "column": 93 }, "end": { "line": 464, "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": 16558, "end": 16655, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 468, "column": 15 } } } ] }, { "type": "IfStatement", "start": 16669, "end": 16898, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 474, "column": 13 } }, "test": { "type": "MemberExpression", "start": 16672, "end": 16698, "loc": { "start": { "line": 469, "column": 15 }, "end": { "line": 469, "column": 41 } }, "object": { "type": "Identifier", "start": 16672, "end": 16691, "loc": { "start": { "line": 469, "column": 15 }, "end": { "line": 469, "column": 34 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 16692, "end": 16698, "loc": { "start": { "line": 469, "column": 35 }, "end": { "line": 469, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 16699, "end": 16783, "loc": { "start": { "line": 469, "column": 42 }, "end": { "line": 471, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16716, "end": 16768, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 66 } }, "expression": { "type": "AssignmentExpression", "start": 16716, "end": 16767, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 65 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 16716, "end": 16735, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 33 } }, "object": { "type": "Identifier", "start": 16716, "end": 16727, "loc": { "start": { "line": 470, "column": 14 }, "end": { "line": 470, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "property": { "type": "Identifier", "start": 16728, "end": 16735, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "right": { "type": "CallExpression", "start": 16738, "end": 16767, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 16738, "end": 16762, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 60 } }, "object": { "type": "Identifier", "start": 16738, "end": 16757, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 55 }, "identifierName": "filteredButtonArray" }, "name": "filteredButtonArray" }, "property": { "type": "Identifier", "start": 16758, "end": 16762, "loc": { "start": { "line": 470, "column": 56 }, "end": { "line": 470, "column": 60 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16763, "end": 16766, "loc": { "start": { "line": 470, "column": 61 }, "end": { "line": 470, "column": 64 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 16789, "end": 16898, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 474, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 16806, "end": 16848, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 56 } }, "expression": { "type": "CallExpression", "start": 16806, "end": 16847, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 16806, "end": 16837, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "MemberExpression", "start": 16806, "end": 16830, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 38 } }, "object": { "type": "MemberExpression", "start": 16806, "end": 16818, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 26 } }, "object": { "type": "ThisExpression", "start": 16806, "end": 16810, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 18 } } }, "property": { "type": "Identifier", "start": 16811, "end": 16818, "loc": { "start": { "line": 472, "column": 19 }, "end": { "line": 472, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 16819, "end": 16830, "loc": { "start": { "line": 472, "column": 27 }, "end": { "line": 472, "column": 38 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 16831, "end": 16837, "loc": { "start": { "line": 472, "column": 39 }, "end": { "line": 472, "column": 45 }, "identifierName": "splice" }, "name": "splice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16838, "end": 16843, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 472, "column": 51 }, "identifierName": "index" }, "name": "index" }, { "type": "NumericLiteral", "start": 16845, "end": 16846, "loc": { "start": { "line": 472, "column": 53 }, "end": { "line": 472, "column": 54 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 16864, "end": 16883, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 16864, "end": 16882, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 16864, "end": 16875, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 25 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "right": { "type": "NullLiteral", "start": 16878, "end": 16882, "loc": { "start": { "line": 473, "column": 28 }, "end": { "line": 473, "column": 32 } } } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16558, "end": 16655, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 468, "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": 16176, "end": 16317, "loc": { "start": { "line": 456, "column": 10 }, "end": { "line": 459, "column": 13 } } } ] }, { "type": "ReturnStatement", "start": 16928, "end": 16947, "loc": { "start": { "line": 478, "column": 10 }, "end": { "line": 478, "column": 29 } }, "argument": { "type": "Identifier", "start": 16935, "end": 16946, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 28 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" } } ], "directives": [] } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 16981, "end": 16995, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 20 } }, "expression": { "type": "CallExpression", "start": 16981, "end": 16994, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 16981, "end": 16992, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 17 } }, "object": { "type": "ThisExpression", "start": 16981, "end": 16985, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 10 } } }, "property": { "type": "Identifier", "start": 16986, "end": 16992, "loc": { "start": { "line": 482, "column": 11 }, "end": { "line": 482, "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": 15843, "end": 15911, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes/Amends an entry to the `buttonTheme`. Basically a way to remove a class previously added to a button through buttonTheme or addButtonTheme.\r\n * @param {string} buttons List of buttons to select (separated by a space).\r\n * @param {string} className Classes to give to the selected buttons (separated by space).\r\n ", "start": 15246, "end": 15586, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 437, "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": 17013, "end": 17216, "loc": { "start": { "line": 486, "column": 2 }, "end": { "line": 489, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17220, "end": 17487, "loc": { "start": { "line": 490, "column": 2 }, "end": { "line": 503, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17220, "end": 17236, "loc": { "start": { "line": 490, "column": 2 }, "end": { "line": 490, "column": 18 }, "identifierName": "getButtonElement" }, "name": "getButtonElement", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 17237, "end": 17243, "loc": { "start": { "line": 490, "column": 19 }, "end": { "line": 490, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 17244, "end": 17487, "loc": { "start": { "line": 490, "column": 26 }, "end": { "line": 503, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 17251, "end": 17262, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17255, "end": 17261, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 } }, "id": { "type": "Identifier", "start": 17255, "end": 17261, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 17270, "end": 17314, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17274, "end": 17313, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 47 } }, "id": { "type": "Identifier", "start": 17274, "end": 17283, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 17 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "init": { "type": "MemberExpression", "start": 17286, "end": 17313, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 47 } }, "object": { "type": "MemberExpression", "start": 17286, "end": 17305, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 39 } }, "object": { "type": "ThisExpression", "start": 17286, "end": 17290, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 24 } } }, "property": { "type": "Identifier", "start": 17291, "end": 17305, "loc": { "start": { "line": 493, "column": 25 }, "end": { "line": 493, "column": 39 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 17306, "end": 17312, "loc": { "start": { "line": 493, "column": 40 }, "end": { "line": 493, "column": 46 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 17320, "end": 17460, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 500, "column": 5 } }, "test": { "type": "Identifier", "start": 17323, "end": 17332, "loc": { "start": { "line": 494, "column": 7 }, "end": { "line": 494, "column": 16 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "consequent": { "type": "BlockStatement", "start": 17333, "end": 17460, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 500, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 17342, "end": 17453, "loc": { "start": { "line": 495, "column": 6 }, "end": { "line": 499, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 17345, "end": 17365, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 29 } }, "left": { "type": "MemberExpression", "start": 17345, "end": 17361, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 25 } }, "object": { "type": "Identifier", "start": 17345, "end": 17354, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 18 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "Identifier", "start": 17355, "end": 17361, "loc": { "start": { "line": 495, "column": 19 }, "end": { "line": 495, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 17364, "end": 17365, "loc": { "start": { "line": 495, "column": 28 }, "end": { "line": 495, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 17366, "end": 17405, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 497, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17377, "end": 17396, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 17377, "end": 17395, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 17377, "end": 17383, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "Identifier", "start": 17386, "end": 17395, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 17411, "end": 17453, "loc": { "start": { "line": 497, "column": 13 }, "end": { "line": 499, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 17422, "end": 17444, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 17422, "end": 17443, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 17422, "end": 17428, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "MemberExpression", "start": 17431, "end": 17443, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 29 } }, "object": { "type": "Identifier", "start": 17431, "end": 17440, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 26 }, "identifierName": "buttonArr" }, "name": "buttonArr" }, "property": { "type": "NumericLiteral", "start": 17441, "end": 17442, "loc": { "start": { "line": 498, "column": 27 }, "end": { "line": 498, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 17468, "end": 17482, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 18 } }, "argument": { "type": "Identifier", "start": 17475, "end": 17481, "loc": { "start": { "line": 502, "column": 11 }, "end": { "line": 502, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get the DOM Element of a button. If there are several buttons with the same name, an array of the DOM Elements is returned.\r\n * @param {string} button The button layout name to select\r\n ", "start": 17013, "end": 17216, "loc": { "start": { "line": 486, "column": 2 }, "end": { "line": 489, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17493, "end": 17583, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 17587, "end": 17890, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 516, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 17587, "end": 17598, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 508, "column": 13 }, "identifierName": "handleCaret" }, "name": "handleCaret", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 17600, "end": 17890, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 516, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 17607, "end": 17683, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 511, "column": 5 } }, "test": { "type": "MemberExpression", "start": 17610, "end": 17628, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 25 } }, "object": { "type": "MemberExpression", "start": 17610, "end": 17622, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 19 } }, "object": { "type": "ThisExpression", "start": 17610, "end": 17614, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 11 } } }, "property": { "type": "Identifier", "start": 17615, "end": 17622, "loc": { "start": { "line": 509, "column": 12 }, "end": { "line": 509, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 17623, "end": 17628, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 17629, "end": 17683, "loc": { "start": { "line": 509, "column": 26 }, "end": { "line": 511, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 17638, "end": 17676, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 44 } }, "expression": { "type": "CallExpression", "start": 17638, "end": 17675, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 17638, "end": 17649, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 17 } }, "object": { "type": "Identifier", "start": 17638, "end": 17645, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 17646, "end": 17649, "loc": { "start": { "line": 510, "column": 14 }, "end": { "line": 510, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17650, "end": 17674, "loc": { "start": { "line": 510, "column": 18 }, "end": { "line": 510, "column": 42 } }, "extra": { "rawValue": "Caret handling started", "raw": "\"Caret handling started\"" }, "value": "Caret handling started" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 17691, "end": 17750, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 63 } }, "expression": { "type": "CallExpression", "start": 17691, "end": 17749, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 17691, "end": 17716, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 29 } }, "object": { "type": "Identifier", "start": 17691, "end": 17699, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17700, "end": 17716, "loc": { "start": { "line": 513, "column": 13 }, "end": { "line": 513, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17717, "end": 17724, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 17726, "end": 17748, "loc": { "start": { "line": 513, "column": 39 }, "end": { "line": 513, "column": 61 } }, "object": { "type": "ThisExpression", "start": 17726, "end": 17730, "loc": { "start": { "line": 513, "column": 39 }, "end": { "line": 513, "column": 43 } } }, "property": { "type": "Identifier", "start": 17731, "end": 17748, "loc": { "start": { "line": 513, "column": 44 }, "end": { "line": 513, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17756, "end": 17817, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 65 } }, "expression": { "type": "CallExpression", "start": 17756, "end": 17816, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 17756, "end": 17781, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 29 } }, "object": { "type": "Identifier", "start": 17756, "end": 17764, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17765, "end": 17781, "loc": { "start": { "line": 514, "column": 13 }, "end": { "line": 514, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17782, "end": 17791, "loc": { "start": { "line": 514, "column": 30 }, "end": { "line": 514, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 17793, "end": 17815, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "column": 63 } }, "object": { "type": "ThisExpression", "start": 17793, "end": 17797, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "column": 45 } } }, "property": { "type": "Identifier", "start": 17798, "end": 17815, "loc": { "start": { "line": 514, "column": 46 }, "end": { "line": 514, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 17823, "end": 17885, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 66 } }, "expression": { "type": "CallExpression", "start": 17823, "end": 17884, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 17823, "end": 17848, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 29 } }, "object": { "type": "Identifier", "start": 17823, "end": 17831, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 17832, "end": 17848, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 17849, "end": 17859, "loc": { "start": { "line": 515, "column": 30 }, "end": { "line": 515, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 17861, "end": 17883, "loc": { "start": { "line": 515, "column": 42 }, "end": { "line": 515, "column": 64 } }, "object": { "type": "ThisExpression", "start": 17861, "end": 17865, "loc": { "start": { "line": 515, "column": 42 }, "end": { "line": 515, "column": 46 } } }, "property": { "type": "Identifier", "start": 17866, "end": 17883, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17493, "end": 17583, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "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": 17896, "end": 18008, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 520, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18012, "end": 18743, "loc": { "start": { "line": 521, "column": 2 }, "end": { "line": 547, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18012, "end": 18029, "loc": { "start": { "line": 521, "column": 2 }, "end": { "line": 521, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18030, "end": 18035, "loc": { "start": { "line": 521, "column": 20 }, "end": { "line": 521, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 18036, "end": 18743, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 547, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 18043, "end": 18061, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18047, "end": 18060, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 21 } }, "id": { "type": "Identifier", "start": 18047, "end": 18060, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 18069, "end": 18130, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 526, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18072, "end": 18088, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 23 } }, "object": { "type": "ThisExpression", "start": 18072, "end": 18076, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 11 } } }, "property": { "type": "Identifier", "start": 18077, "end": 18088, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 23 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18089, "end": 18130, "loc": { "start": { "line": 524, "column": 24 }, "end": { "line": 526, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18098, "end": 18123, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 18098, "end": 18122, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18098, "end": 18114, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 22 } }, "object": { "type": "ThisExpression", "start": 18098, "end": 18102, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 10 } } }, "property": { "type": "Identifier", "start": 18103, "end": 18114, "loc": { "start": { "line": 525, "column": 11 }, "end": { "line": 525, "column": 22 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 18117, "end": 18122, "loc": { "start": { "line": 525, "column": 25 }, "end": { "line": 525, "column": 30 } }, "value": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 18138, "end": 18229, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 530, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18141, "end": 18161, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18141, "end": 18153, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 19 } }, "object": { "type": "Identifier", "start": 18141, "end": 18146, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 12 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18147, "end": 18153, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 19 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18154, "end": 18161, "loc": { "start": { "line": 528, "column": 20 }, "end": { "line": 528, "column": 27 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18162, "end": 18229, "loc": { "start": { "line": 528, "column": 28 }, "end": { "line": 530, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18171, "end": 18222, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 18171, "end": 18221, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 18171, "end": 18184, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "right": { "type": "CallExpression", "start": 18187, "end": 18221, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 18187, "end": 18219, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18187, "end": 18207, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18187, "end": 18199, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 34 } }, "object": { "type": "Identifier", "start": 18187, "end": 18192, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18193, "end": 18199, "loc": { "start": { "line": 529, "column": 28 }, "end": { "line": 529, "column": 34 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18200, "end": 18207, "loc": { "start": { "line": 529, "column": 35 }, "end": { "line": 529, "column": 42 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18208, "end": 18219, "loc": { "start": { "line": 529, "column": 43 }, "end": { "line": 529, "column": 54 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 18237, "end": 18738, "loc": { "start": { "line": 532, "column": 4 }, "end": { "line": 546, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 18248, "end": 18362, "loc": { "start": { "line": 533, "column": 6 }, "end": { "line": 535, "column": 43 } }, "left": { "type": "LogicalExpression", "start": 18249, "end": 18313, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 534, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 18249, "end": 18277, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 35 } }, "left": { "type": "Identifier", "start": 18249, "end": 18262, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 20 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18267, "end": 18277, "loc": { "start": { "line": 533, "column": 25 }, "end": { "line": 533, "column": 35 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 18288, "end": 18313, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 31 } }, "left": { "type": "Identifier", "start": 18288, "end": 18301, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18306, "end": 18313, "loc": { "start": { "line": 534, "column": 24 }, "end": { "line": 534, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } }, "extra": { "parenthesized": true, "parenStart": 18248 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 18325, "end": 18362, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18326, "end": 18362, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 43 } }, "object": { "type": "MemberExpression", "start": 18326, "end": 18338, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18326, "end": 18330, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 11 } } }, "property": { "type": "Identifier", "start": 18331, "end": 18338, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18339, "end": 18362, "loc": { "start": { "line": 535, "column": 20 }, "end": { "line": 535, "column": 43 }, "identifierName": "disableCaretPositioning" }, "name": "disableCaretPositioning" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 18369, "end": 18738, "loc": { "start": { "line": 536, "column": 5 }, "end": { "line": 546, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18534, "end": 18583, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 18534, "end": 18582, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18534, "end": 18552, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 24 } }, "object": { "type": "ThisExpression", "start": 18534, "end": 18538, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 18539, "end": 18552, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 24 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 18555, "end": 18582, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18555, "end": 18567, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 39 } }, "object": { "type": "Identifier", "start": 18555, "end": 18560, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 32 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18561, "end": 18567, "loc": { "start": { "line": 541, "column": 33 }, "end": { "line": 541, "column": 39 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18568, "end": 18582, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "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": 18378, "end": 18526, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 540, "column": 9 } } } ] }, { "type": "IfStatement", "start": 18593, "end": 18726, "loc": { "start": { "line": 543, "column": 6 }, "end": { "line": 545, "column": 7 } }, "test": { "type": "MemberExpression", "start": 18596, "end": 18614, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18596, "end": 18608, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 21 } }, "object": { "type": "ThisExpression", "start": 18596, "end": 18600, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 13 } } }, "property": { "type": "Identifier", "start": 18601, "end": 18608, "loc": { "start": { "line": 543, "column": 14 }, "end": { "line": 543, "column": 21 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18609, "end": 18614, "loc": { "start": { "line": 543, "column": 22 }, "end": { "line": 543, "column": 27 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18615, "end": 18726, "loc": { "start": { "line": 543, "column": 28 }, "end": { "line": 545, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 18626, "end": 18717, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 99 } }, "expression": { "type": "CallExpression", "start": 18626, "end": 18716, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 18626, "end": 18637, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 19 } }, "object": { "type": "Identifier", "start": 18626, "end": 18633, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18634, "end": 18637, "loc": { "start": { "line": 544, "column": 16 }, "end": { "line": 544, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18638, "end": 18650, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 32 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 18652, "end": 18679, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 61 } }, "object": { "type": "MemberExpression", "start": 18652, "end": 18664, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 46 } }, "object": { "type": "Identifier", "start": 18652, "end": 18657, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 39 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18658, "end": 18664, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 46 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18665, "end": 18679, "loc": { "start": { "line": 544, "column": 47 }, "end": { "line": 544, "column": 61 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 18681, "end": 18715, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 18681, "end": 18713, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 95 } }, "object": { "type": "MemberExpression", "start": 18681, "end": 18701, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 83 } }, "object": { "type": "MemberExpression", "start": 18681, "end": 18693, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 75 } }, "object": { "type": "Identifier", "start": 18681, "end": 18686, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 68 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18687, "end": 18693, "loc": { "start": { "line": 544, "column": 69 }, "end": { "line": 544, "column": 75 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18694, "end": 18701, "loc": { "start": { "line": 544, "column": 76 }, "end": { "line": 544, "column": 83 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18702, "end": 18713, "loc": { "start": { "line": 544, "column": 84 }, "end": { "line": 544, "column": 95 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 17896, "end": 18008, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 520, "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": 18749, "end": 18869, "loc": { "start": { "line": 549, "column": 2 }, "end": { "line": 551, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18873, "end": 19109, "loc": { "start": { "line": 552, "column": 2 }, "end": { "line": 564, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18873, "end": 18879, "loc": { "start": { "line": 552, "column": 2 }, "end": { "line": 552, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 18881, "end": 19109, "loc": { "start": { "line": 552, "column": 10 }, "end": { "line": 564, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18888, "end": 18953, "loc": { "start": { "line": 553, "column": 4 }, "end": { "line": 555, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18891, "end": 18909, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18891, "end": 18903, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18891, "end": 18895, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 11 } } }, "property": { "type": "Identifier", "start": 18896, "end": 18903, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18904, "end": 18909, "loc": { "start": { "line": 553, "column": 20 }, "end": { "line": 553, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18910, "end": 18953, "loc": { "start": { "line": 553, "column": 26 }, "end": { "line": 555, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18919, "end": 18946, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 33 } }, "expression": { "type": "CallExpression", "start": 18919, "end": 18945, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 18919, "end": 18930, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 17 } }, "object": { "type": "Identifier", "start": 18919, "end": 18926, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18927, "end": 18930, "loc": { "start": { "line": 554, "column": 14 }, "end": { "line": 554, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18931, "end": 18944, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "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": 18961, "end": 18996, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 559, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19002, "end": 19021, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 23 } }, "expression": { "type": "CallExpression", "start": 19002, "end": 19020, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 19002, "end": 19018, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19002, "end": 19006, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19007, "end": 19018, "loc": { "start": { "line": 560, "column": 9 }, "end": { "line": 560, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18961, "end": 18996, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 559, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19029, "end": 19104, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 563, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 19032, "end": 19073, "loc": { "start": { "line": 562, "column": 7 }, "end": { "line": 562, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 19032, "end": 19058, "loc": { "start": { "line": 562, "column": 7 }, "end": { "line": 562, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19039, "end": 19058, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 33 } }, "object": { "type": "MemberExpression", "start": 19039, "end": 19051, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19039, "end": 19043, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 18 } } }, "property": { "type": "Identifier", "start": 19044, "end": 19051, "loc": { "start": { "line": 562, "column": 19 }, "end": { "line": 562, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19052, "end": 19058, "loc": { "start": { "line": 562, "column": 27 }, "end": { "line": 562, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19063, "end": 19073, "loc": { "start": { "line": 562, "column": 38 }, "end": { "line": 562, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19082, "end": 19104, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 28 } }, "expression": { "type": "CallExpression", "start": 19082, "end": 19103, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 19082, "end": 19101, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 25 } }, "object": { "type": "MemberExpression", "start": 19082, "end": 19094, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19082, "end": 19086, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 10 } } }, "property": { "type": "Identifier", "start": 19087, "end": 19094, "loc": { "start": { "line": 563, "column": 11 }, "end": { "line": 563, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19095, "end": 19101, "loc": { "start": { "line": 563, "column": 19 }, "end": { "line": 563, "column": 25 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once simple-keyboard is rendered for the first time (on initialization).\r\n ", "start": 18749, "end": 18869, "loc": { "start": { "line": 549, "column": 2 }, "end": { "line": 551, "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": 19115, "end": 19233, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 568, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19237, "end": 19338, "loc": { "start": { "line": 569, "column": 2 }, "end": { "line": 572, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19237, "end": 19245, "loc": { "start": { "line": 569, "column": 2 }, "end": { "line": 569, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19247, "end": 19338, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 572, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19254, "end": 19333, "loc": { "start": { "line": 570, "column": 4 }, "end": { "line": 571, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 19257, "end": 19300, "loc": { "start": { "line": 570, "column": 7 }, "end": { "line": 570, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 19257, "end": 19285, "loc": { "start": { "line": 570, "column": 7 }, "end": { "line": 570, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19264, "end": 19285, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19264, "end": 19276, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19264, "end": 19268, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 18 } } }, "property": { "type": "Identifier", "start": 19269, "end": 19276, "loc": { "start": { "line": 570, "column": 19 }, "end": { "line": 570, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19277, "end": 19285, "loc": { "start": { "line": 570, "column": 27 }, "end": { "line": 570, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19290, "end": 19300, "loc": { "start": { "line": 570, "column": 40 }, "end": { "line": 570, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19309, "end": 19333, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 30 } }, "expression": { "type": "CallExpression", "start": 19309, "end": 19332, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 19309, "end": 19330, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 27 } }, "object": { "type": "MemberExpression", "start": 19309, "end": 19321, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19309, "end": 19313, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 10 } } }, "property": { "type": "Identifier", "start": 19314, "end": 19321, "loc": { "start": { "line": 571, "column": 11 }, "end": { "line": 571, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19322, "end": 19330, "loc": { "start": { "line": 571, "column": 19 }, "end": { "line": 571, "column": 27 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).\r\n ", "start": 19115, "end": 19233, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 568, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19343, "end": 19422, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 576, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 19426, "end": 19548, "loc": { "start": { "line": 577, "column": 2 }, "end": { "line": 580, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19426, "end": 19441, "loc": { "start": { "line": 577, "column": 2 }, "end": { "line": 577, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19443, "end": 19548, "loc": { "start": { "line": 577, "column": 19 }, "end": { "line": 580, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19450, "end": 19543, "loc": { "start": { "line": 578, "column": 4 }, "end": { "line": 579, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 19453, "end": 19503, "loc": { "start": { "line": 578, "column": 7 }, "end": { "line": 578, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 19453, "end": 19488, "loc": { "start": { "line": 578, "column": 7 }, "end": { "line": 578, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19460, "end": 19488, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 42 } }, "object": { "type": "MemberExpression", "start": 19460, "end": 19472, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19460, "end": 19464, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 18 } } }, "property": { "type": "Identifier", "start": 19465, "end": 19472, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19473, "end": 19488, "loc": { "start": { "line": 578, "column": 27 }, "end": { "line": 578, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19493, "end": 19503, "loc": { "start": { "line": 578, "column": 47 }, "end": { "line": 578, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19512, "end": 19543, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19512, "end": 19542, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 19512, "end": 19540, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19512, "end": 19524, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19512, "end": 19516, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 10 } } }, "property": { "type": "Identifier", "start": 19517, "end": 19524, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19525, "end": 19540, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 34 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19343, "end": 19422, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 576, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19554, "end": 19586, "loc": { "start": { "line": 582, "column": 2 }, "end": { "line": 584, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 19590, "end": 19739, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 590, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19590, "end": 19604, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 585, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 19607, "end": 19739, "loc": { "start": { "line": 585, "column": 19 }, "end": { "line": 590, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19608, "end": 19612, "loc": { "start": { "line": 585, "column": 20 }, "end": { "line": 585, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 19614, "end": 19626, "loc": { "start": { "line": 585, "column": 26 }, "end": { "line": 585, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 19631, "end": 19739, "loc": { "start": { "line": 585, "column": 43 }, "end": { "line": 590, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19638, "end": 19693, "loc": { "start": { "line": 586, "column": 4 }, "end": { "line": 587, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 19641, "end": 19660, "loc": { "start": { "line": 586, "column": 7 }, "end": { "line": 586, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 19642, "end": 19660, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19642, "end": 19654, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19642, "end": 19646, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 12 } } }, "property": { "type": "Identifier", "start": 19647, "end": 19654, "loc": { "start": { "line": 586, "column": 13 }, "end": { "line": 586, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19655, "end": 19659, "loc": { "start": { "line": 586, "column": 21 }, "end": { "line": 586, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 19669, "end": 19693, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 19669, "end": 19692, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19669, "end": 19687, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 24 } }, "object": { "type": "MemberExpression", "start": 19669, "end": 19681, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19669, "end": 19673, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 10 } } }, "property": { "type": "Identifier", "start": 19674, "end": 19681, "loc": { "start": { "line": 587, "column": 11 }, "end": { "line": 587, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19682, "end": 19686, "loc": { "start": { "line": 587, "column": 19 }, "end": { "line": 587, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 19690, "end": 19692, "loc": { "start": { "line": 587, "column": 27 }, "end": { "line": 587, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 19701, "end": 19734, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 37 } }, "expression": { "type": "CallExpression", "start": 19701, "end": 19733, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 36 } }, "callee": { "type": "Identifier", "start": 19701, "end": 19713, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 19714, "end": 19732, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19714, "end": 19726, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 29 } }, "object": { "type": "ThisExpression", "start": 19714, "end": 19718, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 21 } } }, "property": { "type": "Identifier", "start": 19719, "end": 19726, "loc": { "start": { "line": 589, "column": 22 }, "end": { "line": 589, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19727, "end": 19731, "loc": { "start": { "line": 589, "column": 30 }, "end": { "line": 589, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19554, "end": 19586, "loc": { "start": { "line": 582, "column": 2 }, "end": { "line": 584, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19745, "end": 19774, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19778, "end": 20419, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 614, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19778, "end": 19789, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19791, "end": 20419, "loc": { "start": { "line": 595, "column": 15 }, "end": { "line": 614, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19798, "end": 20414, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 613, "column": 5 } }, "test": { "type": "CallExpression", "start": 19801, "end": 19836, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 19801, "end": 19814, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 20 } }, "object": { "type": "Identifier", "start": 19801, "end": 19806, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 19807, "end": 19814, "loc": { "start": { "line": 596, "column": 13 }, "end": { "line": 596, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 19815, "end": 19835, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 41 } }, "object": { "type": "MemberExpression", "start": 19815, "end": 19827, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 33 } }, "object": { "type": "ThisExpression", "start": 19815, "end": 19819, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 25 } } }, "property": { "type": "Identifier", "start": 19820, "end": 19827, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19828, "end": 19835, "loc": { "start": { "line": 596, "column": 34 }, "end": { "line": 596, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 19837, "end": 20414, "loc": { "start": { "line": 596, "column": 43 }, "end": { "line": 613, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19846, "end": 20266, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 607, "column": 9 } }, "expression": { "type": "CallExpression", "start": 19846, "end": 20265, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 607, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 19846, "end": 19874, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19846, "end": 19866, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 26 } }, "object": { "type": "MemberExpression", "start": 19846, "end": 19858, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19846, "end": 19850, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 10 } } }, "property": { "type": "Identifier", "start": 19851, "end": 19858, "loc": { "start": { "line": 597, "column": 11 }, "end": { "line": 597, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19859, "end": 19866, "loc": { "start": { "line": 597, "column": 19 }, "end": { "line": 597, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 19867, "end": 19874, "loc": { "start": { "line": 597, "column": 27 }, "end": { "line": 597, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 19875, "end": 20264, "loc": { "start": { "line": 597, "column": 35 }, "end": { "line": 607, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 19875, "end": 19881, "loc": { "start": { "line": 597, "column": 35 }, "end": { "line": 597, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 19885, "end": 20264, "loc": { "start": { "line": 597, "column": 45 }, "end": { "line": 607, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 19896, "end": 19922, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19900, "end": 19921, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 33 } }, "id": { "type": "Identifier", "start": 19900, "end": 19906, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 19909, "end": 19921, "loc": { "start": { "line": 598, "column": 21 }, "end": { "line": 598, "column": 33 } }, "callee": { "type": "Identifier", "start": 19913, "end": 19919, "loc": { "start": { "line": 598, "column": 25 }, "end": { "line": 598, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19934, "end": 19960, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 34 } } } ] }, { "type": "IfStatement", "start": 19970, "end": 20225, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 604, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 19973, "end": 20038, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 76 } }, "left": { "type": "MemberExpression", "start": 19973, "end": 19996, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 34 } }, "object": { "type": "MemberExpression", "start": 19973, "end": 19991, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 29 } }, "object": { "type": "Identifier", "start": 19973, "end": 19979, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 19980, "end": 19991, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 19992, "end": 19996, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 20000, "end": 20038, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 76 } }, "left": { "type": "MemberExpression", "start": 20000, "end": 20023, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 61 } }, "object": { "type": "MemberExpression", "start": 20000, "end": 20018, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 56 } }, "object": { "type": "Identifier", "start": 20000, "end": 20006, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20007, "end": 20018, "loc": { "start": { "line": 601, "column": 45 }, "end": { "line": 601, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20019, "end": 20023, "loc": { "start": { "line": 601, "column": 57 }, "end": { "line": 601, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 20028, "end": 20038, "loc": { "start": { "line": 601, "column": 66 }, "end": { "line": 601, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20039, "end": 20225, "loc": { "start": { "line": 601, "column": 77 }, "end": { "line": 604, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20052, "end": 20129, "loc": { "start": { "line": 602, "column": 10 }, "end": { "line": 602, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20056, "end": 20128, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 86 } }, "id": { "type": "Identifier", "start": 20056, "end": 20064, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 20067, "end": 20128, "loc": { "start": { "line": 602, "column": 25 }, "end": { "line": 602, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 20077, "end": 20126, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 20077, "end": 20101, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 59 } }, "object": { "type": "MemberExpression", "start": 20077, "end": 20091, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 49 } }, "object": { "type": "ThisExpression", "start": 20077, "end": 20081, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 39 } } }, "property": { "type": "Identifier", "start": 20082, "end": 20091, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 20092, "end": 20101, "loc": { "start": { "line": 602, "column": 50 }, "end": { "line": 602, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20102, "end": 20125, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 83 } }, "object": { "type": "MemberExpression", "start": 20102, "end": 20120, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 78 } }, "object": { "type": "Identifier", "start": 20102, "end": 20108, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20109, "end": 20120, "loc": { "start": { "line": 602, "column": 67 }, "end": { "line": 602, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20121, "end": 20125, "loc": { "start": { "line": 602, "column": 79 }, "end": { "line": 602, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 20068, "end": 20075, "loc": { "start": { "line": 602, "column": 26 }, "end": { "line": 602, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 20127, "end": 20127, "loc": { "start": { "line": 602, "column": 85 }, "end": { "line": 602, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 20141, "end": 20214, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 20141, "end": 20213, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20141, "end": 20167, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 36 } }, "object": { "type": "ThisExpression", "start": 20141, "end": 20145, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 14 } } }, "property": { "type": "Identifier", "start": 20146, "end": 20167, "loc": { "start": { "line": 603, "column": 15 }, "end": { "line": 603, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20170, "end": 20213, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 82 } }, "left": { "type": "MemberExpression", "start": 20170, "end": 20196, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 65 } }, "object": { "type": "ThisExpression", "start": 20170, "end": 20174, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 43 } } }, "property": { "type": "Identifier", "start": 20175, "end": 20196, "loc": { "start": { "line": 603, "column": 44 }, "end": { "line": 603, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 20199, "end": 20213, "loc": { "start": { "line": 603, "column": 68 }, "end": { "line": 603, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 20203, "end": 20211, "loc": { "start": { "line": 603, "column": 72 }, "end": { "line": 603, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 20200, "end": 20201, "loc": { "start": { "line": 603, "column": 69 }, "end": { "line": 603, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20212, "end": 20212, "loc": { "start": { "line": 603, "column": 81 }, "end": { "line": 603, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19934, "end": 19960, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 20237, "end": 20255, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 26 } }, "expression": { "type": "CallExpression", "start": 20237, "end": 20254, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 20237, "end": 20248, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 19 } }, "object": { "type": "Identifier", "start": 20237, "end": 20243, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20244, "end": 20248, "loc": { "start": { "line": 606, "column": 15 }, "end": { "line": 606, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 20249, "end": 20253, "loc": { "start": { "line": 606, "column": 20 }, "end": { "line": 606, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 20276, "end": 20352, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 20276, "end": 20351, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20276, "end": 20302, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 32 } }, "object": { "type": "ThisExpression", "start": 20276, "end": 20280, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 10 } } }, "property": { "type": "Identifier", "start": 20281, "end": 20302, "loc": { "start": { "line": 609, "column": 11 }, "end": { "line": 609, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20305, "end": 20351, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 81 } }, "left": { "type": "MemberExpression", "start": 20305, "end": 20331, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20305, "end": 20309, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 39 } } }, "property": { "type": "Identifier", "start": 20310, "end": 20331, "loc": { "start": { "line": 609, "column": 40 }, "end": { "line": 609, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 20334, "end": 20351, "loc": { "start": { "line": 609, "column": 64 }, "end": { "line": 609, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 20362, "end": 20376, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 20 } }, "expression": { "type": "CallExpression", "start": 20362, "end": 20375, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 20362, "end": 20373, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 17 } }, "object": { "type": "ThisExpression", "start": 20362, "end": 20366, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 10 } } }, "property": { "type": "Identifier", "start": 20367, "end": 20373, "loc": { "start": { "line": 611, "column": 11 }, "end": { "line": 611, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 20384, "end": 20407, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 29 } }, "expression": { "type": "CallExpression", "start": 20384, "end": 20406, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 20384, "end": 20404, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20384, "end": 20388, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 10 } } }, "property": { "type": "Identifier", "start": 20389, "end": 20404, "loc": { "start": { "line": 612, "column": 11 }, "end": { "line": 612, "column": 26 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19745, "end": 19774, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20425, "end": 20457, "loc": { "start": { "line": 616, "column": 2 }, "end": { "line": 618, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20461, "end": 20593, "loc": { "start": { "line": 619, "column": 2 }, "end": { "line": 624, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20461, "end": 20474, "loc": { "start": { "line": 619, "column": 2 }, "end": { "line": 619, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20477, "end": 20593, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 624, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20478, "end": 20482, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 20484, "end": 20488, "loc": { "start": { "line": 619, "column": 25 }, "end": { "line": 619, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 20493, "end": 20593, "loc": { "start": { "line": 619, "column": 34 }, "end": { "line": 624, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20500, "end": 20544, "loc": { "start": { "line": 620, "column": 4 }, "end": { "line": 621, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 20503, "end": 20522, "loc": { "start": { "line": 620, "column": 7 }, "end": { "line": 620, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 20504, "end": 20522, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20504, "end": 20516, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20504, "end": 20508, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 12 } } }, "property": { "type": "Identifier", "start": 20509, "end": 20516, "loc": { "start": { "line": 620, "column": 13 }, "end": { "line": 620, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20517, "end": 20521, "loc": { "start": { "line": 620, "column": 21 }, "end": { "line": 620, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 20531, "end": 20544, "loc": { "start": { "line": 621, "column": 6 }, "end": { "line": 621, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 20538, "end": 20543, "loc": { "start": { "line": 621, "column": 13 }, "end": { "line": 621, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 20556, "end": 20588, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 20563, "end": 20587, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 35 } }, "object": { "type": "MemberExpression", "start": 20563, "end": 20581, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 29 } }, "object": { "type": "MemberExpression", "start": 20563, "end": 20575, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 23 } }, "object": { "type": "ThisExpression", "start": 20563, "end": 20567, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 15 } } }, "property": { "type": "Identifier", "start": 20568, "end": 20575, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20576, "end": 20580, "loc": { "start": { "line": 623, "column": 24 }, "end": { "line": 623, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 20582, "end": 20586, "loc": { "start": { "line": 623, "column": 30 }, "end": { "line": 623, "column": 34 }, "identifierName": "prop" }, "name": "prop" }, "computed": true } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20425, "end": 20457, "loc": { "start": { "line": 616, "column": 2 }, "end": { "line": 618, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20599, "end": 20630, "loc": { "start": { "line": 626, "column": 2 }, "end": { "line": 628, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20634, "end": 20702, "loc": { "start": { "line": 629, "column": 2 }, "end": { "line": 631, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20634, "end": 20648, "loc": { "start": { "line": 629, "column": 2 }, "end": { "line": 629, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20651, "end": 20702, "loc": { "start": { "line": 629, "column": 19 }, "end": { "line": 631, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20657, "end": 20702, "loc": { "start": { "line": 629, "column": 25 }, "end": { "line": 631, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 20664, "end": 20697, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 37 } }, "argument": { "type": "CallExpression", "start": 20671, "end": 20696, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 20671, "end": 20682, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 22 } }, "object": { "type": "Identifier", "start": 20671, "end": 20677, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 20678, "end": 20682, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20683, "end": 20695, "loc": { "start": { "line": 630, "column": 23 }, "end": { "line": 630, "column": 35 } }, "object": { "type": "ThisExpression", "start": 20683, "end": 20687, "loc": { "start": { "line": 630, "column": 23 }, "end": { "line": 630, "column": 27 } } }, "property": { "type": "Identifier", "start": 20688, "end": 20695, "loc": { "start": { "line": 630, "column": 28 }, "end": { "line": 630, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20599, "end": 20630, "loc": { "start": { "line": 626, "column": 2 }, "end": { "line": 628, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20708, "end": 20764, "loc": { "start": { "line": 633, "column": 2 }, "end": { "line": 635, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20768, "end": 25762, "loc": { "start": { "line": 636, "column": 2 }, "end": { "line": 797, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20768, "end": 20774, "loc": { "start": { "line": 636, "column": 2 }, "end": { "line": 636, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20776, "end": 25762, "loc": { "start": { "line": 636, "column": 10 }, "end": { "line": 797, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 20824, "end": 20837, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 17 } }, "expression": { "type": "CallExpression", "start": 20824, "end": 20836, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 20824, "end": 20834, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 14 } }, "object": { "type": "ThisExpression", "start": 20824, "end": 20828, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 20829, "end": 20834, "loc": { "start": { "line": 640, "column": 9 }, "end": { "line": 640, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20783, "end": 20818, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 639, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 20845, "end": 20945, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 642, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20849, "end": 20944, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 103 } }, "id": { "type": "Identifier", "start": 20849, "end": 20860, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 20863, "end": 20944, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 103 } }, "test": { "type": "MemberExpression", "start": 20863, "end": 20882, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20863, "end": 20875, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 34 } }, "object": { "type": "ThisExpression", "start": 20863, "end": 20867, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 26 } } }, "property": { "type": "Identifier", "start": 20868, "end": 20875, "loc": { "start": { "line": 642, "column": 27 }, "end": { "line": 642, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20876, "end": 20882, "loc": { "start": { "line": 642, "column": 35 }, "end": { "line": 642, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 20885, "end": 20903, "loc": { "start": { "line": 642, "column": 44 }, "end": { "line": 642, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 20906, "end": 20944, "loc": { "start": { "line": 642, "column": 65 }, "end": { "line": 642, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 20919, "end": 20942, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 101 } }, "object": { "type": "MemberExpression", "start": 20919, "end": 20931, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 90 } }, "object": { "type": "ThisExpression", "start": 20919, "end": 20923, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 82 } } }, "property": { "type": "Identifier", "start": 20924, "end": 20931, "loc": { "start": { "line": 642, "column": 83 }, "end": { "line": 642, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20932, "end": 20942, "loc": { "start": { "line": 642, "column": 91 }, "end": { "line": 642, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 20907, "end": 20917, "loc": { "start": { "line": 642, "column": 66 }, "end": { "line": 642, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 20943, "end": 20943, "loc": { "start": { "line": 642, "column": 102 }, "end": { "line": 642, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 20951, "end": 21021, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 643, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20955, "end": 21020, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 73 } }, "id": { "type": "Identifier", "start": 20955, "end": 20961, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 20964, "end": 21020, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 73 } }, "left": { "type": "MemberExpression", "start": 20964, "end": 20983, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 36 } }, "object": { "type": "MemberExpression", "start": 20964, "end": 20976, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20964, "end": 20968, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 21 } } }, "property": { "type": "Identifier", "start": 20969, "end": 20976, "loc": { "start": { "line": 643, "column": 22 }, "end": { "line": 643, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20977, "end": 20983, "loc": { "start": { "line": 643, "column": 30 }, "end": { "line": 643, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 20987, "end": 21020, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 20987, "end": 21018, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 71 } }, "object": { "type": "Identifier", "start": 20987, "end": 21001, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 21002, "end": 21018, "loc": { "start": { "line": 643, "column": 55 }, "end": { "line": 643, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21027, "end": 21084, "loc": { "start": { "line": 644, "column": 4 }, "end": { "line": 644, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21031, "end": 21084, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 61 } }, "id": { "type": "Identifier", "start": 21031, "end": 21045, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 22 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "init": { "type": "LogicalExpression", "start": 21048, "end": 21084, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 61 } }, "left": { "type": "MemberExpression", "start": 21048, "end": 21075, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 52 } }, "object": { "type": "MemberExpression", "start": 21048, "end": 21060, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 37 } }, "object": { "type": "ThisExpression", "start": 21048, "end": 21052, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 29 } } }, "property": { "type": "Identifier", "start": 21053, "end": 21060, "loc": { "start": { "line": 644, "column": 30 }, "end": { "line": 644, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21061, "end": 21075, "loc": { "start": { "line": 644, "column": 38 }, "end": { "line": 644, "column": 52 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "computed": false }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 21079, "end": 21084, "loc": { "start": { "line": 644, "column": 56 }, "end": { "line": 644, "column": 61 } }, "value": false, "leadingComments": null, "trailingComments": null }, "trailingComments": null }, "trailingComments": null } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21092, "end": 21144, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 648, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 21150, "end": 21178, "loc": { "start": { "line": 649, "column": 4 }, "end": { "line": 649, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21154, "end": 21177, "loc": { "start": { "line": 649, "column": 8 }, "end": { "line": 649, "column": 31 } }, "id": { "type": "Identifier", "start": 21154, "end": 21172, "loc": { "start": { "line": 649, "column": 8 }, "end": { "line": 649, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 21175, "end": 21177, "loc": { "start": { "line": 649, "column": 29 }, "end": { "line": 649, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21092, "end": 21144, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 648, "column": 7 } } } ] }, { "type": "IfStatement", "start": 21184, "end": 22323, "loc": { "start": { "line": 650, "column": 4 }, "end": { "line": 678, "column": 5 } }, "test": { "type": "CallExpression", "start": 21187, "end": 21226, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 21187, "end": 21200, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 20 } }, "object": { "type": "Identifier", "start": 21187, "end": 21192, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 21193, "end": 21200, "loc": { "start": { "line": 650, "column": 13 }, "end": { "line": 650, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21201, "end": 21225, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 45 } }, "object": { "type": "MemberExpression", "start": 21201, "end": 21213, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 33 } }, "object": { "type": "ThisExpression", "start": 21201, "end": 21205, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 25 } } }, "property": { "type": "Identifier", "start": 21206, "end": 21213, "loc": { "start": { "line": 650, "column": 26 }, "end": { "line": 650, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21214, "end": 21225, "loc": { "start": { "line": 650, "column": 34 }, "end": { "line": 650, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 21227, "end": 22323, "loc": { "start": { "line": 650, "column": 47 }, "end": { "line": 678, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 21236, "end": 22316, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 677, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21236, "end": 22315, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 677, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21236, "end": 21268, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 38 } }, "object": { "type": "MemberExpression", "start": 21236, "end": 21260, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21236, "end": 21248, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 18 } }, "object": { "type": "ThisExpression", "start": 21236, "end": 21240, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 10 } } }, "property": { "type": "Identifier", "start": 21241, "end": 21248, "loc": { "start": { "line": 651, "column": 11 }, "end": { "line": 651, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21249, "end": 21260, "loc": { "start": { "line": 651, "column": 19 }, "end": { "line": 651, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 21261, "end": 21268, "loc": { "start": { "line": 651, "column": 31 }, "end": { "line": 651, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21269, "end": 22314, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 677, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21269, "end": 21277, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 651, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 21281, "end": 22314, "loc": { "start": { "line": 651, "column": 51 }, "end": { "line": 677, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 21292, "end": 22305, "loc": { "start": { "line": 652, "column": 8 }, "end": { "line": 676, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 21295, "end": 21329, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 45 } }, "left": { "type": "MemberExpression", "start": 21295, "end": 21311, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 27 } }, "object": { "type": "Identifier", "start": 21295, "end": 21303, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21304, "end": 21311, "loc": { "start": { "line": 652, "column": 20 }, "end": { "line": 652, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 21315, "end": 21329, "loc": { "start": { "line": 652, "column": 31 }, "end": { "line": 652, "column": 45 } }, "object": { "type": "Identifier", "start": 21315, "end": 21323, "loc": { "start": { "line": 652, "column": 31 }, "end": { "line": 652, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21324, "end": 21329, "loc": { "start": { "line": 652, "column": 40 }, "end": { "line": 652, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 21330, "end": 22171, "loc": { "start": { "line": 652, "column": 46 }, "end": { "line": 674, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 21343, "end": 21360, "loc": { "start": { "line": 653, "column": 10 }, "end": { "line": 653, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21347, "end": 21359, "loc": { "start": { "line": 653, "column": 14 }, "end": { "line": 653, "column": 26 } }, "id": { "type": "Identifier", "start": 21347, "end": 21359, "loc": { "start": { "line": 653, "column": 14 }, "end": { "line": 653, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 21374, "end": 21485, "loc": { "start": { "line": 655, "column": 10 }, "end": { "line": 657, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 21377, "end": 21413, "loc": { "start": { "line": 655, "column": 13 }, "end": { "line": 655, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 21377, "end": 21400, "loc": { "start": { "line": 655, "column": 13 }, "end": { "line": 655, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 21384, "end": 21400, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 36 } }, "object": { "type": "Identifier", "start": 21384, "end": 21392, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21393, "end": 21400, "loc": { "start": { "line": 655, "column": 29 }, "end": { "line": 655, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 21405, "end": 21413, "loc": { "start": { "line": 655, "column": 41 }, "end": { "line": 655, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 21414, "end": 21485, "loc": { "start": { "line": 655, "column": 50 }, "end": { "line": 657, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21429, "end": 21472, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 21429, "end": 21471, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 21429, "end": 21441, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 21444, "end": 21471, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 21444, "end": 21466, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 49 } }, "object": { "type": "MemberExpression", "start": 21444, "end": 21460, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 43 } }, "object": { "type": "Identifier", "start": 21444, "end": 21452, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21453, "end": 21460, "loc": { "start": { "line": 656, "column": 36 }, "end": { "line": 656, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 21461, "end": 21466, "loc": { "start": { "line": 656, "column": 44 }, "end": { "line": 656, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21467, "end": 21470, "loc": { "start": { "line": 656, "column": 50 }, "end": { "line": 656, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 21499, "end": 22160, "loc": { "start": { "line": 659, "column": 10 }, "end": { "line": 673, "column": 11 } }, "test": { "type": "Identifier", "start": 21502, "end": 21514, "loc": { "start": { "line": 659, "column": 13 }, "end": { "line": 659, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 21515, "end": 22160, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 673, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21530, "end": 22147, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 672, "column": 15 } }, "expression": { "type": "CallExpression", "start": 21530, "end": 22146, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 672, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 21530, "end": 21550, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 32 } }, "object": { "type": "Identifier", "start": 21530, "end": 21542, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 21543, "end": 21550, "loc": { "start": { "line": 660, "column": 25 }, "end": { "line": 660, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21551, "end": 22145, "loc": { "start": { "line": 660, "column": 33 }, "end": { "line": 672, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21551, "end": 21562, "loc": { "start": { "line": 660, "column": 33 }, "end": { "line": 660, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 21566, "end": 22145, "loc": { "start": { "line": 660, "column": 48 }, "end": { "line": 672, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 21583, "end": 21633, "loc": { "start": { "line": 661, "column": 14 }, "end": { "line": 661, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21587, "end": 21632, "loc": { "start": { "line": 661, "column": 18 }, "end": { "line": 661, "column": 63 } }, "id": { "type": "Identifier", "start": 21587, "end": 21598, "loc": { "start": { "line": 661, "column": 18 }, "end": { "line": 661, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 21601, "end": 21632, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 63 } }, "object": { "type": "Identifier", "start": 21601, "end": 21619, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21620, "end": 21631, "loc": { "start": { "line": 661, "column": 51 }, "end": { "line": 661, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21651, "end": 21690, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "column": 53 } } } ] }, { "type": "IfStatement", "start": 21706, "end": 22130, "loc": { "start": { "line": 664, "column": 14 }, "end": { "line": 671, "column": 15 } }, "test": { "type": "Identifier", "start": 21709, "end": 21720, "loc": { "start": { "line": 664, "column": 17 }, "end": { "line": 664, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21721, "end": 22039, "loc": { "start": { "line": 664, "column": 29 }, "end": { "line": 669, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 21841, "end": 22022, "loc": { "start": { "line": 666, "column": 16 }, "end": { "line": 668, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 21844, "end": 21912, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 21845, "end": 21912, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 21845, "end": 21872, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 47 } }, "object": { "type": "MemberExpression", "start": 21845, "end": 21859, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21845, "end": 21849, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21850, "end": 21859, "loc": { "start": { "line": 666, "column": 25 }, "end": { "line": 666, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 21860, "end": 21872, "loc": { "start": { "line": 666, "column": 35 }, "end": { "line": 666, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 21873, "end": 21895, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 21873, "end": 21890, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 65 } }, "object": { "type": "Identifier", "start": 21873, "end": 21884, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 21885, "end": 21890, "loc": { "start": { "line": 666, "column": 60 }, "end": { "line": 666, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 21891, "end": 21894, "loc": { "start": { "line": 666, "column": 66 }, "end": { "line": 666, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 21897, "end": 21911, "loc": { "start": { "line": 666, "column": 72 }, "end": { "line": 666, "column": 86 } }, "object": { "type": "Identifier", "start": 21897, "end": 21905, "loc": { "start": { "line": 666, "column": 72 }, "end": { "line": 666, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21906, "end": 21911, "loc": { "start": { "line": 666, "column": 81 }, "end": { "line": 666, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 21913, "end": 22022, "loc": { "start": { "line": 666, "column": 88 }, "end": { "line": 668, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 21934, "end": 22003, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 21934, "end": 22002, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 21934, "end": 21965, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 49 } }, "object": { "type": "Identifier", "start": 21934, "end": 21952, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 21953, "end": 21964, "loc": { "start": { "line": 667, "column": 37 }, "end": { "line": 667, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 21968, "end": 22002, "loc": { "start": { "line": 667, "column": 52 }, "end": { "line": 667, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 21971, "end": 21982, "loc": { "start": { "line": 667, "column": 55 }, "end": { "line": 667, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 21986, "end": 22000, "loc": { "start": { "line": 667, "column": 70 }, "end": { "line": 667, "column": 84 } }, "object": { "type": "Identifier", "start": 21986, "end": 21994, "loc": { "start": { "line": 667, "column": 70 }, "end": { "line": 667, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21995, "end": 22000, "loc": { "start": { "line": 667, "column": 79 }, "end": { "line": 667, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21969, "end": 21969, "loc": { "start": { "line": 667, "column": 53 }, "end": { "line": 667, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 21983, "end": 21984, "loc": { "start": { "line": 667, "column": 67 }, "end": { "line": 667, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22001, "end": 22001, "loc": { "start": { "line": 667, "column": 85 }, "end": { "line": 667, "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": 21740, "end": 21823, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22045, "end": 22130, "loc": { "start": { "line": 669, "column": 21 }, "end": { "line": 671, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 22064, "end": 22113, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 22064, "end": 22112, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22064, "end": 22095, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 47 } }, "object": { "type": "Identifier", "start": 22064, "end": 22082, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22083, "end": 22094, "loc": { "start": { "line": 670, "column": 35 }, "end": { "line": 670, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 22098, "end": 22112, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 670, "column": 64 } }, "object": { "type": "Identifier", "start": 22098, "end": 22106, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 670, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22107, "end": 22112, "loc": { "start": { "line": 670, "column": 59 }, "end": { "line": 670, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 21651, "end": 21690, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22177, "end": 22305, "loc": { "start": { "line": 674, "column": 15 }, "end": { "line": 676, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 22190, "end": 22294, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 114 } }, "expression": { "type": "CallExpression", "start": 22190, "end": 22294, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 22190, "end": 22202, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 22 } }, "object": { "type": "Identifier", "start": 22190, "end": 22197, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 22198, "end": 22202, "loc": { "start": { "line": 675, "column": 18 }, "end": { "line": 675, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 22203, "end": 22293, "loc": { "start": { "line": 675, "column": 23 }, "end": { "line": 675, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 22204, "end": 22292, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "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": 22331, "end": 22397, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 682, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22403, "end": 22503, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 22403, "end": 22502, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22403, "end": 22429, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22403, "end": 22419, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 20 } }, "object": { "type": "ThisExpression", "start": 22403, "end": 22407, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22408, "end": 22419, "loc": { "start": { "line": 683, "column": 9 }, "end": { "line": 683, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22420, "end": 22429, "loc": { "start": { "line": 683, "column": 21 }, "end": { "line": 683, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 22433, "end": 22502, "loc": { "start": { "line": 683, "column": 34 }, "end": { "line": 683, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 22437, "end": 22455, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22437, "end": 22449, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 50 } }, "object": { "type": "ThisExpression", "start": 22437, "end": 22441, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 42 } } }, "property": { "type": "Identifier", "start": 22442, "end": 22449, "loc": { "start": { "line": 683, "column": 43 }, "end": { "line": 683, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22450, "end": 22455, "loc": { "start": { "line": 683, "column": 51 }, "end": { "line": 683, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 22459, "end": 22470, "loc": { "start": { "line": 683, "column": 60 }, "end": { "line": 683, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 22474, "end": 22500, "loc": { "start": { "line": 683, "column": 75 }, "end": { "line": 683, "column": 101 } }, "object": { "type": "ThisExpression", "start": 22474, "end": 22478, "loc": { "start": { "line": 683, "column": 75 }, "end": { "line": 683, "column": 79 } } }, "property": { "type": "Identifier", "start": 22479, "end": 22500, "loc": { "start": { "line": 683, "column": 80 }, "end": { "line": 683, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22434, "end": 22435, "loc": { "start": { "line": 683, "column": 35 }, "end": { "line": 683, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22456, "end": 22457, "loc": { "start": { "line": 683, "column": 57 }, "end": { "line": 683, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22471, "end": 22472, "loc": { "start": { "line": 683, "column": 72 }, "end": { "line": 683, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22501, "end": 22501, "loc": { "start": { "line": 683, "column": 102 }, "end": { "line": 683, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22331, "end": 22397, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 682, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22511, "end": 22558, "loc": { "start": { "line": 685, "column": 4 }, "end": { "line": 687, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22564, "end": 25306, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 772, "column": 7 } }, "expression": { "type": "CallExpression", "start": 22564, "end": 25305, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 772, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 22564, "end": 22603, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 43 } }, "object": { "type": "MemberExpression", "start": 22564, "end": 22595, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 35 } }, "object": { "type": "Identifier", "start": 22564, "end": 22570, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 22571, "end": 22594, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 34 } }, "object": { "type": "MemberExpression", "start": 22571, "end": 22583, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 23 } }, "object": { "type": "ThisExpression", "start": 22571, "end": 22575, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 15 } } }, "property": { "type": "Identifier", "start": 22576, "end": 22583, "loc": { "start": { "line": 688, "column": 16 }, "end": { "line": 688, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 22584, "end": 22594, "loc": { "start": { "line": 688, "column": 24 }, "end": { "line": 688, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 22596, "end": 22603, "loc": { "start": { "line": 688, "column": 36 }, "end": { "line": 688, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22604, "end": 25304, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 772, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22605, "end": 22608, "loc": { "start": { "line": 688, "column": 45 }, "end": { "line": 688, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 22610, "end": 22616, "loc": { "start": { "line": 688, "column": 50 }, "end": { "line": 688, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 22621, "end": 25304, "loc": { "start": { "line": 688, "column": 61 }, "end": { "line": 772, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 22630, "end": 22660, "loc": { "start": { "line": 689, "column": 6 }, "end": { "line": 689, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22634, "end": 22659, "loc": { "start": { "line": 689, "column": 10 }, "end": { "line": 689, "column": 35 } }, "id": { "type": "Identifier", "start": 22634, "end": 22642, "loc": { "start": { "line": 689, "column": 10 }, "end": { "line": 689, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 22645, "end": 22659, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 22645, "end": 22654, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 30 } }, "object": { "type": "Identifier", "start": 22645, "end": 22648, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 22649, "end": 22654, "loc": { "start": { "line": 689, "column": 25 }, "end": { "line": 689, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22655, "end": 22658, "loc": { "start": { "line": 689, "column": 31 }, "end": { "line": 689, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22670, "end": 22713, "loc": { "start": { "line": 691, "column": 6 }, "end": { "line": 693, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 22721, "end": 22764, "loc": { "start": { "line": 694, "column": 6 }, "end": { "line": 694, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22725, "end": 22763, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 48 } }, "id": { "type": "Identifier", "start": 22725, "end": 22731, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 22734, "end": 22763, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 22734, "end": 22756, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 41 } }, "object": { "type": "Identifier", "start": 22734, "end": 22742, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 22743, "end": 22756, "loc": { "start": { "line": 694, "column": 28 }, "end": { "line": 694, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22757, "end": 22762, "loc": { "start": { "line": 694, "column": 42 }, "end": { "line": 694, "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": 22670, "end": 22713, "loc": { "start": { "line": 691, "column": 6 }, "end": { "line": 693, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22772, "end": 22801, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 22772, "end": 22800, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22772, "end": 22788, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 22 } }, "object": { "type": "Identifier", "start": 22772, "end": 22778, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 22779, "end": 22788, "loc": { "start": { "line": 695, "column": 13 }, "end": { "line": 695, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 22792, "end": 22800, "loc": { "start": { "line": 695, "column": 26 }, "end": { "line": 695, "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": 22811, "end": 22872, "loc": { "start": { "line": 697, "column": 6 }, "end": { "line": 699, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 22880, "end": 25192, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 766, "column": 9 } }, "expression": { "type": "CallExpression", "start": 22880, "end": 25191, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 766, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 22880, "end": 22896, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 700, "column": 22 } }, "object": { "type": "Identifier", "start": 22880, "end": 22888, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 700, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 22889, "end": 22896, "loc": { "start": { "line": 700, "column": 15 }, "end": { "line": 700, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22897, "end": 25190, "loc": { "start": { "line": 700, "column": 23 }, "end": { "line": 766, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22898, "end": 22904, "loc": { "start": { "line": 700, "column": 24 }, "end": { "line": 700, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 22906, "end": 22912, "loc": { "start": { "line": 700, "column": 32 }, "end": { "line": 700, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 22917, "end": 25190, "loc": { "start": { "line": 700, "column": 43 }, "end": { "line": 766, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 22928, "end": 22984, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22932, "end": 22983, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 63 } }, "id": { "type": "Identifier", "start": 22932, "end": 22943, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 22946, "end": 22983, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 22946, "end": 22975, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 55 } }, "object": { "type": "MemberExpression", "start": 22946, "end": 22960, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 40 } }, "object": { "type": "ThisExpression", "start": 22946, "end": 22950, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 30 } } }, "property": { "type": "Identifier", "start": 22951, "end": 22960, "loc": { "start": { "line": 701, "column": 31 }, "end": { "line": 701, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 22961, "end": 22975, "loc": { "start": { "line": 701, "column": 41 }, "end": { "line": 701, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 22976, "end": 22982, "loc": { "start": { "line": 701, "column": 56 }, "end": { "line": 701, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 22994, "end": 23044, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22998, "end": 23043, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 57 } }, "id": { "type": "Identifier", "start": 22998, "end": 23014, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 23017, "end": 23043, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 57 } }, "object": { "type": "Identifier", "start": 23017, "end": 23035, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 23036, "end": 23042, "loc": { "start": { "line": 702, "column": 50 }, "end": { "line": 702, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 23054, "end": 23171, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23058, "end": 23170, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 124 } }, "id": { "type": "Identifier", "start": 23058, "end": 23075, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 23078, "end": 23170, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 23078, "end": 23113, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 67 } }, "object": { "type": "MemberExpression", "start": 23078, "end": 23092, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 46 } }, "object": { "type": "ThisExpression", "start": 23078, "end": 23082, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 36 } } }, "property": { "type": "Identifier", "start": 23083, "end": 23092, "loc": { "start": { "line": 703, "column": 37 }, "end": { "line": 703, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 23093, "end": 23113, "loc": { "start": { "line": 703, "column": 47 }, "end": { "line": 703, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23114, "end": 23120, "loc": { "start": { "line": 703, "column": 68 }, "end": { "line": 703, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 23122, "end": 23142, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 96 } }, "object": { "type": "MemberExpression", "start": 23122, "end": 23134, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 88 } }, "object": { "type": "ThisExpression", "start": 23122, "end": 23126, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 80 } } }, "property": { "type": "Identifier", "start": 23127, "end": 23134, "loc": { "start": { "line": 703, "column": 81 }, "end": { "line": 703, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23135, "end": 23142, "loc": { "start": { "line": 703, "column": 89 }, "end": { "line": 703, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 23144, "end": 23169, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 123 } }, "object": { "type": "MemberExpression", "start": 23144, "end": 23156, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 110 } }, "object": { "type": "ThisExpression", "start": 23144, "end": 23148, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 102 } } }, "property": { "type": "Identifier", "start": 23149, "end": 23156, "loc": { "start": { "line": 703, "column": 103 }, "end": { "line": 703, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23157, "end": 23169, "loc": { "start": { "line": 703, "column": 111 }, "end": { "line": 703, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23183, "end": 23227, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 707, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23237, "end": 23283, "loc": { "start": { "line": 708, "column": 8 }, "end": { "line": 708, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23241, "end": 23282, "loc": { "start": { "line": 708, "column": 12 }, "end": { "line": 708, "column": 53 } }, "id": { "type": "Identifier", "start": 23241, "end": 23250, "loc": { "start": { "line": 708, "column": 12 }, "end": { "line": 708, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23253, "end": 23282, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 23253, "end": 23275, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 46 } }, "object": { "type": "Identifier", "start": 23253, "end": 23261, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23262, "end": 23275, "loc": { "start": { "line": 708, "column": 33 }, "end": { "line": 708, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23276, "end": 23281, "loc": { "start": { "line": 708, "column": 47 }, "end": { "line": 708, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23183, "end": 23227, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 707, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23293, "end": 23390, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 23293, "end": 23389, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 23293, "end": 23312, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 27 } }, "object": { "type": "Identifier", "start": 23293, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23303, "end": 23312, "loc": { "start": { "line": 709, "column": 18 }, "end": { "line": 709, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 23316, "end": 23389, "loc": { "start": { "line": 709, "column": 31 }, "end": { "line": 709, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 23329, "end": 23340, "loc": { "start": { "line": 709, "column": 44 }, "end": { "line": 709, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 23343, "end": 23387, "loc": { "start": { "line": 709, "column": 58 }, "end": { "line": 709, "column": 102 } }, "test": { "type": "Identifier", "start": 23343, "end": 23359, "loc": { "start": { "line": 709, "column": 58 }, "end": { "line": 709, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 23362, "end": 23382, "loc": { "start": { "line": 709, "column": 77 }, "end": { "line": 709, "column": 97 } }, "left": { "type": "StringLiteral", "start": 23362, "end": 23365, "loc": { "start": { "line": 709, "column": 77 }, "end": { "line": 709, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 23366, "end": 23382, "loc": { "start": { "line": 709, "column": 81 }, "end": { "line": 709, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 23385, "end": 23387, "loc": { "start": { "line": 709, "column": 100 }, "end": { "line": 709, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 23317, "end": 23327, "loc": { "start": { "line": 709, "column": 32 }, "end": { "line": 709, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 23341, "end": 23341, "loc": { "start": { "line": 709, "column": 56 }, "end": { "line": 709, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23388, "end": 23388, "loc": { "start": { "line": 709, "column": 103 }, "end": { "line": 709, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "IfStatement", "start": 23410, "end": 24076, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 727, "column": 9 } }, "test": { "type": "Identifier", "start": 23414, "end": 23428, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 26 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "consequent": { "type": "BlockStatement", "start": 23430, "end": 23736, "loc": { "start": { "line": 711, "column": 28 }, "end": { "line": 718, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23443, "end": 23588, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 715, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 23443, "end": 23588, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 715, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23443, "end": 23465, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 712, "column": 32 } }, "object": { "type": "Identifier", "start": 23443, "end": 23452, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 712, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23453, "end": 23465, "loc": { "start": { "line": 712, "column": 20 }, "end": { "line": 712, "column": 32 }, "identifierName": "ontouchstart" }, "name": "ontouchstart" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23468, "end": 23588, "loc": { "start": { "line": 712, "column": 35 }, "end": { "line": 715, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23469, "end": 23470, "loc": { "start": { "line": 712, "column": 36 }, "end": { "line": 712, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 23475, "end": 23588, "loc": { "start": { "line": 712, "column": 42 }, "end": { "line": 715, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 23490, "end": 23523, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23490, "end": 23522, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23490, "end": 23514, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 36 } }, "object": { "type": "ThisExpression", "start": 23490, "end": 23494, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 16 } } }, "property": { "type": "Identifier", "start": 23495, "end": 23514, "loc": { "start": { "line": 713, "column": 17 }, "end": { "line": 713, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23515, "end": 23521, "loc": { "start": { "line": 713, "column": 37 }, "end": { "line": 713, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 23537, "end": 23575, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 50 } }, "expression": { "type": "CallExpression", "start": 23537, "end": 23574, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 23537, "end": 23563, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 38 } }, "object": { "type": "ThisExpression", "start": 23537, "end": 23541, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 16 } } }, "property": { "type": "Identifier", "start": 23542, "end": 23563, "loc": { "start": { "line": 714, "column": 17 }, "end": { "line": 714, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23564, "end": 23570, "loc": { "start": { "line": 714, "column": 39 }, "end": { "line": 714, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 23572, "end": 23573, "loc": { "start": { "line": 714, "column": 47 }, "end": { "line": 714, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 23600, "end": 23655, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 23600, "end": 23654, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23600, "end": 23620, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 30 } }, "object": { "type": "Identifier", "start": 23600, "end": 23609, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23610, "end": 23620, "loc": { "start": { "line": 716, "column": 20 }, "end": { "line": 716, "column": 30 }, "identifierName": "ontouchend" }, "name": "ontouchend" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23623, "end": 23654, "loc": { "start": { "line": 716, "column": 33 }, "end": { "line": 716, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 23623, "end": 23624, "loc": { "start": { "line": 716, "column": 33 }, "end": { "line": 716, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 23628, "end": 23654, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 23628, "end": 23652, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 62 } }, "object": { "type": "ThisExpression", "start": 23628, "end": 23632, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 42 } } }, "property": { "type": "Identifier", "start": 23633, "end": 23652, "loc": { "start": { "line": 716, "column": 43 }, "end": { "line": 716, "column": 62 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } }, { "type": "ExpressionStatement", "start": 23667, "end": 23725, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 23667, "end": 23724, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23667, "end": 23690, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 33 } }, "object": { "type": "Identifier", "start": 23667, "end": 23676, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23677, "end": 23690, "loc": { "start": { "line": 717, "column": 20 }, "end": { "line": 717, "column": 33 }, "identifierName": "ontouchcancel" }, "name": "ontouchcancel" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23693, "end": 23724, "loc": { "start": { "line": 717, "column": 36 }, "end": { "line": 717, "column": 67 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 23693, "end": 23694, "loc": { "start": { "line": 717, "column": 36 }, "end": { "line": 717, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 23698, "end": 23724, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 23698, "end": 23722, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 65 } }, "object": { "type": "ThisExpression", "start": 23698, "end": 23702, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 45 } } }, "property": { "type": "Identifier", "start": 23703, "end": 23722, "loc": { "start": { "line": 717, "column": 46 }, "end": { "line": 717, "column": 65 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 23742, "end": 24076, "loc": { "start": { "line": 718, "column": 15 }, "end": { "line": 727, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 23755, "end": 23881, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 722, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 23755, "end": 23881, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 722, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23755, "end": 23772, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 719, "column": 27 } }, "object": { "type": "Identifier", "start": 23755, "end": 23764, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 719, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23765, "end": 23772, "loc": { "start": { "line": 719, "column": 20 }, "end": { "line": 719, "column": 27 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23775, "end": 23881, "loc": { "start": { "line": 719, "column": 30 }, "end": { "line": 722, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 23781, "end": 23881, "loc": { "start": { "line": 719, "column": 36 }, "end": { "line": 722, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 23796, "end": 23821, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 23796, "end": 23820, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23796, "end": 23812, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 28 } }, "object": { "type": "ThisExpression", "start": 23796, "end": 23800, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 16 } } }, "property": { "type": "Identifier", "start": 23801, "end": 23812, "loc": { "start": { "line": 720, "column": 17 }, "end": { "line": 720, "column": 28 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 23815, "end": 23820, "loc": { "start": { "line": 720, "column": 31 }, "end": { "line": 720, "column": 36 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 23835, "end": 23868, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 45 } }, "expression": { "type": "CallExpression", "start": 23835, "end": 23867, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 23835, "end": 23859, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 36 } }, "object": { "type": "ThisExpression", "start": 23835, "end": 23839, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 16 } } }, "property": { "type": "Identifier", "start": 23840, "end": 23859, "loc": { "start": { "line": 721, "column": 17 }, "end": { "line": 721, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23860, "end": 23866, "loc": { "start": { "line": 721, "column": 37 }, "end": { "line": 721, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 23893, "end": 24065, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 726, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 23893, "end": 24065, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 726, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 23893, "end": 23914, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 723, "column": 31 } }, "object": { "type": "Identifier", "start": 23893, "end": 23902, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 723, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23903, "end": 23914, "loc": { "start": { "line": 723, "column": 20 }, "end": { "line": 723, "column": 31 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 23917, "end": 24065, "loc": { "start": { "line": 723, "column": 34 }, "end": { "line": 726, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23918, "end": 23919, "loc": { "start": { "line": 723, "column": 35 }, "end": { "line": 723, "column": 36 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 23924, "end": 24065, "loc": { "start": { "line": 723, "column": 41 }, "end": { "line": 726, "column": 11 } }, "body": [ { "type": "IfStatement", "start": 23939, "end": 24000, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 73 } }, "test": { "type": "MemberExpression", "start": 23943, "end": 23979, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 52 } }, "object": { "type": "MemberExpression", "start": 23943, "end": 23955, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 28 } }, "object": { "type": "ThisExpression", "start": 23943, "end": 23947, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 20 } } }, "property": { "type": "Identifier", "start": 23948, "end": 23955, "loc": { "start": { "line": 724, "column": 21 }, "end": { "line": 724, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23956, "end": 23979, "loc": { "start": { "line": 724, "column": 29 }, "end": { "line": 724, "column": 52 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 23981, "end": 24000, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 73 } }, "expression": { "type": "CallExpression", "start": 23981, "end": 23999, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 23981, "end": 23997, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 70 } }, "object": { "type": "Identifier", "start": 23981, "end": 23982, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 55 }, "identifierName": "e" }, "name": "e" }, "property": { "type": "Identifier", "start": 23983, "end": 23997, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 70 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 24014, "end": 24052, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 50 } }, "expression": { "type": "CallExpression", "start": 24014, "end": 24051, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 24014, "end": 24040, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24014, "end": 24018, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 16 } } }, "property": { "type": "Identifier", "start": 24019, "end": 24040, "loc": { "start": { "line": 725, "column": 17 }, "end": { "line": 725, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24041, "end": 24047, "loc": { "start": { "line": 725, "column": 39 }, "end": { "line": 725, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 24049, "end": 24050, "loc": { "start": { "line": 725, "column": 47 }, "end": { "line": 725, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24096, "end": 24142, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 731, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24152, "end": 24197, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 53 } }, "expression": { "type": "CallExpression", "start": 24152, "end": 24196, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 24152, "end": 24174, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 30 } }, "object": { "type": "Identifier", "start": 24152, "end": 24161, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24162, "end": 24174, "loc": { "start": { "line": 732, "column": 18 }, "end": { "line": 732, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 24175, "end": 24187, "loc": { "start": { "line": 732, "column": 31 }, "end": { "line": 732, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 24189, "end": 24195, "loc": { "start": { "line": 732, "column": 45 }, "end": { "line": 732, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24096, "end": 24142, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 731, "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": 24209, "end": 24364, "loc": { "start": { "line": 734, "column": 8 }, "end": { "line": 737, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 24374, "end": 24440, "loc": { "start": { "line": 738, "column": 8 }, "end": { "line": 738, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24378, "end": 24439, "loc": { "start": { "line": 738, "column": 12 }, "end": { "line": 738, "column": 73 } }, "id": { "type": "Identifier", "start": 24378, "end": 24387, "loc": { "start": { "line": 738, "column": 12 }, "end": { "line": 738, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 24390, "end": 24439, "loc": { "start": { "line": 738, "column": 24 }, "end": { "line": 738, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 24393, "end": 24416, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 50 } }, "object": { "type": "MemberExpression", "start": 24393, "end": 24405, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 39 } }, "object": { "type": "ThisExpression", "start": 24393, "end": 24397, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 31 } } }, "property": { "type": "Identifier", "start": 24398, "end": 24405, "loc": { "start": { "line": 738, "column": 32 }, "end": { "line": 738, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 24406, "end": 24416, "loc": { "start": { "line": 738, "column": 40 }, "end": { "line": 738, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 24421, "end": 24427, "loc": { "start": { "line": 738, "column": 55 }, "end": { "line": 738, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 24431, "end": 24437, "loc": { "start": { "line": 738, "column": 65 }, "end": { "line": 738, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 24391, "end": 24391, "loc": { "start": { "line": 738, "column": 25 }, "end": { "line": 738, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 24417, "end": 24419, "loc": { "start": { "line": 738, "column": 51 }, "end": { "line": 738, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 24428, "end": 24429, "loc": { "start": { "line": 738, "column": 62 }, "end": { "line": 738, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 24438, "end": 24438, "loc": { "start": { "line": 738, "column": 72 }, "end": { "line": 738, "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": 24209, "end": 24364, "loc": { "start": { "line": 734, "column": 8 }, "end": { "line": 737, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24450, "end": 24501, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 59 } }, "expression": { "type": "CallExpression", "start": 24450, "end": 24500, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 24450, "end": 24472, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 30 } }, "object": { "type": "Identifier", "start": 24450, "end": 24459, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24460, "end": 24472, "loc": { "start": { "line": 739, "column": 18 }, "end": { "line": 739, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24473, "end": 24488, "loc": { "start": { "line": 739, "column": 31 }, "end": { "line": 739, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 24490, "end": 24499, "loc": { "start": { "line": 739, "column": 48 }, "end": { "line": 739, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 24513, "end": 24562, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24572, "end": 24635, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 71 } }, "expression": { "type": "CallExpression", "start": 24572, "end": 24634, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 24572, "end": 24594, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 30 } }, "object": { "type": "Identifier", "start": 24572, "end": 24581, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24582, "end": 24594, "loc": { "start": { "line": 744, "column": 18 }, "end": { "line": 744, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 24595, "end": 24614, "loc": { "start": { "line": 744, "column": 31 }, "end": { "line": 744, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 24616, "end": 24633, "loc": { "start": { "line": 744, "column": 52 }, "end": { "line": 744, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 24513, "end": 24562, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 24647, "end": 24705, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 748, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 24715, "end": 24766, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24719, "end": 24765, "loc": { "start": { "line": 749, "column": 12 }, "end": { "line": 749, "column": 58 } }, "id": { "type": "Identifier", "start": 24719, "end": 24732, "loc": { "start": { "line": 749, "column": 12 }, "end": { "line": 749, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 24735, "end": 24765, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 24735, "end": 24757, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 50 } }, "object": { "type": "Identifier", "start": 24735, "end": 24743, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 24744, "end": 24757, "loc": { "start": { "line": 749, "column": 37 }, "end": { "line": 749, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 24758, "end": 24764, "loc": { "start": { "line": 749, "column": 51 }, "end": { "line": 749, "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": 24647, "end": 24705, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 748, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24776, "end": 24820, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 24776, "end": 24819, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24776, "end": 24799, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 31 } }, "object": { "type": "Identifier", "start": 24776, "end": 24789, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 24790, "end": 24799, "loc": { "start": { "line": 750, "column": 22 }, "end": { "line": 750, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 24802, "end": 24819, "loc": { "start": { "line": 750, "column": 34 }, "end": { "line": 750, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 24830, "end": 24867, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 45 } }, "expression": { "type": "CallExpression", "start": 24830, "end": 24866, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 24830, "end": 24851, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 29 } }, "object": { "type": "Identifier", "start": 24830, "end": 24839, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24840, "end": 24851, "loc": { "start": { "line": 751, "column": 18 }, "end": { "line": 751, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24852, "end": 24865, "loc": { "start": { "line": 751, "column": 30 }, "end": { "line": 751, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24879, "end": 24932, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 755, "column": 11 } } } ] }, { "type": "IfStatement", "start": 24942, "end": 25019, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 757, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 24945, "end": 24973, "loc": { "start": { "line": 756, "column": 11 }, "end": { "line": 756, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 24946, "end": 24973, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 39 } }, "object": { "type": "MemberExpression", "start": 24946, "end": 24965, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 31 } }, "object": { "type": "ThisExpression", "start": 24946, "end": 24950, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 24951, "end": 24965, "loc": { "start": { "line": 756, "column": 17 }, "end": { "line": 756, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 24966, "end": 24972, "loc": { "start": { "line": 756, "column": 32 }, "end": { "line": 756, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 24986, "end": 25019, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 24986, "end": 25018, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24986, "end": 25013, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 37 } }, "object": { "type": "MemberExpression", "start": 24986, "end": 25005, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 29 } }, "object": { "type": "ThisExpression", "start": 24986, "end": 24990, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 14 } } }, "property": { "type": "Identifier", "start": 24991, "end": 25005, "loc": { "start": { "line": 757, "column": 15 }, "end": { "line": 757, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25006, "end": 25012, "loc": { "start": { "line": 757, "column": 30 }, "end": { "line": 757, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 25016, "end": 25018, "loc": { "start": { "line": 757, "column": 40 }, "end": { "line": 757, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24879, "end": 24932, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 755, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25031, "end": 25075, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 52 } }, "expression": { "type": "CallExpression", "start": 25031, "end": 25074, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 25031, "end": 25063, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 40 } }, "object": { "type": "MemberExpression", "start": 25031, "end": 25058, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 35 } }, "object": { "type": "MemberExpression", "start": 25031, "end": 25050, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 27 } }, "object": { "type": "ThisExpression", "start": 25031, "end": 25035, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 12 } } }, "property": { "type": "Identifier", "start": 25036, "end": 25050, "loc": { "start": { "line": 759, "column": 13 }, "end": { "line": 759, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25051, "end": 25057, "loc": { "start": { "line": 759, "column": 28 }, "end": { "line": 759, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 25059, "end": 25063, "loc": { "start": { "line": 759, "column": 36 }, "end": { "line": 759, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25064, "end": 25073, "loc": { "start": { "line": 759, "column": 41 }, "end": { "line": 759, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25087, "end": 25139, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25149, "end": 25179, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 38 } }, "expression": { "type": "CallExpression", "start": 25149, "end": 25178, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 25149, "end": 25167, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 26 } }, "object": { "type": "Identifier", "start": 25149, "end": 25155, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 25156, "end": 25167, "loc": { "start": { "line": 764, "column": 15 }, "end": { "line": 764, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25168, "end": 25177, "loc": { "start": { "line": 764, "column": 27 }, "end": { "line": 764, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25087, "end": 25139, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22811, "end": 22872, "loc": { "start": { "line": 697, "column": 6 }, "end": { "line": 699, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25202, "end": 25252, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 770, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 25260, "end": 25297, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 43 } }, "expression": { "type": "CallExpression", "start": 25260, "end": 25296, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 25260, "end": 25288, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 34 } }, "object": { "type": "MemberExpression", "start": 25260, "end": 25276, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 22 } }, "object": { "type": "ThisExpression", "start": 25260, "end": 25264, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25265, "end": 25276, "loc": { "start": { "line": 771, "column": 11 }, "end": { "line": 771, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 25277, "end": 25288, "loc": { "start": { "line": 771, "column": 23 }, "end": { "line": 771, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25289, "end": 25295, "loc": { "start": { "line": 771, "column": 35 }, "end": { "line": 771, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25202, "end": 25252, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 770, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22511, "end": 22558, "loc": { "start": { "line": 685, "column": 4 }, "end": { "line": 687, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25314, "end": 25351, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 776, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 25357, "end": 25373, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 20 } }, "expression": { "type": "CallExpression", "start": 25357, "end": 25372, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 25357, "end": 25370, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 17 } }, "object": { "type": "ThisExpression", "start": 25357, "end": 25361, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25362, "end": 25370, "loc": { "start": { "line": 777, "column": 9 }, "end": { "line": 777, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25314, "end": 25351, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 776, "column": 7 } } } ] }, { "type": "IfStatement", "start": 25381, "end": 25757, "loc": { "start": { "line": 779, "column": 4 }, "end": { "line": 796, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 25384, "end": 25401, "loc": { "start": { "line": 779, "column": 7 }, "end": { "line": 779, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 25385, "end": 25401, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 24 } }, "object": { "type": "ThisExpression", "start": 25385, "end": 25389, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 12 } } }, "property": { "type": "Identifier", "start": 25390, "end": 25401, "loc": { "start": { "line": 779, "column": 13 }, "end": { "line": 779, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 25402, "end": 25757, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 796, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 25501, "end": 25525, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 25501, "end": 25524, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25501, "end": 25517, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 22 } }, "object": { "type": "ThisExpression", "start": 25501, "end": 25505, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25506, "end": 25517, "loc": { "start": { "line": 783, "column": 11 }, "end": { "line": 783, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 25520, "end": 25524, "loc": { "start": { "line": 783, "column": 25 }, "end": { "line": 783, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25411, "end": 25493, "loc": { "start": { "line": 780, "column": 6 }, "end": { "line": 782, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 25535, "end": 25576, "loc": { "start": { "line": 785, "column": 6 }, "end": { "line": 787, "column": 9 } } } ] }, { "type": "IfStatement", "start": 25584, "end": 25679, "loc": { "start": { "line": 788, "column": 6 }, "end": { "line": 790, "column": 7 } }, "test": { "type": "UnaryExpression", "start": 25588, "end": 25603, "loc": { "start": { "line": 788, "column": 10 }, "end": { "line": 788, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 25589, "end": 25603, "loc": { "start": { "line": 788, "column": 11 }, "end": { "line": 788, "column": 25 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 25605, "end": 25679, "loc": { "start": { "line": 788, "column": 27 }, "end": { "line": 790, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 25616, "end": 25670, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 25616, "end": 25669, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25616, "end": 25634, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 26 } }, "object": { "type": "Identifier", "start": 25616, "end": 25624, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 25625, "end": 25634, "loc": { "start": { "line": 789, "column": 17 }, "end": { "line": 789, "column": 26 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 25637, "end": 25669, "loc": { "start": { "line": 789, "column": 29 }, "end": { "line": 789, "column": 61 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 25643, "end": 25669, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 25643, "end": 25667, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 59 } }, "object": { "type": "ThisExpression", "start": 25643, "end": 25647, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 39 } } }, "property": { "type": "Identifier", "start": 25648, "end": 25667, "loc": { "start": { "line": 789, "column": 40 }, "end": { "line": 789, "column": 59 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 25535, "end": 25576, "loc": { "start": { "line": 785, "column": 6 }, "end": { "line": 787, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 25689, "end": 25728, "loc": { "start": { "line": 792, "column": 6 }, "end": { "line": 794, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 25736, "end": 25750, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 20 } }, "expression": { "type": "CallExpression", "start": 25736, "end": 25749, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 25736, "end": 25747, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 17 } }, "object": { "type": "ThisExpression", "start": 25736, "end": 25740, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25741, "end": 25747, "loc": { "start": { "line": 795, "column": 11 }, "end": { "line": 795, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 25689, "end": 25728, "loc": { "start": { "line": 792, "column": 6 }, "end": { "line": 794, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20708, "end": 20764, "loc": { "start": { "line": 633, "column": 2 }, "end": { "line": 635, "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 {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.\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": 4072, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 61, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4420, "end": 4490, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4536, "end": 4565, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "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": 5754, "end": 6413, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 111, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6489, "end": 6598, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 117, "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": 6673, "end": 6818, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 122, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6857, "end": 6896, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 7089, "end": 7202, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7405, "end": 7451, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7525, "end": 7553, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 151, "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": 7613, "end": 7725, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 159, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7802, "end": 7851, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7907, "end": 7946, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 171, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8364, "end": 8441, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 186, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8844, "end": 8903, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 9002, "end": 9043, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 206, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9257, "end": 9298, "loc": { "start": { "line": 216, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9302, "end": 9328, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9371, "end": 9450, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 223, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9644, "end": 9721, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 10197, "end": 10236, "loc": { "start": { "line": 254, "column": 2 }, "end": { "line": 256, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10391, "end": 10427, "loc": { "start": { "line": 263, "column": 2 }, "end": { "line": 265, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10431, "end": 10457, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10581, "end": 10667, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 273, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10935, "end": 11032, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 286, "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": 11156, "end": 11274, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 296, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11395, "end": 11450, "loc": { "start": { "line": 301, "column": 4 }, "end": { "line": 303, "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": 11546, "end": 11708, "loc": { "start": { "line": 308, "column": 2 }, "end": { "line": 311, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11794, "end": 11849, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "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": 11995, "end": 12155, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12284, "end": 12339, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 335, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12437, "end": 12546, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 343, "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": 12612, "end": 12738, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "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": 12882, "end": 12991, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 361, "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": 13140, "end": 13345, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 371, "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": 13723, "end": 14004, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 387, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14331, "end": 14422, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 401, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14952, "end": 15027, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "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": 15246, "end": 15586, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 437, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15634, "end": 15714, "loc": { "start": { "line": 439, "column": 4 }, "end": { "line": 441, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15843, "end": 15911, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "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": 16176, "end": 16317, "loc": { "start": { "line": 456, "column": 10 }, "end": { "line": 459, "column": 13 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16558, "end": 16655, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 468, "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": 17013, "end": 17216, "loc": { "start": { "line": 486, "column": 2 }, "end": { "line": 489, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17493, "end": 17583, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "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": 17896, "end": 18008, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 520, "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": 18378, "end": 18526, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 540, "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": 18749, "end": 18869, "loc": { "start": { "line": 549, "column": 2 }, "end": { "line": 551, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18961, "end": 18996, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 559, "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": 19115, "end": 19233, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 568, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19343, "end": 19422, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 576, "column": 4 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19554, "end": 19586, "loc": { "start": { "line": 582, "column": 2 }, "end": { "line": 584, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19745, "end": 19774, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19934, "end": 19960, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20425, "end": 20457, "loc": { "start": { "line": 616, "column": 2 }, "end": { "line": 618, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20599, "end": 20630, "loc": { "start": { "line": 626, "column": 2 }, "end": { "line": 628, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20708, "end": 20764, "loc": { "start": { "line": 633, "column": 2 }, "end": { "line": 635, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20783, "end": 20818, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 639, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21092, "end": 21144, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 648, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 21651, "end": 21690, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 21740, "end": 21823, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22331, "end": 22397, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 682, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22511, "end": 22558, "loc": { "start": { "line": 685, "column": 4 }, "end": { "line": 687, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22670, "end": 22713, "loc": { "start": { "line": 691, "column": 6 }, "end": { "line": 693, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22811, "end": 22872, "loc": { "start": { "line": 697, "column": 6 }, "end": { "line": 699, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23183, "end": 23227, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 707, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24096, "end": 24142, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 731, "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": 24209, "end": 24364, "loc": { "start": { "line": 734, "column": 8 }, "end": { "line": 737, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 24513, "end": 24562, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 24647, "end": 24705, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 748, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24879, "end": 24932, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 755, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25087, "end": 25139, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25202, "end": 25252, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 770, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25314, "end": 25351, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 776, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25411, "end": 25493, "loc": { "start": { "line": 780, "column": 6 }, "end": { "line": 782, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 25535, "end": 25576, "loc": { "start": { "line": 785, "column": 6 }, "end": { "line": 787, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 25689, "end": 25728, "loc": { "start": { "line": 792, "column": 6 }, "end": { "line": 794, "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 {boolean} preventMouseDownDefault Calling preventDefault for the mousedown events keeps the focus on the input.\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": 4072, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 61, "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": 4078, "end": 4082, "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": 4082, "end": 4083, "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": 4083, "end": 4090, "loc": { "start": { "line": 62, "column": 9 }, "end": { "line": 62, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4091, "end": 4092, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4093, "end": 4100, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4100, "end": 4101, "loc": { "start": { "line": 62, "column": 26 }, "end": { "line": 62, "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": 4107, "end": 4111, "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": 4111, "end": 4112, "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": 4112, "end": 4119, "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": 4119, "end": 4120, "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": "layoutName", "start": 4120, "end": 4130, "loc": { "start": { "line": 63, "column": 17 }, "end": { "line": 63, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4131, "end": 4132, "loc": { "start": { "line": 63, "column": 28 }, "end": { "line": 63, "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": 4133, "end": 4137, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4137, "end": 4138, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4138, "end": 4145, "loc": { "start": { "line": 63, "column": 35 }, "end": { "line": 63, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4145, "end": 4146, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 4146, "end": 4156, "loc": { "start": { "line": 63, "column": 43 }, "end": { "line": 63, "column": 53 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4157, "end": 4159, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "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": 4160, "end": 4169, "loc": { "start": { "line": 63, "column": 57 }, "end": { "line": 63, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4169, "end": 4170, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 63, "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": 4176, "end": 4180, "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": 4180, "end": 4181, "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": 4181, "end": 4188, "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": 4188, "end": 4189, "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": "theme", "start": 4189, "end": 4194, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4195, "end": 4196, "loc": { "start": { "line": 64, "column": 23 }, "end": { "line": 64, "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": 4197, "end": 4201, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4201, "end": 4202, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4202, "end": 4209, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4209, "end": 4210, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 4210, "end": 4215, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 43 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4216, "end": 4218, "loc": { "start": { "line": 64, "column": 44 }, "end": { "line": 64, "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": 4219, "end": 4237, "loc": { "start": { "line": 64, "column": 47 }, "end": { "line": 64, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4237, "end": 4238, "loc": { "start": { "line": 64, "column": 65 }, "end": { "line": 64, "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": 4244, "end": 4248, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4248, "end": 4249, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4249, "end": 4256, "loc": { "start": { "line": 65, "column": 9 }, "end": { "line": 65, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4256, "end": 4257, "loc": { "start": { "line": 65, "column": 16 }, "end": { "line": 65, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4257, "end": 4266, "loc": { "start": { "line": 65, "column": 17 }, "end": { "line": 65, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4267, "end": 4268, "loc": { "start": { "line": 65, "column": 27 }, "end": { "line": 65, "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": 4269, "end": 4273, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4273, "end": 4274, "loc": { "start": { "line": 65, "column": 33 }, "end": { "line": 65, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4274, "end": 4281, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4281, "end": 4282, "loc": { "start": { "line": 65, "column": 41 }, "end": { "line": 65, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 4282, "end": 4291, "loc": { "start": { "line": 65, "column": 42 }, "end": { "line": 65, "column": 51 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4292, "end": 4294, "loc": { "start": { "line": 65, "column": 52 }, "end": { "line": 65, "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": 4295, "end": 4304, "loc": { "start": { "line": 65, "column": 55 }, "end": { "line": 65, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4304, "end": 4305, "loc": { "start": { "line": 65, "column": 64 }, "end": { "line": 65, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4311, "end": 4315, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4315, "end": 4316, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4316, "end": 4323, "loc": { "start": { "line": 66, "column": 9 }, "end": { "line": 66, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4323, "end": 4324, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventMouseDownDefault", "start": 4324, "end": 4347, "loc": { "start": { "line": 66, "column": 17 }, "end": { "line": 66, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4348, "end": 4349, "loc": { "start": { "line": 66, "column": 41 }, "end": { "line": 66, "column": 42 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4350, "end": 4354, "loc": { "start": { "line": 66, "column": 43 }, "end": { "line": 66, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4354, "end": 4355, "loc": { "start": { "line": 66, "column": 47 }, "end": { "line": 66, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4355, "end": 4362, "loc": { "start": { "line": 66, "column": 48 }, "end": { "line": 66, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4362, "end": 4363, "loc": { "start": { "line": 66, "column": 55 }, "end": { "line": 66, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventMouseDownDefault", "start": 4363, "end": 4386, "loc": { "start": { "line": 66, "column": 56 }, "end": { "line": 66, "column": 79 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4387, "end": 4390, "loc": { "start": { "line": 66, "column": 80 }, "end": { "line": 66, "column": 83 } } }, { "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": 4391, "end": 4396, "loc": { "start": { "line": 66, "column": 84 }, "end": { "line": 66, "column": 89 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4397, "end": 4398, "loc": { "start": { "line": 66, "column": 90 }, "end": { "line": 66, "column": 91 } } }, { "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": 4399, "end": 4404, "loc": { "start": { "line": 66, "column": 92 }, "end": { "line": 66, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4405, "end": 4406, "loc": { "start": { "line": 66, "column": 98 }, "end": { "line": 66, "column": 99 } } }, { "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": 4407, "end": 4411, "loc": { "start": { "line": 66, "column": 100 }, "end": { "line": 66, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4411, "end": 4412, "loc": { "start": { "line": 66, "column": 104 }, "end": { "line": 66, "column": 105 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Classes identifying loaded plugins\r\n ", "start": 4420, "end": 4490, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 70, "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": 4496, "end": 4500, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4500, "end": 4501, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 4501, "end": 4522, "loc": { "start": { "line": 71, "column": 9 }, "end": { "line": 71, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4523, "end": 4524, "loc": { "start": { "line": 71, "column": 31 }, "end": { "line": 71, "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": 4525, "end": 4527, "loc": { "start": { "line": 71, "column": 33 }, "end": { "line": 71, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4527, "end": 4528, "loc": { "start": { "line": 71, "column": 35 }, "end": { "line": 71, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Bindings\r\n ", "start": 4536, "end": 4565, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "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": 4571, "end": 4575, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4575, "end": 4576, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4576, "end": 4595, "loc": { "start": { "line": 76, "column": 9 }, "end": { "line": 76, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4596, "end": 4597, "loc": { "start": { "line": 76, "column": 29 }, "end": { "line": 76, "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": 4598, "end": 4602, "loc": { "start": { "line": 76, "column": 31 }, "end": { "line": 76, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4602, "end": 4603, "loc": { "start": { "line": 76, "column": 35 }, "end": { "line": 76, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 4603, "end": 4622, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4622, "end": 4623, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 76, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4623, "end": 4627, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4627, "end": 4628, "loc": { "start": { "line": 76, "column": 60 }, "end": { "line": 76, "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": 4628, "end": 4632, "loc": { "start": { "line": 76, "column": 61 }, "end": { "line": 76, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4632, "end": 4633, "loc": { "start": { "line": 76, "column": 65 }, "end": { "line": 76, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4633, "end": 4634, "loc": { "start": { "line": 76, "column": 66 }, "end": { "line": 76, "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": 4640, "end": 4644, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4644, "end": 4645, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4645, "end": 4663, "loc": { "start": { "line": 77, "column": 9 }, "end": { "line": 77, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4664, "end": 4665, "loc": { "start": { "line": 77, "column": 28 }, "end": { "line": 77, "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": 4666, "end": 4670, "loc": { "start": { "line": 77, "column": 30 }, "end": { "line": 77, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4670, "end": 4671, "loc": { "start": { "line": 77, "column": 34 }, "end": { "line": 77, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 4671, "end": 4689, "loc": { "start": { "line": 77, "column": 35 }, "end": { "line": 77, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4689, "end": 4690, "loc": { "start": { "line": 77, "column": 53 }, "end": { "line": 77, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4690, "end": 4694, "loc": { "start": { "line": 77, "column": 54 }, "end": { "line": 77, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4694, "end": 4695, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4695, "end": 4699, "loc": { "start": { "line": 77, "column": 59 }, "end": { "line": 77, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4699, "end": 4700, "loc": { "start": { "line": 77, "column": 63 }, "end": { "line": 77, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4700, "end": 4701, "loc": { "start": { "line": 77, "column": 64 }, "end": { "line": 77, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4707, "end": 4711, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4711, "end": 4712, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4712, "end": 4722, "loc": { "start": { "line": 78, "column": 9 }, "end": { "line": 78, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4723, "end": 4724, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "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": 4725, "end": 4729, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4729, "end": 4730, "loc": { "start": { "line": 78, "column": 26 }, "end": { "line": 78, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 4730, "end": 4740, "loc": { "start": { "line": 78, "column": 27 }, "end": { "line": 78, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4740, "end": 4741, "loc": { "start": { "line": 78, "column": 37 }, "end": { "line": 78, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4741, "end": 4745, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4745, "end": 4746, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "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": 4746, "end": 4750, "loc": { "start": { "line": 78, "column": 43 }, "end": { "line": 78, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4750, "end": 4751, "loc": { "start": { "line": 78, "column": 47 }, "end": { "line": 78, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4751, "end": 4752, "loc": { "start": { "line": 78, "column": 48 }, "end": { "line": 78, "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": 4758, "end": 4762, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4762, "end": 4763, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4763, "end": 4771, "loc": { "start": { "line": 79, "column": 9 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4772, "end": 4773, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "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": 4774, "end": 4778, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4778, "end": 4779, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 4779, "end": 4787, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4787, "end": 4788, "loc": { "start": { "line": 79, "column": 33 }, "end": { "line": 79, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4788, "end": 4792, "loc": { "start": { "line": 79, "column": 34 }, "end": { "line": 79, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4792, "end": 4793, "loc": { "start": { "line": 79, "column": 38 }, "end": { "line": 79, "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": 4793, "end": 4797, "loc": { "start": { "line": 79, "column": 39 }, "end": { "line": 79, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4797, "end": 4798, "loc": { "start": { "line": 79, "column": 43 }, "end": { "line": 79, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4798, "end": 4799, "loc": { "start": { "line": 79, "column": 44 }, "end": { "line": 79, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4805, "end": 4809, "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": 4809, "end": 4810, "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": "setInput", "start": 4810, "end": 4818, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4819, "end": 4820, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "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": 4821, "end": 4825, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4825, "end": 4826, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 4826, "end": 4834, "loc": { "start": { "line": 80, "column": 25 }, "end": { "line": 80, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4834, "end": 4835, "loc": { "start": { "line": 80, "column": 33 }, "end": { "line": 80, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4835, "end": 4839, "loc": { "start": { "line": 80, "column": 34 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4839, "end": 4840, "loc": { "start": { "line": 80, "column": 38 }, "end": { "line": 80, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4840, "end": 4844, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4844, "end": 4845, "loc": { "start": { "line": 80, "column": 43 }, "end": { "line": 80, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4845, "end": 4846, "loc": { "start": { "line": 80, "column": 44 }, "end": { "line": 80, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4852, "end": 4856, "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": 4856, "end": 4857, "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": "replaceInput", "start": 4857, "end": 4869, "loc": { "start": { "line": 81, "column": 9 }, "end": { "line": 81, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4870, "end": 4871, "loc": { "start": { "line": 81, "column": 22 }, "end": { "line": 81, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4872, "end": 4876, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4876, "end": 4877, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 4877, "end": 4889, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4889, "end": 4890, "loc": { "start": { "line": 81, "column": 41 }, "end": { "line": 81, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4890, "end": 4894, "loc": { "start": { "line": 81, "column": 42 }, "end": { "line": 81, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4894, "end": 4895, "loc": { "start": { "line": 81, "column": 46 }, "end": { "line": 81, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4895, "end": 4899, "loc": { "start": { "line": 81, "column": 47 }, "end": { "line": 81, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4899, "end": 4900, "loc": { "start": { "line": 81, "column": 51 }, "end": { "line": 81, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4900, "end": 4901, "loc": { "start": { "line": 81, "column": 52 }, "end": { "line": 81, "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": 4907, "end": 4911, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4911, "end": 4912, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4912, "end": 4917, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4918, "end": 4919, "loc": { "start": { "line": 82, "column": 15 }, "end": { "line": 82, "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": 4920, "end": 4924, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4924, "end": 4925, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 4925, "end": 4930, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4930, "end": 4931, "loc": { "start": { "line": 82, "column": 27 }, "end": { "line": 82, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4931, "end": 4935, "loc": { "start": { "line": 82, "column": 28 }, "end": { "line": 82, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4935, "end": 4936, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "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": 4936, "end": 4940, "loc": { "start": { "line": 82, "column": 33 }, "end": { "line": 82, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4940, "end": 4941, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4941, "end": 4942, "loc": { "start": { "line": 82, "column": 38 }, "end": { "line": 82, "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": 4948, "end": 4952, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4952, "end": 4953, "loc": { "start": { "line": 83, "column": 8 }, "end": { "line": 83, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 4953, "end": 4961, "loc": { "start": { "line": 83, "column": 9 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4962, "end": 4963, "loc": { "start": { "line": 83, "column": 18 }, "end": { "line": 83, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4964, "end": 4968, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4968, "end": 4969, "loc": { "start": { "line": 83, "column": 24 }, "end": { "line": 83, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 4969, "end": 4977, "loc": { "start": { "line": 83, "column": 25 }, "end": { "line": 83, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4977, "end": 4978, "loc": { "start": { "line": 83, "column": 33 }, "end": { "line": 83, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 4978, "end": 4982, "loc": { "start": { "line": 83, "column": 34 }, "end": { "line": 83, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4982, "end": 4983, "loc": { "start": { "line": 83, "column": 38 }, "end": { "line": 83, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4983, "end": 4987, "loc": { "start": { "line": 83, "column": 39 }, "end": { "line": 83, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4987, "end": 4988, "loc": { "start": { "line": 83, "column": 43 }, "end": { "line": 83, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4988, "end": 4989, "loc": { "start": { "line": 83, "column": 44 }, "end": { "line": 83, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4995, "end": 4999, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 84, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4999, "end": 5000, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 5000, "end": 5014, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5015, "end": 5016, "loc": { "start": { "line": 84, "column": 24 }, "end": { "line": 84, "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": 5017, "end": 5021, "loc": { "start": { "line": 84, "column": 26 }, "end": { "line": 84, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5021, "end": 5022, "loc": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 5022, "end": 5036, "loc": { "start": { "line": 84, "column": 31 }, "end": { "line": 84, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5036, "end": 5037, "loc": { "start": { "line": 84, "column": 45 }, "end": { "line": 84, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5037, "end": 5041, "loc": { "start": { "line": 84, "column": 46 }, "end": { "line": 84, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5041, "end": 5042, "loc": { "start": { "line": 84, "column": 50 }, "end": { "line": 84, "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": 5042, "end": 5046, "loc": { "start": { "line": 84, "column": 51 }, "end": { "line": 84, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5046, "end": 5047, "loc": { "start": { "line": 84, "column": 55 }, "end": { "line": 84, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5047, "end": 5048, "loc": { "start": { "line": 84, "column": 56 }, "end": { "line": 84, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5054, "end": 5058, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5058, "end": 5059, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 5059, "end": 5076, "loc": { "start": { "line": 85, "column": 9 }, "end": { "line": 85, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5077, "end": 5078, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "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": 5079, "end": 5083, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5083, "end": 5084, "loc": { "start": { "line": 85, "column": 33 }, "end": { "line": 85, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 5084, "end": 5101, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5101, "end": 5102, "loc": { "start": { "line": 85, "column": 51 }, "end": { "line": 85, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5102, "end": 5106, "loc": { "start": { "line": 85, "column": 52 }, "end": { "line": 85, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5106, "end": 5107, "loc": { "start": { "line": 85, "column": 56 }, "end": { "line": 85, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5107, "end": 5111, "loc": { "start": { "line": 85, "column": 57 }, "end": { "line": 85, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5111, "end": 5112, "loc": { "start": { "line": 85, "column": 61 }, "end": { "line": 85, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5112, "end": 5113, "loc": { "start": { "line": 85, "column": 62 }, "end": { "line": 85, "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": 5119, "end": 5123, "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": 5123, "end": 5124, "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": "getButtonElement", "start": 5124, "end": 5140, "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": 5141, "end": 5142, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "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": 5143, "end": 5147, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5147, "end": 5148, "loc": { "start": { "line": 86, "column": 32 }, "end": { "line": 86, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 5148, "end": 5164, "loc": { "start": { "line": 86, "column": 33 }, "end": { "line": 86, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5164, "end": 5165, "loc": { "start": { "line": 86, "column": 49 }, "end": { "line": 86, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5165, "end": 5169, "loc": { "start": { "line": 86, "column": 50 }, "end": { "line": 86, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5169, "end": 5170, "loc": { "start": { "line": 86, "column": 54 }, "end": { "line": 86, "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": 5170, "end": 5174, "loc": { "start": { "line": 86, "column": 55 }, "end": { "line": 86, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5174, "end": 5175, "loc": { "start": { "line": 86, "column": 59 }, "end": { "line": 86, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5175, "end": 5176, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5182, "end": 5186, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5186, "end": 5187, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 5187, "end": 5198, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5199, "end": 5200, "loc": { "start": { "line": 87, "column": 21 }, "end": { "line": 87, "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": 5201, "end": 5205, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5205, "end": 5206, "loc": { "start": { "line": 87, "column": 27 }, "end": { "line": 87, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 5206, "end": 5217, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5217, "end": 5218, "loc": { "start": { "line": 87, "column": 39 }, "end": { "line": 87, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5218, "end": 5222, "loc": { "start": { "line": 87, "column": 40 }, "end": { "line": 87, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5222, "end": 5223, "loc": { "start": { "line": 87, "column": 44 }, "end": { "line": 87, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5223, "end": 5227, "loc": { "start": { "line": 87, "column": 45 }, "end": { "line": 87, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5227, "end": 5228, "loc": { "start": { "line": 87, "column": 49 }, "end": { "line": 87, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5228, "end": 5229, "loc": { "start": { "line": 87, "column": 50 }, "end": { "line": 87, "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": 5235, "end": 5239, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5239, "end": 5240, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 5240, "end": 5257, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5258, "end": 5259, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "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": 5260, "end": 5264, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5264, "end": 5265, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 5265, "end": 5282, "loc": { "start": { "line": 88, "column": 34 }, "end": { "line": 88, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5282, "end": 5283, "loc": { "start": { "line": 88, "column": 51 }, "end": { "line": 88, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5283, "end": 5287, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5287, "end": 5288, "loc": { "start": { "line": 88, "column": 56 }, "end": { "line": 88, "column": 57 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5288, "end": 5292, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5292, "end": 5293, "loc": { "start": { "line": 88, "column": 61 }, "end": { "line": 88, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5293, "end": 5294, "loc": { "start": { "line": 88, "column": 62 }, "end": { "line": 88, "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": 5300, "end": 5304, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5304, "end": 5305, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 5305, "end": 5311, "loc": { "start": { "line": 89, "column": 9 }, "end": { "line": 89, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5312, "end": 5313, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 17 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5314, "end": 5318, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5318, "end": 5319, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 5319, "end": 5325, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5325, "end": 5326, "loc": { "start": { "line": 89, "column": 29 }, "end": { "line": 89, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5326, "end": 5330, "loc": { "start": { "line": 89, "column": 30 }, "end": { "line": 89, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5330, "end": 5331, "loc": { "start": { "line": 89, "column": 34 }, "end": { "line": 89, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5331, "end": 5335, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5335, "end": 5336, "loc": { "start": { "line": 89, "column": 39 }, "end": { "line": 89, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5336, "end": 5337, "loc": { "start": { "line": 89, "column": 40 }, "end": { "line": 89, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5343, "end": 5347, "loc": { "start": { "line": 90, "column": 4 }, "end": { "line": 90, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5347, "end": 5348, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5348, "end": 5356, "loc": { "start": { "line": 90, "column": 9 }, "end": { "line": 90, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5357, "end": 5358, "loc": { "start": { "line": 90, "column": 18 }, "end": { "line": 90, "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": 5359, "end": 5363, "loc": { "start": { "line": 90, "column": 20 }, "end": { "line": 90, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5363, "end": 5364, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 5364, "end": 5372, "loc": { "start": { "line": 90, "column": 25 }, "end": { "line": 90, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5372, "end": 5373, "loc": { "start": { "line": 90, "column": 33 }, "end": { "line": 90, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5373, "end": 5377, "loc": { "start": { "line": 90, "column": 34 }, "end": { "line": 90, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5377, "end": 5378, "loc": { "start": { "line": 90, "column": 38 }, "end": { "line": 90, "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": 5378, "end": 5382, "loc": { "start": { "line": 90, "column": 39 }, "end": { "line": 90, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5382, "end": 5383, "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5383, "end": 5384, "loc": { "start": { "line": 90, "column": 44 }, "end": { "line": 90, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5390, "end": 5394, "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": 5394, "end": 5395, "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": "render", "start": 5395, "end": 5401, "loc": { "start": { "line": 91, "column": 9 }, "end": { "line": 91, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5402, "end": 5403, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "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": 5404, "end": 5408, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5408, "end": 5409, "loc": { "start": { "line": 91, "column": 22 }, "end": { "line": 91, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 5409, "end": 5415, "loc": { "start": { "line": 91, "column": 23 }, "end": { "line": 91, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5415, "end": 5416, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5416, "end": 5420, "loc": { "start": { "line": 91, "column": 30 }, "end": { "line": 91, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5420, "end": 5421, "loc": { "start": { "line": 91, "column": 34 }, "end": { "line": 91, "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": 5421, "end": 5425, "loc": { "start": { "line": 91, "column": 35 }, "end": { "line": 91, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5425, "end": 5426, "loc": { "start": { "line": 91, "column": 39 }, "end": { "line": 91, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5426, "end": 5427, "loc": { "start": { "line": 91, "column": 40 }, "end": { "line": 91, "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": 5433, "end": 5437, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5437, "end": 5438, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 5438, "end": 5449, "loc": { "start": { "line": 92, "column": 9 }, "end": { "line": 92, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5450, "end": 5451, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "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": 5452, "end": 5456, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5456, "end": 5457, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 5457, "end": 5468, "loc": { "start": { "line": 92, "column": 28 }, "end": { "line": 92, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5468, "end": 5469, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 92, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5469, "end": 5473, "loc": { "start": { "line": 92, "column": 40 }, "end": { "line": 92, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5473, "end": 5474, "loc": { "start": { "line": 92, "column": 44 }, "end": { "line": 92, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5474, "end": 5478, "loc": { "start": { "line": 92, "column": 45 }, "end": { "line": 92, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5478, "end": 5479, "loc": { "start": { "line": 92, "column": 49 }, "end": { "line": 92, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5479, "end": 5480, "loc": { "start": { "line": 92, "column": 50 }, "end": { "line": 92, "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": 5486, "end": 5490, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5490, "end": 5491, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5491, "end": 5510, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5511, "end": 5512, "loc": { "start": { "line": 93, "column": 29 }, "end": { "line": 93, "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": 5513, "end": 5517, "loc": { "start": { "line": 93, "column": 31 }, "end": { "line": 93, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5517, "end": 5518, "loc": { "start": { "line": 93, "column": 35 }, "end": { "line": 93, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 5518, "end": 5537, "loc": { "start": { "line": 93, "column": 36 }, "end": { "line": 93, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5537, "end": 5538, "loc": { "start": { "line": 93, "column": 55 }, "end": { "line": 93, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5538, "end": 5542, "loc": { "start": { "line": 93, "column": 56 }, "end": { "line": 93, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5542, "end": 5543, "loc": { "start": { "line": 93, "column": 60 }, "end": { "line": 93, "column": 61 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5543, "end": 5547, "loc": { "start": { "line": 93, "column": 61 }, "end": { "line": 93, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5547, "end": 5548, "loc": { "start": { "line": 93, "column": 65 }, "end": { "line": 93, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5548, "end": 5549, "loc": { "start": { "line": 93, "column": 66 }, "end": { "line": 93, "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": 5555, "end": 5559, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5559, "end": 5560, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5560, "end": 5581, "loc": { "start": { "line": 94, "column": 9 }, "end": { "line": 94, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5582, "end": 5583, "loc": { "start": { "line": 94, "column": 31 }, "end": { "line": 94, "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": 5584, "end": 5588, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5588, "end": 5589, "loc": { "start": { "line": 94, "column": 37 }, "end": { "line": 94, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 5589, "end": 5610, "loc": { "start": { "line": 94, "column": 38 }, "end": { "line": 94, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5610, "end": 5611, "loc": { "start": { "line": 94, "column": 59 }, "end": { "line": 94, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5611, "end": 5615, "loc": { "start": { "line": 94, "column": 60 }, "end": { "line": 94, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5615, "end": 5616, "loc": { "start": { "line": 94, "column": 64 }, "end": { "line": 94, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5616, "end": 5620, "loc": { "start": { "line": 94, "column": 65 }, "end": { "line": 94, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5620, "end": 5621, "loc": { "start": { "line": 94, "column": 69 }, "end": { "line": 94, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5621, "end": 5622, "loc": { "start": { "line": 94, "column": 70 }, "end": { "line": 94, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5628, "end": 5632, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5632, "end": 5633, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5633, "end": 5649, "loc": { "start": { "line": 95, "column": 9 }, "end": { "line": 95, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5650, "end": 5651, "loc": { "start": { "line": 95, "column": 26 }, "end": { "line": 95, "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": 5652, "end": 5656, "loc": { "start": { "line": 95, "column": 28 }, "end": { "line": 95, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5656, "end": 5657, "loc": { "start": { "line": 95, "column": 32 }, "end": { "line": 95, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 5657, "end": 5673, "loc": { "start": { "line": 95, "column": 33 }, "end": { "line": 95, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5673, "end": 5674, "loc": { "start": { "line": 95, "column": 49 }, "end": { "line": 95, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5674, "end": 5678, "loc": { "start": { "line": 95, "column": 50 }, "end": { "line": 95, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5678, "end": 5679, "loc": { "start": { "line": 95, "column": 54 }, "end": { "line": 95, "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": 5679, "end": 5683, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 95, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5683, "end": 5684, "loc": { "start": { "line": 95, "column": 59 }, "end": { "line": 95, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5684, "end": 5685, "loc": { "start": { "line": 95, "column": 60 }, "end": { "line": 95, "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": 5691, "end": 5695, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5695, "end": 5696, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 5696, "end": 5711, "loc": { "start": { "line": 96, "column": 9 }, "end": { "line": 96, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5712, "end": 5713, "loc": { "start": { "line": 96, "column": 25 }, "end": { "line": 96, "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": 5714, "end": 5718, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5718, "end": 5719, "loc": { "start": { "line": 96, "column": 31 }, "end": { "line": 96, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 5719, "end": 5734, "loc": { "start": { "line": 96, "column": 32 }, "end": { "line": 96, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5734, "end": 5735, "loc": { "start": { "line": 96, "column": 47 }, "end": { "line": 96, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5735, "end": 5739, "loc": { "start": { "line": 96, "column": 48 }, "end": { "line": 96, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5739, "end": 5740, "loc": { "start": { "line": 96, "column": 52 }, "end": { "line": 96, "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": 5740, "end": 5744, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5744, "end": 5745, "loc": { "start": { "line": 96, "column": 57 }, "end": { "line": 96, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5745, "end": 5746, "loc": { "start": { "line": 96, "column": 58 }, "end": { "line": 96, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * simple-keyboard uses a non-persistent internal input to keep track of the entered string (the variable `keyboard.input`).\r\n * This removes any dependency to input DOM elements. You can type and directly display the value in a div element, for example.\r\n * @example\r\n * // To get entered input\r\n * let input = keyboard.getInput();\r\n * \r\n * // To clear entered input.\r\n * keyboard.clearInput();\r\n * \r\n * @type {object}\r\n * @property {object} default Default SimpleKeyboard internal input.\r\n * @property {object} myInputName Example input that can be set through `options.inputName:\"myInputName\"`.\r\n ", "start": 5754, "end": 6413, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 111, "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": 6419, "end": 6423, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6423, "end": 6424, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6424, "end": 6429, "loc": { "start": { "line": 112, "column": 9 }, "end": { "line": 112, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6430, "end": 6431, "loc": { "start": { "line": 112, "column": 15 }, "end": { "line": 112, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6432, "end": 6433, "loc": { "start": { "line": 112, "column": 17 }, "end": { "line": 112, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6433, "end": 6434, "loc": { "start": { "line": 112, "column": 18 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6434, "end": 6435, "loc": { "start": { "line": 112, "column": 19 }, "end": { "line": 112, "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": 6441, "end": 6445, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6445, "end": 6446, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 6446, "end": 6451, "loc": { "start": { "line": 113, "column": 9 }, "end": { "line": 113, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6451, "end": 6452, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "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": 6452, "end": 6456, "loc": { "start": { "line": 113, "column": 15 }, "end": { "line": 113, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6456, "end": 6457, "loc": { "start": { "line": 113, "column": 19 }, "end": { "line": 113, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 6457, "end": 6464, "loc": { "start": { "line": 113, "column": 20 }, "end": { "line": 113, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6464, "end": 6465, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 6465, "end": 6474, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6474, "end": 6475, "loc": { "start": { "line": 113, "column": 37 }, "end": { "line": 113, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6476, "end": 6477, "loc": { "start": { "line": 113, "column": 39 }, "end": { "line": 113, "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": 6478, "end": 6480, "loc": { "start": { "line": 113, "column": 41 }, "end": { "line": 113, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6480, "end": 6481, "loc": { "start": { "line": 113, "column": 43 }, "end": { "line": 113, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {string} DOM class of the keyboard wrapper, normally \"simple-keyboard\" by default.\r\n ", "start": 6489, "end": 6598, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 117, "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": 6604, "end": 6608, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 118, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6608, "end": 6609, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 6609, "end": 6625, "loc": { "start": { "line": 118, "column": 9 }, "end": { "line": 118, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6626, "end": 6627, "loc": { "start": { "line": 118, "column": 26 }, "end": { "line": 118, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6628, "end": 6644, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6644, "end": 6645, "loc": { "start": { "line": 118, "column": 44 }, "end": { "line": 118, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 6645, "end": 6650, "loc": { "start": { "line": 118, "column": 45 }, "end": { "line": 118, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6650, "end": 6651, "loc": { "start": { "line": 118, "column": 50 }, "end": { "line": 118, "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": 6651, "end": 6654, "loc": { "start": { "line": 118, "column": 51 }, "end": { "line": 118, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6654, "end": 6655, "loc": { "start": { "line": 118, "column": 54 }, "end": { "line": 118, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6655, "end": 6656, "loc": { "start": { "line": 118, "column": 55 }, "end": { "line": 118, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 6656, "end": 6660, "loc": { "start": { "line": 118, "column": 56 }, "end": { "line": 118, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6660, "end": 6661, "loc": { "start": { "line": 118, "column": 60 }, "end": { "line": 118, "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": 6661, "end": 6663, "loc": { "start": { "line": 118, "column": 61 }, "end": { "line": 118, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6663, "end": 6664, "loc": { "start": { "line": 118, "column": 63 }, "end": { "line": 118, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6664, "end": 6665, "loc": { "start": { "line": 118, "column": 64 }, "end": { "line": 118, "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": 6673, "end": 6818, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 122, "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": 6824, "end": 6828, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 8 } } }, { "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": 123, "column": 8 }, "end": { "line": 123, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 6829, "end": 6843, "loc": { "start": { "line": 123, "column": 9 }, "end": { "line": 123, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6844, "end": 6845, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6846, "end": 6847, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6847, "end": 6848, "loc": { "start": { "line": 123, "column": 27 }, "end": { "line": 123, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6848, "end": 6849, "loc": { "start": { "line": 123, "column": 28 }, "end": { "line": 123, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Rendering keyboard\r\n ", "start": 6857, "end": 6896, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "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": 6902, "end": 6904, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6904, "end": 6905, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "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": 6905, "end": 6909, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6909, "end": 6910, "loc": { "start": { "line": 128, "column": 11 }, "end": { "line": 128, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 6910, "end": 6921, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6921, "end": 6922, "loc": { "start": { "line": 128, "column": 23 }, "end": { "line": 128, "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": 6930, "end": 6934, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6934, "end": 6935, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 6935, "end": 6941, "loc": { "start": { "line": 129, "column": 11 }, "end": { "line": 129, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6941, "end": 6942, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6942, "end": 6943, "loc": { "start": { "line": 129, "column": 18 }, "end": { "line": 129, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6943, "end": 6944, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "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": 6950, "end": 6954, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6955, "end": 6956, "loc": { "start": { "line": 130, "column": 9 }, "end": { "line": 130, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6964, "end": 6971, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6971, "end": 6972, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 6972, "end": 6976, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6976, "end": 6977, "loc": { "start": { "line": 131, "column": 18 }, "end": { "line": 131, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6977, "end": 6978, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "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": 6978, "end": 6979, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 21 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6979, "end": 6981, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMQuery", "start": 6981, "end": 6997, "loc": { "start": { "line": 131, "column": 23 }, "end": { "line": 131, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6997, "end": 6998, "loc": { "start": { "line": 131, "column": 39 }, "end": { "line": 131, "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": 6998, "end": 7025, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7025, "end": 7026, "loc": { "start": { "line": 131, "column": 67 }, "end": { "line": 131, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7026, "end": 7027, "loc": { "start": { "line": 131, "column": 68 }, "end": { "line": 131, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7027, "end": 7028, "loc": { "start": { "line": 131, "column": 69 }, "end": { "line": 131, "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": 7036, "end": 7041, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "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": 7042, "end": 7045, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 7046, "end": 7051, "loc": { "start": { "line": 132, "column": 16 }, "end": { "line": 132, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7051, "end": 7052, "loc": { "start": { "line": 132, "column": 21 }, "end": { "line": 132, "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": 7052, "end": 7072, "loc": { "start": { "line": 132, "column": 22 }, "end": { "line": 132, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7072, "end": 7073, "loc": { "start": { "line": 132, "column": 42 }, "end": { "line": 132, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7073, "end": 7074, "loc": { "start": { "line": 132, "column": 43 }, "end": { "line": 132, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7080, "end": 7081, "loc": { "start": { "line": 133, "column": 4 }, "end": { "line": 133, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Saving instance\r\n * This enables multiple simple-keyboard support with easier management\r\n ", "start": 7089, "end": 7202, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 138, "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": 7208, "end": 7210, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7210, "end": 7211, "loc": { "start": { "line": 139, "column": 6 }, "end": { "line": 139, "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": 7211, "end": 7212, "loc": { "start": { "line": 139, "column": 7 }, "end": { "line": 139, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7212, "end": 7218, "loc": { "start": { "line": 139, "column": 8 }, "end": { "line": 139, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7218, "end": 7219, "loc": { "start": { "line": 139, "column": 14 }, "end": { "line": 139, "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": 7219, "end": 7244, "loc": { "start": { "line": 139, "column": 15 }, "end": { "line": 139, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7244, "end": 7245, "loc": { "start": { "line": 139, "column": 40 }, "end": { "line": 139, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7245, "end": 7246, "loc": { "start": { "line": 139, "column": 41 }, "end": { "line": 139, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7254, "end": 7260, "loc": { "start": { "line": 140, "column": 6 }, "end": { "line": 140, "column": 12 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7260, "end": 7261, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "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": 7261, "end": 7286, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7286, "end": 7287, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7288, "end": 7289, "loc": { "start": { "line": 140, "column": 40 }, "end": { "line": 140, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7290, "end": 7291, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7291, "end": 7292, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7292, "end": 7293, "loc": { "start": { "line": 140, "column": 44 }, "end": { "line": 140, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 7307, "end": 7313, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7313, "end": 7314, "loc": { "start": { "line": 142, "column": 10 }, "end": { "line": 142, "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": 7314, "end": 7339, "loc": { "start": { "line": 142, "column": 11 }, "end": { "line": 142, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7339, "end": 7340, "loc": { "start": { "line": 142, "column": 36 }, "end": { "line": 142, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7340, "end": 7341, "loc": { "start": { "line": 142, "column": 37 }, "end": { "line": 142, "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": 7341, "end": 7345, "loc": { "start": { "line": 142, "column": 38 }, "end": { "line": 142, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7345, "end": 7346, "loc": { "start": { "line": 142, "column": 42 }, "end": { "line": 142, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 7346, "end": 7355, "loc": { "start": { "line": 142, "column": 43 }, "end": { "line": 142, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7355, "end": 7356, "loc": { "start": { "line": 142, "column": 52 }, "end": { "line": 142, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 7356, "end": 7365, "loc": { "start": { "line": 142, "column": 53 }, "end": { "line": 142, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7365, "end": 7366, "loc": { "start": { "line": 142, "column": 62 }, "end": { "line": 142, "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": 7366, "end": 7370, "loc": { "start": { "line": 142, "column": 63 }, "end": { "line": 142, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7370, "end": 7371, "loc": { "start": { "line": 142, "column": 67 }, "end": { "line": 142, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 7371, "end": 7387, "loc": { "start": { "line": 142, "column": 68 }, "end": { "line": 142, "column": 84 } } }, { "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": 142, "column": 84 }, "end": { "line": 142, "column": 85 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7388, "end": 7389, "loc": { "start": { "line": 142, "column": 85 }, "end": { "line": 142, "column": 86 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7390, "end": 7391, "loc": { "start": { "line": 142, "column": 87 }, "end": { "line": 142, "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": 7392, "end": 7396, "loc": { "start": { "line": 142, "column": 89 }, "end": { "line": 142, "column": 93 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7396, "end": 7397, "loc": { "start": { "line": 142, "column": 93 }, "end": { "line": 142, "column": 94 } } }, { "type": "CommentBlock", "value": "*\r\n * Physical Keyboard support\r\n ", "start": 7405, "end": 7451, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 146, "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": 7457, "end": 7461, "loc": { "start": { "line": 147, "column": 4 }, "end": { "line": 147, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7461, "end": 7462, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "physicalKeyboardInterface", "start": 7462, "end": 7487, "loc": { "start": { "line": 147, "column": 9 }, "end": { "line": 147, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7488, "end": 7489, "loc": { "start": { "line": 147, "column": 35 }, "end": { "line": 147, "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": 7490, "end": 7493, "loc": { "start": { "line": 147, "column": 37 }, "end": { "line": 147, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PhysicalKeyboard", "start": 7494, "end": 7510, "loc": { "start": { "line": 147, "column": 41 }, "end": { "line": 147, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7510, "end": 7511, "loc": { "start": { "line": 147, "column": 57 }, "end": { "line": 147, "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": 7511, "end": 7515, "loc": { "start": { "line": 147, "column": 58 }, "end": { "line": 147, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7515, "end": 7516, "loc": { "start": { "line": 147, "column": 62 }, "end": { "line": 147, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7516, "end": 7517, "loc": { "start": { "line": 147, "column": 63 }, "end": { "line": 147, "column": 64 } } }, { "type": "CommentBlock", "value": "*\r\n * Modules\r\n ", "start": 7525, "end": 7553, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 151, "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": 7559, "end": 7563, "loc": { "start": { "line": 152, "column": 4 }, "end": { "line": 152, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7563, "end": 7564, "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": "modules", "start": 7564, "end": 7571, "loc": { "start": { "line": 152, "column": 9 }, "end": { "line": 152, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7572, "end": 7573, "loc": { "start": { "line": 152, "column": 17 }, "end": { "line": 152, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7574, "end": 7575, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7575, "end": 7576, "loc": { "start": { "line": 152, "column": 20 }, "end": { "line": 152, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7576, "end": 7577, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "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": 7583, "end": 7587, "loc": { "start": { "line": 153, "column": 4 }, "end": { "line": 153, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7587, "end": 7588, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 7588, "end": 7599, "loc": { "start": { "line": 153, "column": 9 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7599, "end": 7600, "loc": { "start": { "line": 153, "column": 20 }, "end": { "line": 153, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7600, "end": 7601, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7601, "end": 7602, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7606, "end": 7607, "loc": { "start": { "line": 154, "column": 2 }, "end": { "line": 154, "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": 7613, "end": 7725, "loc": { "start": { "line": 156, "column": 2 }, "end": { "line": 159, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 7729, "end": 7748, "loc": { "start": { "line": 160, "column": 2 }, "end": { "line": 160, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7748, "end": 7749, "loc": { "start": { "line": 160, "column": 21 }, "end": { "line": 160, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7749, "end": 7755, "loc": { "start": { "line": 160, "column": 22 }, "end": { "line": 160, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7755, "end": 7756, "loc": { "start": { "line": 160, "column": 28 }, "end": { "line": 160, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7756, "end": 7757, "loc": { "start": { "line": 160, "column": 29 }, "end": { "line": 160, "column": 30 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 7763, "end": 7766, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 161, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7767, "end": 7772, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7773, "end": 7774, "loc": { "start": { "line": 161, "column": 14 }, "end": { "line": 161, "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": 7775, "end": 7779, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7779, "end": 7780, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7780, "end": 7787, "loc": { "start": { "line": 161, "column": 21 }, "end": { "line": 161, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7787, "end": 7788, "loc": { "start": { "line": 161, "column": 28 }, "end": { "line": 161, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 7788, "end": 7793, "loc": { "start": { "line": 161, "column": 29 }, "end": { "line": 161, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7793, "end": 7794, "loc": { "start": { "line": 161, "column": 34 }, "end": { "line": 161, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Ignoring placeholder buttons\r\n ", "start": 7802, "end": 7851, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 165, "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": 7857, "end": 7859, "loc": { "start": { "line": 166, "column": 4 }, "end": { "line": 166, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7859, "end": 7860, "loc": { "start": { "line": 166, "column": 6 }, "end": { "line": 166, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 7860, "end": 7866, "loc": { "start": { "line": 166, "column": 7 }, "end": { "line": 166, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7867, "end": 7870, "loc": { "start": { "line": 166, "column": 14 }, "end": { "line": 166, "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": 7871, "end": 7877, "loc": { "start": { "line": 166, "column": 18 }, "end": { "line": 166, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7877, "end": 7878, "loc": { "start": { "line": 166, "column": 24 }, "end": { "line": 166, "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": 7886, "end": 7892, "loc": { "start": { "line": 167, "column": 6 }, "end": { "line": 167, "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": 7893, "end": 7898, "loc": { "start": { "line": 167, "column": 13 }, "end": { "line": 167, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7898, "end": 7899, "loc": { "start": { "line": 167, "column": 18 }, "end": { "line": 167, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onKeyPress\r\n ", "start": 7907, "end": 7946, "loc": { "start": { "line": 169, "column": 4 }, "end": { "line": 171, "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": 7952, "end": 7954, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7954, "end": 7955, "loc": { "start": { "line": 172, "column": 6 }, "end": { "line": 172, "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": 7955, "end": 7961, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "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": 7962, "end": 7966, "loc": { "start": { "line": 172, "column": 14 }, "end": { "line": 172, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7966, "end": 7967, "loc": { "start": { "line": 172, "column": 18 }, "end": { "line": 172, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 7967, "end": 7974, "loc": { "start": { "line": 172, "column": 19 }, "end": { "line": 172, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7974, "end": 7975, "loc": { "start": { "line": 172, "column": 26 }, "end": { "line": 172, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 7975, "end": 7985, "loc": { "start": { "line": 172, "column": 27 }, "end": { "line": 172, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7986, "end": 7989, "loc": { "start": { "line": 172, "column": 38 }, "end": { "line": 172, "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": 7990, "end": 8000, "loc": { "start": { "line": 172, "column": 42 }, "end": { "line": 172, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8000, "end": 8001, "loc": { "start": { "line": 172, "column": 52 }, "end": { "line": 172, "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": 8009, "end": 8013, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8013, "end": 8014, "loc": { "start": { "line": 173, "column": 10 }, "end": { "line": 173, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8014, "end": 8021, "loc": { "start": { "line": 173, "column": 11 }, "end": { "line": 173, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8021, "end": 8022, "loc": { "start": { "line": 173, "column": 18 }, "end": { "line": 173, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onKeyPress", "start": 8022, "end": 8032, "loc": { "start": { "line": 173, "column": 19 }, "end": { "line": 173, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8032, "end": 8033, "loc": { "start": { "line": 173, "column": 29 }, "end": { "line": 173, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8033, "end": 8039, "loc": { "start": { "line": 173, "column": 30 }, "end": { "line": 173, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8039, "end": 8040, "loc": { "start": { "line": 173, "column": 36 }, "end": { "line": 173, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8040, "end": 8041, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "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": 8053, "end": 8055, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 175, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8055, "end": 8056, "loc": { "start": { "line": 175, "column": 6 }, "end": { "line": 175, "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": 8056, "end": 8057, "loc": { "start": { "line": 175, "column": 7 }, "end": { "line": 175, "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": 8057, "end": 8061, "loc": { "start": { "line": 175, "column": 8 }, "end": { "line": 175, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8061, "end": 8062, "loc": { "start": { "line": 175, "column": 12 }, "end": { "line": 175, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8062, "end": 8067, "loc": { "start": { "line": 175, "column": 13 }, "end": { "line": 175, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8067, "end": 8068, "loc": { "start": { "line": 175, "column": 18 }, "end": { "line": 175, "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": 8068, "end": 8072, "loc": { "start": { "line": 175, "column": 19 }, "end": { "line": 175, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8072, "end": 8073, "loc": { "start": { "line": 175, "column": 23 }, "end": { "line": 175, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8073, "end": 8080, "loc": { "start": { "line": 175, "column": 24 }, "end": { "line": 175, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8080, "end": 8081, "loc": { "start": { "line": 175, "column": 31 }, "end": { "line": 175, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8081, "end": 8090, "loc": { "start": { "line": 175, "column": 32 }, "end": { "line": 175, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8090, "end": 8091, "loc": { "start": { "line": 175, "column": 41 }, "end": { "line": 175, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8091, "end": 8092, "loc": { "start": { "line": 175, "column": 42 }, "end": { "line": 175, "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": 8100, "end": 8104, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8104, "end": 8105, "loc": { "start": { "line": 176, "column": 10 }, "end": { "line": 176, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8105, "end": 8110, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8110, "end": 8111, "loc": { "start": { "line": 176, "column": 16 }, "end": { "line": 176, "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": 8111, "end": 8115, "loc": { "start": { "line": 176, "column": 17 }, "end": { "line": 176, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8115, "end": 8116, "loc": { "start": { "line": 176, "column": 21 }, "end": { "line": 176, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8116, "end": 8123, "loc": { "start": { "line": 176, "column": 22 }, "end": { "line": 176, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8123, "end": 8124, "loc": { "start": { "line": 176, "column": 29 }, "end": { "line": 176, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8124, "end": 8133, "loc": { "start": { "line": 176, "column": 30 }, "end": { "line": 176, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8133, "end": 8134, "loc": { "start": { "line": 176, "column": 39 }, "end": { "line": 176, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8135, "end": 8136, "loc": { "start": { "line": 176, "column": 41 }, "end": { "line": 176, "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": 8137, "end": 8139, "loc": { "start": { "line": 176, "column": 43 }, "end": { "line": 176, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8139, "end": 8140, "loc": { "start": { "line": 176, "column": 45 }, "end": { "line": 176, "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": 8148, "end": 8151, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8152, "end": 8164, "loc": { "start": { "line": 178, "column": 8 }, "end": { "line": 178, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8165, "end": 8166, "loc": { "start": { "line": 178, "column": 21 }, "end": { "line": 178, "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": 8167, "end": 8171, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8171, "end": 8172, "loc": { "start": { "line": 178, "column": 27 }, "end": { "line": 178, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8172, "end": 8181, "loc": { "start": { "line": 178, "column": 28 }, "end": { "line": 178, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8181, "end": 8182, "loc": { "start": { "line": 178, "column": 37 }, "end": { "line": 178, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 8182, "end": 8197, "loc": { "start": { "line": 178, "column": 38 }, "end": { "line": 178, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8197, "end": 8198, "loc": { "start": { "line": 178, "column": 53 }, "end": { "line": 178, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8206, "end": 8212, "loc": { "start": { "line": 179, "column": 6 }, "end": { "line": 179, "column": 12 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8212, "end": 8213, "loc": { "start": { "line": 179, "column": 12 }, "end": { "line": 179, "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": 8214, "end": 8218, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8218, "end": 8219, "loc": { "start": { "line": 179, "column": 18 }, "end": { "line": 179, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8219, "end": 8224, "loc": { "start": { "line": 179, "column": 19 }, "end": { "line": 179, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8224, "end": 8225, "loc": { "start": { "line": 179, "column": 24 }, "end": { "line": 179, "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": 8225, "end": 8229, "loc": { "start": { "line": 179, "column": 25 }, "end": { "line": 179, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8229, "end": 8230, "loc": { "start": { "line": 179, "column": 29 }, "end": { "line": 179, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8230, "end": 8237, "loc": { "start": { "line": 179, "column": 30 }, "end": { "line": 179, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8237, "end": 8238, "loc": { "start": { "line": 179, "column": 37 }, "end": { "line": 179, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8238, "end": 8247, "loc": { "start": { "line": 179, "column": 38 }, "end": { "line": 179, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8247, "end": 8248, "loc": { "start": { "line": 179, "column": 47 }, "end": { "line": 179, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8248, "end": 8249, "loc": { "start": { "line": 179, "column": 48 }, "end": { "line": 179, "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": 8250, "end": 8254, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8254, "end": 8255, "loc": { "start": { "line": 179, "column": 54 }, "end": { "line": 179, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8255, "end": 8262, "loc": { "start": { "line": 179, "column": 55 }, "end": { "line": 179, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8262, "end": 8263, "loc": { "start": { "line": 179, "column": 62 }, "end": { "line": 179, "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": 8264, "end": 8268, "loc": { "start": { "line": 179, "column": 64 }, "end": { "line": 179, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8268, "end": 8269, "loc": { "start": { "line": 179, "column": 68 }, "end": { "line": 179, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 8269, "end": 8282, "loc": { "start": { "line": 179, "column": 69 }, "end": { "line": 179, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8288, "end": 8289, "loc": { "start": { "line": 180, "column": 4 }, "end": { "line": 180, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8289, "end": 8290, "loc": { "start": { "line": 180, "column": 5 }, "end": { "line": 180, "column": 6 } } }, { "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": 8298, "end": 8300, "loc": { "start": { "line": 182, "column": 4 }, "end": { "line": 182, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8300, "end": 8301, "loc": { "start": { "line": 182, "column": 6 }, "end": { "line": 182, "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": 8301, "end": 8305, "loc": { "start": { "line": 182, "column": 7 }, "end": { "line": 182, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8305, "end": 8306, "loc": { "start": { "line": 182, "column": 11 }, "end": { "line": 182, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8306, "end": 8311, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 17 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8311, "end": 8312, "loc": { "start": { "line": 182, "column": 17 }, "end": { "line": 182, "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": 8312, "end": 8316, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8316, "end": 8317, "loc": { "start": { "line": 182, "column": 22 }, "end": { "line": 182, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8317, "end": 8324, "loc": { "start": { "line": 182, "column": 23 }, "end": { "line": 182, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8324, "end": 8325, "loc": { "start": { "line": 182, "column": 30 }, "end": { "line": 182, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8325, "end": 8334, "loc": { "start": { "line": 182, "column": 31 }, "end": { "line": 182, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8334, "end": 8335, "loc": { "start": { "line": 182, "column": 40 }, "end": { "line": 182, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 8336, "end": 8339, "loc": { "start": { "line": 182, "column": 42 }, "end": { "line": 182, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8340, "end": 8352, "loc": { "start": { "line": 182, "column": 46 }, "end": { "line": 182, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8352, "end": 8353, "loc": { "start": { "line": 182, "column": 58 }, "end": { "line": 182, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8353, "end": 8354, "loc": { "start": { "line": 182, "column": 59 }, "end": { "line": 182, "column": 60 } } }, { "type": "CommentBlock", "value": "*\r\n * If maxLength and handleMaxLength yield true, halting\r\n ", "start": 8364, "end": 8441, "loc": { "start": { "line": 184, "column": 6 }, "end": { "line": 186, "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": 8449, "end": 8451, "loc": { "start": { "line": 187, "column": 6 }, "end": { "line": 187, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8451, "end": 8452, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "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": 8452, "end": 8456, "loc": { "start": { "line": 187, "column": 9 }, "end": { "line": 187, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8456, "end": 8457, "loc": { "start": { "line": 187, "column": 13 }, "end": { "line": 187, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8457, "end": 8464, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8464, "end": 8465, "loc": { "start": { "line": 187, "column": 21 }, "end": { "line": 187, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8465, "end": 8474, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 8475, "end": 8477, "loc": { "start": { "line": 187, "column": 32 }, "end": { "line": 187, "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": 8478, "end": 8482, "loc": { "start": { "line": 187, "column": 35 }, "end": { "line": 187, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8482, "end": 8483, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 187, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8483, "end": 8492, "loc": { "start": { "line": 187, "column": 40 }, "end": { "line": 187, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8492, "end": 8493, "loc": { "start": { "line": 187, "column": 49 }, "end": { "line": 187, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 8493, "end": 8508, "loc": { "start": { "line": 187, "column": 50 }, "end": { "line": 187, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8508, "end": 8509, "loc": { "start": { "line": 187, "column": 65 }, "end": { "line": 187, "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": 8509, "end": 8513, "loc": { "start": { "line": 187, "column": 66 }, "end": { "line": 187, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8513, "end": 8514, "loc": { "start": { "line": 187, "column": 70 }, "end": { "line": 187, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8514, "end": 8519, "loc": { "start": { "line": 187, "column": 71 }, "end": { "line": 187, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8519, "end": 8520, "loc": { "start": { "line": 187, "column": 76 }, "end": { "line": 187, "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": 8521, "end": 8525, "loc": { "start": { "line": 187, "column": 78 }, "end": { "line": 187, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8525, "end": 8526, "loc": { "start": { "line": 187, "column": 82 }, "end": { "line": 187, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8526, "end": 8533, "loc": { "start": { "line": 187, "column": 83 }, "end": { "line": 187, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8533, "end": 8534, "loc": { "start": { "line": 187, "column": 90 }, "end": { "line": 187, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8535, "end": 8547, "loc": { "start": { "line": 187, "column": 92 }, "end": { "line": 187, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8547, "end": 8548, "loc": { "start": { "line": 187, "column": 104 }, "end": { "line": 187, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8548, "end": 8549, "loc": { "start": { "line": 187, "column": 105 }, "end": { "line": 187, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8549, "end": 8550, "loc": { "start": { "line": 187, "column": 106 }, "end": { "line": 187, "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": 8560, "end": 8566, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "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": 8567, "end": 8572, "loc": { "start": { "line": 188, "column": 15 }, "end": { "line": 188, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8572, "end": 8573, "loc": { "start": { "line": 188, "column": 20 }, "end": { "line": 188, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8581, "end": 8582, "loc": { "start": { "line": 189, "column": 6 }, "end": { "line": 189, "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": 8592, "end": 8596, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8596, "end": 8597, "loc": { "start": { "line": 191, "column": 10 }, "end": { "line": 191, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8597, "end": 8602, "loc": { "start": { "line": 191, "column": 11 }, "end": { "line": 191, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8602, "end": 8603, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "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": 8603, "end": 8607, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8607, "end": 8608, "loc": { "start": { "line": 191, "column": 21 }, "end": { "line": 191, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8608, "end": 8615, "loc": { "start": { "line": 191, "column": 22 }, "end": { "line": 191, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8615, "end": 8616, "loc": { "start": { "line": 191, "column": 29 }, "end": { "line": 191, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8616, "end": 8625, "loc": { "start": { "line": 191, "column": 30 }, "end": { "line": 191, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8625, "end": 8626, "loc": { "start": { "line": 191, "column": 39 }, "end": { "line": 191, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8628, "end": 8629, "loc": { "start": { "line": 191, "column": 42 }, "end": { "line": 191, "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": 8630, "end": 8634, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8634, "end": 8635, "loc": { "start": { "line": 191, "column": 48 }, "end": { "line": 191, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 8635, "end": 8644, "loc": { "start": { "line": 191, "column": 49 }, "end": { "line": 191, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8644, "end": 8645, "loc": { "start": { "line": 191, "column": 58 }, "end": { "line": 191, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 8645, "end": 8660, "loc": { "start": { "line": 191, "column": 59 }, "end": { "line": 191, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8660, "end": 8661, "loc": { "start": { "line": 191, "column": 74 }, "end": { "line": 191, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 8671, "end": 8677, "loc": { "start": { "line": 192, "column": 8 }, "end": { "line": 192, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8677, "end": 8678, "loc": { "start": { "line": 192, "column": 14 }, "end": { "line": 192, "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": 8679, "end": 8683, "loc": { "start": { "line": 192, "column": 16 }, "end": { "line": 192, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8683, "end": 8684, "loc": { "start": { "line": 192, "column": 20 }, "end": { "line": 192, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8684, "end": 8689, "loc": { "start": { "line": 192, "column": 21 }, "end": { "line": 192, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8689, "end": 8690, "loc": { "start": { "line": 192, "column": 26 }, "end": { "line": 192, "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": 8690, "end": 8694, "loc": { "start": { "line": 192, "column": 27 }, "end": { "line": 192, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8694, "end": 8695, "loc": { "start": { "line": 192, "column": 31 }, "end": { "line": 192, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8695, "end": 8702, "loc": { "start": { "line": 192, "column": 32 }, "end": { "line": 192, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8702, "end": 8703, "loc": { "start": { "line": 192, "column": 39 }, "end": { "line": 192, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8703, "end": 8712, "loc": { "start": { "line": 192, "column": 40 }, "end": { "line": 192, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8712, "end": 8713, "loc": { "start": { "line": 192, "column": 49 }, "end": { "line": 192, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8713, "end": 8714, "loc": { "start": { "line": 192, "column": 50 }, "end": { "line": 192, "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": 8715, "end": 8719, "loc": { "start": { "line": 192, "column": 52 }, "end": { "line": 192, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8719, "end": 8720, "loc": { "start": { "line": 192, "column": 56 }, "end": { "line": 192, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8720, "end": 8727, "loc": { "start": { "line": 192, "column": 57 }, "end": { "line": 192, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8727, "end": 8728, "loc": { "start": { "line": 192, "column": 64 }, "end": { "line": 192, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8729, "end": 8733, "loc": { "start": { "line": 192, "column": 66 }, "end": { "line": 192, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8733, "end": 8734, "loc": { "start": { "line": 192, "column": 70 }, "end": { "line": 192, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 8734, "end": 8747, "loc": { "start": { "line": 192, "column": 71 }, "end": { "line": 192, "column": 84 } } }, { "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": 192, "column": 84 }, "end": { "line": 192, "column": 85 } } }, { "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": 8749, "end": 8753, "loc": { "start": { "line": 192, "column": 86 }, "end": { "line": 192, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8761, "end": 8762, "loc": { "start": { "line": 193, "column": 6 }, "end": { "line": 193, "column": 7 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8762, "end": 8763, "loc": { "start": { "line": 193, "column": 7 }, "end": { "line": 193, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8773, "end": 8775, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8775, "end": 8776, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8776, "end": 8781, "loc": { "start": { "line": 195, "column": 9 }, "end": { "line": 195, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8781, "end": 8782, "loc": { "start": { "line": 195, "column": 14 }, "end": { "line": 195, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8792, "end": 8799, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 15 } } }, { "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": 196, "column": 15 }, "end": { "line": 196, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8800, "end": 8803, "loc": { "start": { "line": 196, "column": 16 }, "end": { "line": 196, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8803, "end": 8804, "loc": { "start": { "line": 196, "column": 19 }, "end": { "line": 196, "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": 8804, "end": 8820, "loc": { "start": { "line": 196, "column": 20 }, "end": { "line": 196, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8820, "end": 8821, "loc": { "start": { "line": 196, "column": 36 }, "end": { "line": 196, "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": 8822, "end": 8826, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8826, "end": 8827, "loc": { "start": { "line": 196, "column": 42 }, "end": { "line": 196, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8827, "end": 8832, "loc": { "start": { "line": 196, "column": 43 }, "end": { "line": 196, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8832, "end": 8833, "loc": { "start": { "line": 196, "column": 48 }, "end": { "line": 196, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8833, "end": 8834, "loc": { "start": { "line": 196, "column": 49 }, "end": { "line": 196, "column": 50 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 8844, "end": 8903, "loc": { "start": { "line": 198, "column": 6 }, "end": { "line": 200, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 8911, "end": 8913, "loc": { "start": { "line": 201, "column": 6 }, "end": { "line": 201, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8913, "end": 8914, "loc": { "start": { "line": 201, "column": 8 }, "end": { "line": 201, "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": 8914, "end": 8918, "loc": { "start": { "line": 201, "column": 9 }, "end": { "line": 201, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8918, "end": 8919, "loc": { "start": { "line": 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": "options", "start": 8919, "end": 8926, "loc": { "start": { "line": 201, "column": 14 }, "end": { "line": 201, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8926, "end": 8927, "loc": { "start": { "line": 201, "column": 21 }, "end": { "line": 201, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8927, "end": 8945, "loc": { "start": { "line": 201, "column": 22 }, "end": { "line": 201, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8945, "end": 8946, "loc": { "start": { "line": 201, "column": 40 }, "end": { "line": 201, "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": 8956, "end": 8960, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8960, "end": 8961, "loc": { "start": { "line": 202, "column": 12 }, "end": { "line": 202, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 8961, "end": 8979, "loc": { "start": { "line": 202, "column": 13 }, "end": { "line": 202, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8979, "end": 8980, "loc": { "start": { "line": 202, "column": 31 }, "end": { "line": 202, "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": 8980, "end": 8984, "loc": { "start": { "line": 202, "column": 32 }, "end": { "line": 202, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8984, "end": 8985, "loc": { "start": { "line": 202, "column": 36 }, "end": { "line": 202, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 8985, "end": 8990, "loc": { "start": { "line": 202, "column": 37 }, "end": { "line": 202, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8990, "end": 8991, "loc": { "start": { "line": 202, "column": 42 }, "end": { "line": 202, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8991, "end": 8992, "loc": { "start": { "line": 202, "column": 43 }, "end": { "line": 202, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onChange\r\n ", "start": 9002, "end": 9043, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 206, "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": 9051, "end": 9053, "loc": { "start": { "line": 207, "column": 6 }, "end": { "line": 207, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9053, "end": 9054, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "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": 9054, "end": 9060, "loc": { "start": { "line": 207, "column": 9 }, "end": { "line": 207, "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": 9061, "end": 9065, "loc": { "start": { "line": 207, "column": 16 }, "end": { "line": 207, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9065, "end": 9066, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9066, "end": 9073, "loc": { "start": { "line": 207, "column": 21 }, "end": { "line": 207, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9073, "end": 9074, "loc": { "start": { "line": 207, "column": 28 }, "end": { "line": 207, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 9074, "end": 9082, "loc": { "start": { "line": 207, "column": 29 }, "end": { "line": 207, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9083, "end": 9086, "loc": { "start": { "line": 207, "column": 38 }, "end": { "line": 207, "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": 9087, "end": 9097, "loc": { "start": { "line": 207, "column": 42 }, "end": { "line": 207, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9097, "end": 9098, "loc": { "start": { "line": 207, "column": 52 }, "end": { "line": 207, "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": 9108, "end": 9112, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9112, "end": 9113, "loc": { "start": { "line": 208, "column": 12 }, "end": { "line": 208, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9113, "end": 9120, "loc": { "start": { "line": 208, "column": 13 }, "end": { "line": 208, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9120, "end": 9121, "loc": { "start": { "line": 208, "column": 20 }, "end": { "line": 208, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onChange", "start": 9121, "end": 9129, "loc": { "start": { "line": 208, "column": 21 }, "end": { "line": 208, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9129, "end": 9130, "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": 9130, "end": 9134, "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": 9134, "end": 9135, "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": 9135, "end": 9140, "loc": { "start": { "line": 208, "column": 35 }, "end": { "line": 208, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9140, "end": 9141, "loc": { "start": { "line": 208, "column": 40 }, "end": { "line": 208, "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": 9141, "end": 9145, "loc": { "start": { "line": 208, "column": 41 }, "end": { "line": 208, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9145, "end": 9146, "loc": { "start": { "line": 208, "column": 45 }, "end": { "line": 208, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9146, "end": 9153, "loc": { "start": { "line": 208, "column": 46 }, "end": { "line": 208, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9153, "end": 9154, "loc": { "start": { "line": 208, "column": 53 }, "end": { "line": 208, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 9154, "end": 9163, "loc": { "start": { "line": 208, "column": 54 }, "end": { "line": 208, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9163, "end": 9164, "loc": { "start": { "line": 208, "column": 63 }, "end": { "line": 208, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9164, "end": 9165, "loc": { "start": { "line": 208, "column": 64 }, "end": { "line": 208, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9165, "end": 9166, "loc": { "start": { "line": 208, "column": 65 }, "end": { "line": 208, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9172, "end": 9173, "loc": { "start": { "line": 209, "column": 4 }, "end": { "line": 209, "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": 9185, "end": 9187, "loc": { "start": { "line": 211, "column": 4 }, "end": { "line": 211, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9187, "end": 9188, "loc": { "start": { "line": 211, "column": 6 }, "end": { "line": 211, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 9188, "end": 9193, "loc": { "start": { "line": 211, "column": 7 }, "end": { "line": 211, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9193, "end": 9194, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9194, "end": 9195, "loc": { "start": { "line": 211, "column": 13 }, "end": { "line": 211, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 9203, "end": 9210, "loc": { "start": { "line": 212, "column": 6 }, "end": { "line": 212, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9210, "end": 9211, "loc": { "start": { "line": 212, "column": 13 }, "end": { "line": 212, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 9211, "end": 9214, "loc": { "start": { "line": 212, "column": 14 }, "end": { "line": 212, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9214, "end": 9215, "loc": { "start": { "line": 212, "column": 17 }, "end": { "line": 212, "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": 9215, "end": 9229, "loc": { "start": { "line": 212, "column": 18 }, "end": { "line": 212, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9229, "end": 9230, "loc": { "start": { "line": 212, "column": 32 }, "end": { "line": 212, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9231, "end": 9237, "loc": { "start": { "line": 212, "column": 34 }, "end": { "line": 212, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9237, "end": 9238, "loc": { "start": { "line": 212, "column": 40 }, "end": { "line": 212, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9238, "end": 9239, "loc": { "start": { "line": 212, "column": 41 }, "end": { "line": 212, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9245, "end": 9246, "loc": { "start": { "line": 213, "column": 4 }, "end": { "line": 213, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9250, "end": 9251, "loc": { "start": { "line": 214, "column": 2 }, "end": { "line": 214, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mousedown\r\n ", "start": 9257, "end": 9298, "loc": { "start": { "line": 216, "column": 2 }, "end": { "line": 218, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 9302, "end": 9328, "loc": { "start": { "line": 219, "column": 2 }, "end": { "line": 219, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 9332, "end": 9353, "loc": { "start": { "line": 220, "column": 2 }, "end": { "line": 220, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9353, "end": 9354, "loc": { "start": { "line": 220, "column": 23 }, "end": { "line": 220, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9354, "end": 9360, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9360, "end": 9361, "loc": { "start": { "line": 220, "column": 30 }, "end": { "line": 220, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 9362, "end": 9363, "loc": { "start": { "line": 220, "column": 32 }, "end": { "line": 220, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9363, "end": 9364, "loc": { "start": { "line": 220, "column": 33 }, "end": { "line": 220, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9364, "end": 9365, "loc": { "start": { "line": 220, "column": 34 }, "end": { "line": 220, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Whether the mouse is being held onKeyPress\r\n ", "start": 9371, "end": 9450, "loc": { "start": { "line": 221, "column": 4 }, "end": { "line": 223, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9456, "end": 9460, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9460, "end": 9461, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9461, "end": 9472, "loc": { "start": { "line": 224, "column": 9 }, "end": { "line": 224, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9473, "end": 9474, "loc": { "start": { "line": 224, "column": 21 }, "end": { "line": 224, "column": 22 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9475, "end": 9479, "loc": { "start": { "line": 224, "column": 23 }, "end": { "line": 224, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9479, "end": 9480, "loc": { "start": { "line": 224, "column": 27 }, "end": { "line": 224, "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": 9488, "end": 9490, "loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 226, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9490, "end": 9491, "loc": { "start": { "line": 226, "column": 6 }, "end": { "line": 226, "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": 9491, "end": 9495, "loc": { "start": { "line": 226, "column": 7 }, "end": { "line": 226, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9495, "end": 9496, "loc": { "start": { "line": 226, "column": 11 }, "end": { "line": 226, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9496, "end": 9518, "loc": { "start": { "line": 226, "column": 12 }, "end": { "line": 226, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9518, "end": 9519, "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": "clearTimeout", "start": 9527, "end": 9539, "loc": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9539, "end": 9540, "loc": { "start": { "line": 227, "column": 18 }, "end": { "line": 227, "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": 9540, "end": 9544, "loc": { "start": { "line": 227, "column": 19 }, "end": { "line": 227, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9544, "end": 9545, "loc": { "start": { "line": 227, "column": 23 }, "end": { "line": 227, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 9545, "end": 9567, "loc": { "start": { "line": 227, "column": 24 }, "end": { "line": 227, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9567, "end": 9568, "loc": { "start": { "line": 227, "column": 46 }, "end": { "line": 227, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9568, "end": 9569, "loc": { "start": { "line": 227, "column": 47 }, "end": { "line": 227, "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": 9577, "end": 9579, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9579, "end": 9580, "loc": { "start": { "line": 229, "column": 6 }, "end": { "line": 229, "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": 9580, "end": 9584, "loc": { "start": { "line": 229, "column": 7 }, "end": { "line": 229, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9584, "end": 9585, "loc": { "start": { "line": 229, "column": 11 }, "end": { "line": 229, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9585, "end": 9596, "loc": { "start": { "line": 229, "column": 12 }, "end": { "line": 229, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9596, "end": 9597, "loc": { "start": { "line": 229, "column": 23 }, "end": { "line": 229, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 9605, "end": 9617, "loc": { "start": { "line": 230, "column": 6 }, "end": { "line": 230, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9617, "end": 9618, "loc": { "start": { "line": 230, "column": 18 }, "end": { "line": 230, "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": 9618, "end": 9622, "loc": { "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9622, "end": 9623, "loc": { "start": { "line": 230, "column": 23 }, "end": { "line": 230, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9623, "end": 9634, "loc": { "start": { "line": 230, "column": 24 }, "end": { "line": 230, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9634, "end": 9635, "loc": { "start": { "line": 230, "column": 35 }, "end": { "line": 230, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9635, "end": 9636, "loc": { "start": { "line": 230, "column": 36 }, "end": { "line": 230, "column": 37 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Time to wait until a key hold is detected\r\n ", "start": 9644, "end": 9721, "loc": { "start": { "line": 232, "column": 4 }, "end": { "line": 234, "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": 9727, "end": 9731, "loc": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9731, "end": 9732, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 9732, "end": 9743, "loc": { "start": { "line": 235, "column": 9 }, "end": { "line": 235, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9744, "end": 9745, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 9746, "end": 9756, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 235, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9756, "end": 9757, "loc": { "start": { "line": 235, "column": 33 }, "end": { "line": 235, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9757, "end": 9758, "loc": { "start": { "line": 235, "column": 34 }, "end": { "line": 235, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9758, "end": 9759, "loc": { "start": { "line": 235, "column": 35 }, "end": { "line": 235, "column": 36 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9760, "end": 9762, "loc": { "start": { "line": 235, "column": 37 }, "end": { "line": 235, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9763, "end": 9764, "loc": { "start": { "line": 235, "column": 40 }, "end": { "line": 235, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 9772, "end": 9774, "loc": { "start": { "line": 236, "column": 6 }, "end": { "line": 236, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9774, "end": 9775, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "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": 9785, "end": 9789, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9789, "end": 9790, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 9790, "end": 9801, "loc": { "start": { "line": 237, "column": 13 }, "end": { "line": 237, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9803, "end": 9805, "loc": { "start": { "line": 237, "column": 26 }, "end": { "line": 237, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9815, "end": 9816, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9828, "end": 9829, "loc": { "start": { "line": 239, "column": 10 }, "end": { "line": 239, "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": 9829, "end": 9830, "loc": { "start": { "line": 239, "column": 11 }, "end": { "line": 239, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9830, "end": 9836, "loc": { "start": { "line": 239, "column": 12 }, "end": { "line": 239, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9836, "end": 9837, "loc": { "start": { "line": 239, "column": 18 }, "end": { "line": 239, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9837, "end": 9845, "loc": { "start": { "line": 239, "column": 19 }, "end": { "line": 239, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9845, "end": 9846, "loc": { "start": { "line": 239, "column": 27 }, "end": { "line": 239, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{", "start": 9846, "end": 9849, "loc": { "start": { "line": 239, "column": 28 }, "end": { "line": 239, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9849, "end": 9850, "loc": { "start": { "line": 239, "column": 31 }, "end": { "line": 239, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9851, "end": 9853, "loc": { "start": { "line": 239, "column": 33 }, "end": { "line": 239, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 9854, "end": 9855, "loc": { "start": { "line": 239, "column": 36 }, "end": { "line": 239, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9855, "end": 9861, "loc": { "start": { "line": 239, "column": 37 }, "end": { "line": 239, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9861, "end": 9862, "loc": { "start": { "line": 239, "column": 43 }, "end": { "line": 239, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 9862, "end": 9870, "loc": { "start": { "line": 239, "column": 44 }, "end": { "line": 239, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9870, "end": 9871, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "}", "start": 9871, "end": 9874, "loc": { "start": { "line": 239, "column": 53 }, "end": { "line": 239, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9874, "end": 9875, "loc": { "start": { "line": 239, "column": 56 }, "end": { "line": 239, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9875, "end": 9876, "loc": { "start": { "line": 239, "column": 57 }, "end": { "line": 239, "column": 58 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9877, "end": 9879, "loc": { "start": { "line": 239, "column": 59 }, "end": { "line": 239, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9891, "end": 9897, "loc": { "start": { "line": 240, "column": 10 }, "end": { "line": 240, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9898, "end": 9901, "loc": { "start": { "line": 240, "column": 17 }, "end": { "line": 240, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{bksp}", "start": 9902, "end": 9910, "loc": { "start": { "line": 240, "column": 21 }, "end": { "line": 240, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9911, "end": 9913, "loc": { "start": { "line": 240, "column": 30 }, "end": { "line": 240, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9925, "end": 9931, "loc": { "start": { "line": 241, "column": 10 }, "end": { "line": 241, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9932, "end": 9935, "loc": { "start": { "line": 241, "column": 17 }, "end": { "line": 241, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{space}", "start": 9936, "end": 9945, "loc": { "start": { "line": 241, "column": 21 }, "end": { "line": 241, "column": 30 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9946, "end": 9948, "loc": { "start": { "line": 241, "column": 31 }, "end": { "line": 241, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 9960, "end": 9966, "loc": { "start": { "line": 242, "column": 10 }, "end": { "line": 242, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9967, "end": 9970, "loc": { "start": { "line": 242, "column": 17 }, "end": { "line": 242, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{tab}", "start": 9971, "end": 9978, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9988, "end": 9989, "loc": { "start": { "line": 243, "column": 8 }, "end": { "line": 243, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9997, "end": 9998, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 7 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9998, "end": 9999, "loc": { "start": { "line": 244, "column": 7 }, "end": { "line": 244, "column": 8 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10009, "end": 10011, "loc": { "start": { "line": 245, "column": 8 }, "end": { "line": 245, "column": 10 } } }, { "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": 245, "column": 10 }, "end": { "line": 245, "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": 10012, "end": 10016, "loc": { "start": { "line": 245, "column": 11 }, "end": { "line": 245, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10016, "end": 10017, "loc": { "start": { "line": 245, "column": 15 }, "end": { "line": 245, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 10017, "end": 10024, "loc": { "start": { "line": 245, "column": 16 }, "end": { "line": 245, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10024, "end": 10025, "loc": { "start": { "line": 245, "column": 23 }, "end": { "line": 245, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 10025, "end": 10030, "loc": { "start": { "line": 245, "column": 24 }, "end": { "line": 245, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10030, "end": 10031, "loc": { "start": { "line": 245, "column": 29 }, "end": { "line": 245, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 10043, "end": 10050, "loc": { "start": { "line": 246, "column": 10 }, "end": { "line": 246, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10050, "end": 10051, "loc": { "start": { "line": 246, "column": 17 }, "end": { "line": 246, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 10051, "end": 10054, "loc": { "start": { "line": 246, "column": 18 }, "end": { "line": 246, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10054, "end": 10055, "loc": { "start": { "line": 246, "column": 21 }, "end": { "line": 246, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Button held:", "start": 10055, "end": 10069, "loc": { "start": { "line": 246, "column": 22 }, "end": { "line": 246, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10069, "end": 10070, "loc": { "start": { "line": 246, "column": 36 }, "end": { "line": 246, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10071, "end": 10077, "loc": { "start": { "line": 246, "column": 38 }, "end": { "line": 246, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10077, "end": 10078, "loc": { "start": { "line": 246, "column": 44 }, "end": { "line": 246, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10078, "end": 10079, "loc": { "start": { "line": 246, "column": 45 }, "end": { "line": 246, "column": 46 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10091, "end": 10095, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10095, "end": 10096, "loc": { "start": { "line": 248, "column": 12 }, "end": { "line": 248, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10096, "end": 10112, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10112, "end": 10113, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10113, "end": 10119, "loc": { "start": { "line": 248, "column": 30 }, "end": { "line": 248, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10119, "end": 10120, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 10121, "end": 10122, "loc": { "start": { "line": 248, "column": 38 }, "end": { "line": 248, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10122, "end": 10123, "loc": { "start": { "line": 248, "column": 39 }, "end": { "line": 248, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10123, "end": 10124, "loc": { "start": { "line": 248, "column": 40 }, "end": { "line": 248, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10132, "end": 10133, "loc": { "start": { "line": 249, "column": 6 }, "end": { "line": 249, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10141, "end": 10153, "loc": { "start": { "line": 250, "column": 6 }, "end": { "line": 250, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10153, "end": 10154, "loc": { "start": { "line": 250, "column": 18 }, "end": { "line": 250, "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": 10154, "end": 10158, "loc": { "start": { "line": 250, "column": 19 }, "end": { "line": 250, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10158, "end": 10159, "loc": { "start": { "line": 250, "column": 23 }, "end": { "line": 250, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdTimeout", "start": 10159, "end": 10170, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10170, "end": 10171, "loc": { "start": { "line": 250, "column": 35 }, "end": { "line": 250, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10171, "end": 10172, "loc": { "start": { "line": 250, "column": 36 }, "end": { "line": 250, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10178, "end": 10179, "loc": { "start": { "line": 251, "column": 4 }, "end": { "line": 251, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10179, "end": 10180, "loc": { "start": { "line": 251, "column": 5 }, "end": { "line": 251, "column": 6 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 500, "start": 10181, "end": 10184, "loc": { "start": { "line": 251, "column": 7 }, "end": { "line": 251, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10184, "end": 10185, "loc": { "start": { "line": 251, "column": 10 }, "end": { "line": 251, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10185, "end": 10186, "loc": { "start": { "line": 251, "column": 11 }, "end": { "line": 251, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10190, "end": 10191, "loc": { "start": { "line": 252, "column": 2 }, "end": { "line": 252, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button mouseup\r\n ", "start": 10197, "end": 10236, "loc": { "start": { "line": 254, "column": 2 }, "end": { "line": 256, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 10240, "end": 10259, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 257, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10259, "end": 10260, "loc": { "start": { "line": 257, "column": 21 }, "end": { "line": 257, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10260, "end": 10261, "loc": { "start": { "line": 257, "column": 22 }, "end": { "line": 257, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10261, "end": 10262, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 257, "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": 10268, "end": 10272, "loc": { "start": { "line": 258, "column": 4 }, "end": { "line": 258, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10272, "end": 10273, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 10273, "end": 10284, "loc": { "start": { "line": 258, "column": 9 }, "end": { "line": 258, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10285, "end": 10286, "loc": { "start": { "line": 258, "column": 21 }, "end": { "line": 258, "column": 22 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 10287, "end": 10292, "loc": { "start": { "line": 258, "column": 23 }, "end": { "line": 258, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10292, "end": 10293, "loc": { "start": { "line": 258, "column": 28 }, "end": { "line": 258, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 10299, "end": 10301, "loc": { "start": { "line": 259, "column": 4 }, "end": { "line": 259, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10301, "end": 10302, "loc": { "start": { "line": 259, "column": 6 }, "end": { "line": 259, "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": 10302, "end": 10306, "loc": { "start": { "line": 259, "column": 7 }, "end": { "line": 259, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10306, "end": 10307, "loc": { "start": { "line": 259, "column": 11 }, "end": { "line": 259, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10307, "end": 10329, "loc": { "start": { "line": 259, "column": 12 }, "end": { "line": 259, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10329, "end": 10330, "loc": { "start": { "line": 259, "column": 34 }, "end": { "line": 259, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10338, "end": 10350, "loc": { "start": { "line": 260, "column": 6 }, "end": { "line": 260, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10350, "end": 10351, "loc": { "start": { "line": 260, "column": 18 }, "end": { "line": 260, "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": 10351, "end": 10355, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10355, "end": 10356, "loc": { "start": { "line": 260, "column": 23 }, "end": { "line": 260, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10356, "end": 10378, "loc": { "start": { "line": 260, "column": 24 }, "end": { "line": 260, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10378, "end": 10379, "loc": { "start": { "line": 260, "column": 46 }, "end": { "line": 260, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10379, "end": 10380, "loc": { "start": { "line": 260, "column": 47 }, "end": { "line": 260, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10384, "end": 10385, "loc": { "start": { "line": 261, "column": 2 }, "end": { "line": 261, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles button hold\r\n ", "start": 10391, "end": 10427, "loc": { "start": { "line": 263, "column": 2 }, "end": { "line": 265, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 10431, "end": 10457, "loc": { "start": { "line": 266, "column": 2 }, "end": { "line": 266, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10461, "end": 10477, "loc": { "start": { "line": 267, "column": 2 }, "end": { "line": 267, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10477, "end": 10478, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10478, "end": 10484, "loc": { "start": { "line": 267, "column": 19 }, "end": { "line": 267, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10484, "end": 10485, "loc": { "start": { "line": 267, "column": 25 }, "end": { "line": 267, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10485, "end": 10486, "loc": { "start": { "line": 267, "column": 26 }, "end": { "line": 267, "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": 10492, "end": 10494, "loc": { "start": { "line": 268, "column": 4 }, "end": { "line": 268, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10494, "end": 10495, "loc": { "start": { "line": 268, "column": 6 }, "end": { "line": 268, "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": 10495, "end": 10499, "loc": { "start": { "line": 268, "column": 7 }, "end": { "line": 268, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10499, "end": 10500, "loc": { "start": { "line": 268, "column": 11 }, "end": { "line": 268, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10500, "end": 10522, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10522, "end": 10523, "loc": { "start": { "line": 268, "column": 34 }, "end": { "line": 268, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10531, "end": 10543, "loc": { "start": { "line": 269, "column": 6 }, "end": { "line": 269, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10543, "end": 10544, "loc": { "start": { "line": 269, "column": 18 }, "end": { "line": 269, "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": 10544, "end": 10548, "loc": { "start": { "line": 269, "column": 19 }, "end": { "line": 269, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10548, "end": 10549, "loc": { "start": { "line": 269, "column": 23 }, "end": { "line": 269, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10549, "end": 10571, "loc": { "start": { "line": 269, "column": 24 }, "end": { "line": 269, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10571, "end": 10572, "loc": { "start": { "line": 269, "column": 46 }, "end": { "line": 269, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10572, "end": 10573, "loc": { "start": { "line": 269, "column": 47 }, "end": { "line": 269, "column": 48 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} Timeout dictating the speed of key hold iterations\r\n ", "start": 10581, "end": 10667, "loc": { "start": { "line": 271, "column": 4 }, "end": { "line": 273, "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": 10673, "end": 10677, "loc": { "start": { "line": 274, "column": 4 }, "end": { "line": 274, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10677, "end": 10678, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10678, "end": 10700, "loc": { "start": { "line": 274, "column": 9 }, "end": { "line": 274, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10701, "end": 10702, "loc": { "start": { "line": 274, "column": 32 }, "end": { "line": 274, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setTimeout", "start": 10703, "end": 10713, "loc": { "start": { "line": 274, "column": 34 }, "end": { "line": 274, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10713, "end": 10714, "loc": { "start": { "line": 274, "column": 44 }, "end": { "line": 274, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10714, "end": 10715, "loc": { "start": { "line": 274, "column": 45 }, "end": { "line": 274, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10715, "end": 10716, "loc": { "start": { "line": 274, "column": 46 }, "end": { "line": 274, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10717, "end": 10719, "loc": { "start": { "line": 274, "column": 48 }, "end": { "line": 274, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10720, "end": 10721, "loc": { "start": { "line": 274, "column": 51 }, "end": { "line": 274, "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": 10729, "end": 10731, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10731, "end": 10732, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "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": 10732, "end": 10736, "loc": { "start": { "line": 275, "column": 9 }, "end": { "line": 275, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10736, "end": 10737, "loc": { "start": { "line": 275, "column": 13 }, "end": { "line": 275, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 10737, "end": 10748, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10748, "end": 10749, "loc": { "start": { "line": 275, "column": 25 }, "end": { "line": 275, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10749, "end": 10750, "loc": { "start": { "line": 275, "column": 26 }, "end": { "line": 275, "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": 10760, "end": 10764, "loc": { "start": { "line": 276, "column": 8 }, "end": { "line": 276, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10764, "end": 10765, "loc": { "start": { "line": 276, "column": 12 }, "end": { "line": 276, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 10765, "end": 10784, "loc": { "start": { "line": 276, "column": 13 }, "end": { "line": 276, "column": 32 } } }, { "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": 276, "column": 32 }, "end": { "line": 276, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10785, "end": 10791, "loc": { "start": { "line": 276, "column": 33 }, "end": { "line": 276, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10791, "end": 10792, "loc": { "start": { "line": 276, "column": 39 }, "end": { "line": 276, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10792, "end": 10793, "loc": { "start": { "line": 276, "column": 40 }, "end": { "line": 276, "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": 10803, "end": 10807, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10807, "end": 10808, "loc": { "start": { "line": 277, "column": 12 }, "end": { "line": 277, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonHold", "start": 10808, "end": 10824, "loc": { "start": { "line": 277, "column": 13 }, "end": { "line": 277, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10824, "end": 10825, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 10825, "end": 10831, "loc": { "start": { "line": 277, "column": 30 }, "end": { "line": 277, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10831, "end": 10832, "loc": { "start": { "line": 277, "column": 36 }, "end": { "line": 277, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10832, "end": 10833, "loc": { "start": { "line": 277, "column": 37 }, "end": { "line": 277, "column": 38 } } }, { "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": 278, "column": 6 }, "end": { "line": 278, "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": 10843, "end": 10847, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10848, "end": 10849, "loc": { "start": { "line": 278, "column": 13 }, "end": { "line": 278, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearTimeout", "start": 10859, "end": 10871, "loc": { "start": { "line": 279, "column": 8 }, "end": { "line": 279, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10871, "end": 10872, "loc": { "start": { "line": 279, "column": 20 }, "end": { "line": 279, "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": 10872, "end": 10876, "loc": { "start": { "line": 279, "column": 21 }, "end": { "line": 279, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10876, "end": 10877, "loc": { "start": { "line": 279, "column": 25 }, "end": { "line": 279, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "holdInteractionTimeout", "start": 10877, "end": 10899, "loc": { "start": { "line": 279, "column": 26 }, "end": { "line": 279, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10899, "end": 10900, "loc": { "start": { "line": 279, "column": 48 }, "end": { "line": 279, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10900, "end": 10901, "loc": { "start": { "line": 279, "column": 49 }, "end": { "line": 279, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10909, "end": 10910, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10916, "end": 10917, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10917, "end": 10918, "loc": { "start": { "line": 281, "column": 5 }, "end": { "line": 281, "column": 6 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 10919, "end": 10922, "loc": { "start": { "line": 281, "column": 7 }, "end": { "line": 281, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10922, "end": 10923, "loc": { "start": { "line": 281, "column": 10 }, "end": { "line": 281, "column": 11 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10923, "end": 10924, "loc": { "start": { "line": 281, "column": 11 }, "end": { "line": 281, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10928, "end": 10929, "loc": { "start": { "line": 282, "column": 2 }, "end": { "line": 282, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Send a command to all simple-keyboard instances (if you have several instances).\r\n ", "start": 10935, "end": 11032, "loc": { "start": { "line": 284, "column": 2 }, "end": { "line": 286, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11036, "end": 11054, "loc": { "start": { "line": 287, "column": 2 }, "end": { "line": 287, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11054, "end": 11055, "loc": { "start": { "line": 287, "column": 20 }, "end": { "line": 287, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11055, "end": 11056, "loc": { "start": { "line": 287, "column": 21 }, "end": { "line": 287, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11056, "end": 11057, "loc": { "start": { "line": 287, "column": 22 }, "end": { "line": 287, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 11063, "end": 11067, "loc": { "start": { "line": 288, "column": 4 }, "end": { "line": 288, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11067, "end": 11068, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 11068, "end": 11076, "loc": { "start": { "line": 288, "column": 9 }, "end": { "line": 288, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11076, "end": 11077, "loc": { "start": { "line": 288, "column": 17 }, "end": { "line": 288, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11077, "end": 11078, "loc": { "start": { "line": 288, "column": 18 }, "end": { "line": 288, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 11078, "end": 11086, "loc": { "start": { "line": 288, "column": 19 }, "end": { "line": 288, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11086, "end": 11087, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11088, "end": 11090, "loc": { "start": { "line": 288, "column": 29 }, "end": { "line": 288, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11091, "end": 11092, "loc": { "start": { "line": 288, "column": 32 }, "end": { "line": 288, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 11100, "end": 11108, "loc": { "start": { "line": 289, "column": 6 }, "end": { "line": 289, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11108, "end": 11109, "loc": { "start": { "line": 289, "column": 14 }, "end": { "line": 289, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 11109, "end": 11121, "loc": { "start": { "line": 289, "column": 15 }, "end": { "line": 289, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11121, "end": 11122, "loc": { "start": { "line": 289, "column": 27 }, "end": { "line": 289, "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": 11122, "end": 11126, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11126, "end": 11127, "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11127, "end": 11132, "loc": { "start": { "line": 289, "column": 33 }, "end": { "line": 289, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11132, "end": 11133, "loc": { "start": { "line": 289, "column": 38 }, "end": { "line": 289, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11133, "end": 11134, "loc": { "start": { "line": 289, "column": 39 }, "end": { "line": 289, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11140, "end": 11141, "loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 290, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11141, "end": 11142, "loc": { "start": { "line": 290, "column": 5 }, "end": { "line": 290, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11142, "end": 11143, "loc": { "start": { "line": 290, "column": 6 }, "end": { "line": 290, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11147, "end": 11148, "loc": { "start": { "line": 291, "column": 2 }, "end": { "line": 291, "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": 11156, "end": 11274, "loc": { "start": { "line": 293, "column": 2 }, "end": { "line": 296, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearInput", "start": 11278, "end": 11288, "loc": { "start": { "line": 297, "column": 2 }, "end": { "line": 297, "column": 12 } } }, { "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": 12 }, "end": { "line": 297, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11289, "end": 11298, "loc": { "start": { "line": 297, "column": 13 }, "end": { "line": 297, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11298, "end": 11299, "loc": { "start": { "line": 297, "column": 22 }, "end": { "line": 297, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11299, "end": 11300, "loc": { "start": { "line": 297, "column": 23 }, "end": { "line": 297, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11306, "end": 11315, "loc": { "start": { "line": 298, "column": 4 }, "end": { "line": 298, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11316, "end": 11317, "loc": { "start": { "line": 298, "column": 14 }, "end": { "line": 298, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11318, "end": 11327, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11328, "end": 11330, "loc": { "start": { "line": 298, "column": 26 }, "end": { "line": 298, "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": 11331, "end": 11335, "loc": { "start": { "line": 298, "column": 29 }, "end": { "line": 298, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11335, "end": 11336, "loc": { "start": { "line": 298, "column": 33 }, "end": { "line": 298, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11336, "end": 11343, "loc": { "start": { "line": 298, "column": 34 }, "end": { "line": 298, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11343, "end": 11344, "loc": { "start": { "line": 298, "column": 41 }, "end": { "line": 298, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11344, "end": 11353, "loc": { "start": { "line": 298, "column": 42 }, "end": { "line": 298, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11353, "end": 11354, "loc": { "start": { "line": 298, "column": 51 }, "end": { "line": 298, "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": 11360, "end": 11364, "loc": { "start": { "line": 299, "column": 4 }, "end": { "line": 299, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11364, "end": 11365, "loc": { "start": { "line": 299, "column": 8 }, "end": { "line": 299, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11365, "end": 11370, "loc": { "start": { "line": 299, "column": 9 }, "end": { "line": 299, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11370, "end": 11371, "loc": { "start": { "line": 299, "column": 14 }, "end": { "line": 299, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11371, "end": 11380, "loc": { "start": { "line": 299, "column": 15 }, "end": { "line": 299, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11380, "end": 11381, "loc": { "start": { "line": 299, "column": 24 }, "end": { "line": 299, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11382, "end": 11383, "loc": { "start": { "line": 299, "column": 26 }, "end": { "line": 299, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 11384, "end": 11386, "loc": { "start": { "line": 299, "column": 28 }, "end": { "line": 299, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11386, "end": 11387, "loc": { "start": { "line": 299, "column": 30 }, "end": { "line": 299, "column": 31 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11395, "end": 11450, "loc": { "start": { "line": 301, "column": 4 }, "end": { "line": 303, "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": 11456, "end": 11458, "loc": { "start": { "line": 304, "column": 4 }, "end": { "line": 304, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11458, "end": 11459, "loc": { "start": { "line": 304, "column": 6 }, "end": { "line": 304, "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": 11459, "end": 11463, "loc": { "start": { "line": 304, "column": 7 }, "end": { "line": 304, "column": 11 } } }, { "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": 304, "column": 11 }, "end": { "line": 304, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11464, "end": 11471, "loc": { "start": { "line": 304, "column": 12 }, "end": { "line": 304, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11471, "end": 11472, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 304, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11472, "end": 11490, "loc": { "start": { "line": 304, "column": 20 }, "end": { "line": 304, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11490, "end": 11491, "loc": { "start": { "line": 304, "column": 38 }, "end": { "line": 304, "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": 11499, "end": 11503, "loc": { "start": { "line": 305, "column": 6 }, "end": { "line": 305, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11503, "end": 11504, "loc": { "start": { "line": 305, "column": 10 }, "end": { "line": 305, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11504, "end": 11522, "loc": { "start": { "line": 305, "column": 11 }, "end": { "line": 305, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11522, "end": 11523, "loc": { "start": { "line": 305, "column": 29 }, "end": { "line": 305, "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": 11523, "end": 11527, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11527, "end": 11528, "loc": { "start": { "line": 305, "column": 34 }, "end": { "line": 305, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11528, "end": 11533, "loc": { "start": { "line": 305, "column": 35 }, "end": { "line": 305, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11533, "end": 11534, "loc": { "start": { "line": 305, "column": 40 }, "end": { "line": 305, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11534, "end": 11535, "loc": { "start": { "line": 305, "column": 41 }, "end": { "line": 305, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11539, "end": 11540, "loc": { "start": { "line": 306, "column": 2 }, "end": { "line": 306, "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": 11546, "end": 11708, "loc": { "start": { "line": 308, "column": 2 }, "end": { "line": 311, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInput", "start": 11712, "end": 11720, "loc": { "start": { "line": 312, "column": 2 }, "end": { "line": 312, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11720, "end": 11721, "loc": { "start": { "line": 312, "column": 10 }, "end": { "line": 312, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11721, "end": 11730, "loc": { "start": { "line": 312, "column": 11 }, "end": { "line": 312, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11730, "end": 11731, "loc": { "start": { "line": 312, "column": 20 }, "end": { "line": 312, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11731, "end": 11732, "loc": { "start": { "line": 312, "column": 21 }, "end": { "line": 312, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11738, "end": 11747, "loc": { "start": { "line": 313, "column": 4 }, "end": { "line": 313, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11748, "end": 11749, "loc": { "start": { "line": 313, "column": 14 }, "end": { "line": 313, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11750, "end": 11759, "loc": { "start": { "line": 313, "column": 16 }, "end": { "line": 313, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11760, "end": 11762, "loc": { "start": { "line": 313, "column": 26 }, "end": { "line": 313, "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": 11763, "end": 11767, "loc": { "start": { "line": 313, "column": 29 }, "end": { "line": 313, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11767, "end": 11768, "loc": { "start": { "line": 313, "column": 33 }, "end": { "line": 313, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11768, "end": 11775, "loc": { "start": { "line": 313, "column": 34 }, "end": { "line": 313, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11775, "end": 11776, "loc": { "start": { "line": 313, "column": 41 }, "end": { "line": 313, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11776, "end": 11785, "loc": { "start": { "line": 313, "column": 42 }, "end": { "line": 313, "column": 51 } } }, { "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": 51 }, "end": { "line": 313, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 11794, "end": 11849, "loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "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": 11855, "end": 11857, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11857, "end": 11858, "loc": { "start": { "line": 318, "column": 6 }, "end": { "line": 318, "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": 11858, "end": 11862, "loc": { "start": { "line": 318, "column": 7 }, "end": { "line": 318, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11862, "end": 11863, "loc": { "start": { "line": 318, "column": 11 }, "end": { "line": 318, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11863, "end": 11870, "loc": { "start": { "line": 318, "column": 12 }, "end": { "line": 318, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11870, "end": 11871, "loc": { "start": { "line": 318, "column": 19 }, "end": { "line": 318, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11871, "end": 11889, "loc": { "start": { "line": 318, "column": 20 }, "end": { "line": 318, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11889, "end": 11890, "loc": { "start": { "line": 318, "column": 38 }, "end": { "line": 318, "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": 11898, "end": 11902, "loc": { "start": { "line": 319, "column": 6 }, "end": { "line": 319, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11902, "end": 11903, "loc": { "start": { "line": 319, "column": 10 }, "end": { "line": 319, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 11903, "end": 11921, "loc": { "start": { "line": 319, "column": 11 }, "end": { "line": 319, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11921, "end": 11922, "loc": { "start": { "line": 319, "column": 29 }, "end": { "line": 319, "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": 11922, "end": 11926, "loc": { "start": { "line": 319, "column": 30 }, "end": { "line": 319, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11926, "end": 11927, "loc": { "start": { "line": 319, "column": 34 }, "end": { "line": 319, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11927, "end": 11932, "loc": { "start": { "line": 319, "column": 35 }, "end": { "line": 319, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11932, "end": 11933, "loc": { "start": { "line": 319, "column": 40 }, "end": { "line": 319, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11933, "end": 11934, "loc": { "start": { "line": 319, "column": 41 }, "end": { "line": 319, "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": 11942, "end": 11948, "loc": { "start": { "line": 321, "column": 4 }, "end": { "line": 321, "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": 11949, "end": 11953, "loc": { "start": { "line": 321, "column": 11 }, "end": { "line": 321, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11953, "end": 11954, "loc": { "start": { "line": 321, "column": 15 }, "end": { "line": 321, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 11954, "end": 11959, "loc": { "start": { "line": 321, "column": 16 }, "end": { "line": 321, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11959, "end": 11960, "loc": { "start": { "line": 321, "column": 21 }, "end": { "line": 321, "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": 11960, "end": 11964, "loc": { "start": { "line": 321, "column": 22 }, "end": { "line": 321, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11964, "end": 11965, "loc": { "start": { "line": 321, "column": 26 }, "end": { "line": 321, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 11965, "end": 11972, "loc": { "start": { "line": 321, "column": 27 }, "end": { "line": 321, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11972, "end": 11973, "loc": { "start": { "line": 321, "column": 34 }, "end": { "line": 321, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 11973, "end": 11982, "loc": { "start": { "line": 321, "column": 35 }, "end": { "line": 321, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11982, "end": 11983, "loc": { "start": { "line": 321, "column": 44 }, "end": { "line": 321, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11983, "end": 11984, "loc": { "start": { "line": 321, "column": 45 }, "end": { "line": 321, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11988, "end": 11989, "loc": { "start": { "line": 322, "column": 2 }, "end": { "line": 322, "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": 11995, "end": 12155, "loc": { "start": { "line": 324, "column": 2 }, "end": { "line": 328, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setInput", "start": 12159, "end": 12167, "loc": { "start": { "line": 329, "column": 2 }, "end": { "line": 329, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12167, "end": 12168, "loc": { "start": { "line": 329, "column": 10 }, "end": { "line": 329, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12168, "end": 12173, "loc": { "start": { "line": 329, "column": 11 }, "end": { "line": 329, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12173, "end": 12174, "loc": { "start": { "line": 329, "column": 16 }, "end": { "line": 329, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12175, "end": 12184, "loc": { "start": { "line": 329, "column": 18 }, "end": { "line": 329, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12184, "end": 12185, "loc": { "start": { "line": 329, "column": 27 }, "end": { "line": 329, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12185, "end": 12186, "loc": { "start": { "line": 329, "column": 28 }, "end": { "line": 329, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12192, "end": 12201, "loc": { "start": { "line": 330, "column": 4 }, "end": { "line": 330, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12202, "end": 12203, "loc": { "start": { "line": 330, "column": 14 }, "end": { "line": 330, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12204, "end": 12213, "loc": { "start": { "line": 330, "column": 16 }, "end": { "line": 330, "column": 25 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12214, "end": 12216, "loc": { "start": { "line": 330, "column": 26 }, "end": { "line": 330, "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": 12217, "end": 12221, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12221, "end": 12222, "loc": { "start": { "line": 330, "column": 33 }, "end": { "line": 330, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12222, "end": 12229, "loc": { "start": { "line": 330, "column": 34 }, "end": { "line": 330, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12229, "end": 12230, "loc": { "start": { "line": 330, "column": 41 }, "end": { "line": 330, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12230, "end": 12239, "loc": { "start": { "line": 330, "column": 42 }, "end": { "line": 330, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12239, "end": 12240, "loc": { "start": { "line": 330, "column": 51 }, "end": { "line": 330, "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": 12246, "end": 12250, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12250, "end": 12251, "loc": { "start": { "line": 331, "column": 8 }, "end": { "line": 331, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12251, "end": 12256, "loc": { "start": { "line": 331, "column": 9 }, "end": { "line": 331, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12256, "end": 12257, "loc": { "start": { "line": 331, "column": 14 }, "end": { "line": 331, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 12257, "end": 12266, "loc": { "start": { "line": 331, "column": 15 }, "end": { "line": 331, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12266, "end": 12267, "loc": { "start": { "line": 331, "column": 24 }, "end": { "line": 331, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12268, "end": 12269, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12270, "end": 12275, "loc": { "start": { "line": 331, "column": 28 }, "end": { "line": 331, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12275, "end": 12276, "loc": { "start": { "line": 331, "column": 33 }, "end": { "line": 331, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Enforce syncInstanceInputs, if set\r\n ", "start": 12284, "end": 12339, "loc": { "start": { "line": 333, "column": 4 }, "end": { "line": 335, "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": 12345, "end": 12347, "loc": { "start": { "line": 336, "column": 4 }, "end": { "line": 336, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12347, "end": 12348, "loc": { "start": { "line": 336, "column": 6 }, "end": { "line": 336, "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": 12348, "end": 12352, "loc": { "start": { "line": 336, "column": 7 }, "end": { "line": 336, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12352, "end": 12353, "loc": { "start": { "line": 336, "column": 11 }, "end": { "line": 336, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12353, "end": 12360, "loc": { "start": { "line": 336, "column": 12 }, "end": { "line": 336, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12360, "end": 12361, "loc": { "start": { "line": 336, "column": 19 }, "end": { "line": 336, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 12361, "end": 12379, "loc": { "start": { "line": 336, "column": 20 }, "end": { "line": 336, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12379, "end": 12380, "loc": { "start": { "line": 336, "column": 38 }, "end": { "line": 336, "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": 12388, "end": 12392, "loc": { "start": { "line": 337, "column": 6 }, "end": { "line": 337, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12392, "end": 12393, "loc": { "start": { "line": 337, "column": 10 }, "end": { "line": 337, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "syncInstanceInputs", "start": 12393, "end": 12411, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12411, "end": 12412, "loc": { "start": { "line": 337, "column": 29 }, "end": { "line": 337, "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": 12412, "end": 12416, "loc": { "start": { "line": 337, "column": 30 }, "end": { "line": 337, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12416, "end": 12417, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12417, "end": 12422, "loc": { "start": { "line": 337, "column": 35 }, "end": { "line": 337, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12422, "end": 12423, "loc": { "start": { "line": 337, "column": 40 }, "end": { "line": 337, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12423, "end": 12424, "loc": { "start": { "line": 337, "column": 41 }, "end": { "line": 337, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12428, "end": 12429, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 338, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Replace the input object (`keyboard.input`)\r\n * @param {object} inputObj The input object\r\n ", "start": 12437, "end": 12546, "loc": { "start": { "line": 340, "column": 2 }, "end": { "line": 343, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replaceInput", "start": 12550, "end": 12562, "loc": { "start": { "line": 344, "column": 2 }, "end": { "line": 344, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12562, "end": 12563, "loc": { "start": { "line": 344, "column": 14 }, "end": { "line": 344, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 12563, "end": 12571, "loc": { "start": { "line": 344, "column": 15 }, "end": { "line": 344, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12571, "end": 12572, "loc": { "start": { "line": 344, "column": 23 }, "end": { "line": 344, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12572, "end": 12573, "loc": { "start": { "line": 344, "column": 24 }, "end": { "line": 344, "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": 12579, "end": 12583, "loc": { "start": { "line": 345, "column": 4 }, "end": { "line": 345, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12583, "end": 12584, "loc": { "start": { "line": 345, "column": 8 }, "end": { "line": 345, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 12584, "end": 12589, "loc": { "start": { "line": 345, "column": 9 }, "end": { "line": 345, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12590, "end": 12591, "loc": { "start": { "line": 345, "column": 15 }, "end": { "line": 345, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 12592, "end": 12600, "loc": { "start": { "line": 345, "column": 17 }, "end": { "line": 345, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12600, "end": 12601, "loc": { "start": { "line": 345, "column": 25 }, "end": { "line": 345, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12605, "end": 12606, "loc": { "start": { "line": 346, "column": 2 }, "end": { "line": 346, "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": 12612, "end": 12738, "loc": { "start": { "line": 348, "column": 2 }, "end": { "line": 351, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setOptions", "start": 12742, "end": 12752, "loc": { "start": { "line": 352, "column": 2 }, "end": { "line": 352, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12753, "end": 12754, "loc": { "start": { "line": 352, "column": 13 }, "end": { "line": 352, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12755, "end": 12761, "loc": { "start": { "line": 352, "column": 15 }, "end": { "line": 352, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12762, "end": 12764, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 352, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12765, "end": 12766, "loc": { "start": { "line": 352, "column": 25 }, "end": { "line": 352, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12772, "end": 12778, "loc": { "start": { "line": 353, "column": 4 }, "end": { "line": 353, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12779, "end": 12780, "loc": { "start": { "line": 353, "column": 11 }, "end": { "line": 353, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12781, "end": 12787, "loc": { "start": { "line": 353, "column": 13 }, "end": { "line": 353, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12788, "end": 12790, "loc": { "start": { "line": 353, "column": 20 }, "end": { "line": 353, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12791, "end": 12792, "loc": { "start": { "line": 353, "column": 23 }, "end": { "line": 353, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12792, "end": 12793, "loc": { "start": { "line": 353, "column": 24 }, "end": { "line": 353, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12793, "end": 12794, "loc": { "start": { "line": 353, "column": 25 }, "end": { "line": 353, "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": 12800, "end": 12804, "loc": { "start": { "line": 354, "column": 4 }, "end": { "line": 354, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12804, "end": 12805, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 354, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12805, "end": 12812, "loc": { "start": { "line": 354, "column": 9 }, "end": { "line": 354, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12813, "end": 12814, "loc": { "start": { "line": 354, "column": 17 }, "end": { "line": 354, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 12815, "end": 12821, "loc": { "start": { "line": 354, "column": 19 }, "end": { "line": 354, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12821, "end": 12822, "loc": { "start": { "line": 354, "column": 25 }, "end": { "line": 354, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 12822, "end": 12828, "loc": { "start": { "line": 354, "column": 26 }, "end": { "line": 354, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12828, "end": 12829, "loc": { "start": { "line": 354, "column": 32 }, "end": { "line": 354, "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": 12829, "end": 12833, "loc": { "start": { "line": 354, "column": 33 }, "end": { "line": 354, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12833, "end": 12834, "loc": { "start": { "line": 354, "column": 37 }, "end": { "line": 354, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 12834, "end": 12841, "loc": { "start": { "line": 354, "column": 38 }, "end": { "line": 354, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12841, "end": 12842, "loc": { "start": { "line": 354, "column": 45 }, "end": { "line": 354, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "option", "start": 12843, "end": 12849, "loc": { "start": { "line": 354, "column": 47 }, "end": { "line": 354, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12849, "end": 12850, "loc": { "start": { "line": 354, "column": 53 }, "end": { "line": 354, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12850, "end": 12851, "loc": { "start": { "line": 354, "column": 54 }, "end": { "line": 354, "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": 12857, "end": 12861, "loc": { "start": { "line": 355, "column": 4 }, "end": { "line": 355, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12861, "end": 12862, "loc": { "start": { "line": 355, "column": 8 }, "end": { "line": 355, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 12862, "end": 12868, "loc": { "start": { "line": 355, "column": 9 }, "end": { "line": 355, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12868, "end": 12869, "loc": { "start": { "line": 355, "column": 15 }, "end": { "line": 355, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12869, "end": 12870, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12870, "end": 12871, "loc": { "start": { "line": 355, "column": 17 }, "end": { "line": 355, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12875, "end": 12876, "loc": { "start": { "line": 356, "column": 2 }, "end": { "line": 356, "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": 12882, "end": 12991, "loc": { "start": { "line": 358, "column": 2 }, "end": { "line": 361, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 12995, "end": 13000, "loc": { "start": { "line": 362, "column": 2 }, "end": { "line": 362, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13000, "end": 13001, "loc": { "start": { "line": 362, "column": 7 }, "end": { "line": 362, "column": 8 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13001, "end": 13002, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13002, "end": 13003, "loc": { "start": { "line": 362, "column": 9 }, "end": { "line": 362, "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": 13009, "end": 13013, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13013, "end": 13014, "loc": { "start": { "line": 363, "column": 8 }, "end": { "line": 363, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 13014, "end": 13025, "loc": { "start": { "line": 363, "column": 9 }, "end": { "line": 363, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13025, "end": 13026, "loc": { "start": { "line": 363, "column": 20 }, "end": { "line": 363, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 13026, "end": 13035, "loc": { "start": { "line": 363, "column": 21 }, "end": { "line": 363, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13036, "end": 13037, "loc": { "start": { "line": 363, "column": 31 }, "end": { "line": 363, "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": 13038, "end": 13040, "loc": { "start": { "line": 363, "column": 33 }, "end": { "line": 363, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13040, "end": 13041, "loc": { "start": { "line": 363, "column": 35 }, "end": { "line": 363, "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": 13047, "end": 13051, "loc": { "start": { "line": 364, "column": 4 }, "end": { "line": 364, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13051, "end": 13052, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 13052, "end": 13063, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13063, "end": 13064, "loc": { "start": { "line": 364, "column": 20 }, "end": { "line": 364, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 13064, "end": 13073, "loc": { "start": { "line": 364, "column": 21 }, "end": { "line": 364, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13074, "end": 13075, "loc": { "start": { "line": 364, "column": 31 }, "end": { "line": 364, "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": 13076, "end": 13080, "loc": { "start": { "line": 364, "column": 33 }, "end": { "line": 364, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13080, "end": 13081, "loc": { "start": { "line": 364, "column": 37 }, "end": { "line": 364, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 13081, "end": 13097, "loc": { "start": { "line": 364, "column": 38 }, "end": { "line": 364, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13097, "end": 13098, "loc": { "start": { "line": 364, "column": 54 }, "end": { "line": 364, "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": 13104, "end": 13108, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13108, "end": 13109, "loc": { "start": { "line": 365, "column": 8 }, "end": { "line": 365, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 13109, "end": 13123, "loc": { "start": { "line": 365, "column": 9 }, "end": { "line": 365, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13124, "end": 13125, "loc": { "start": { "line": 365, "column": 24 }, "end": { "line": 365, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13126, "end": 13127, "loc": { "start": { "line": 365, "column": 26 }, "end": { "line": 365, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13127, "end": 13128, "loc": { "start": { "line": 365, "column": 27 }, "end": { "line": 365, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13128, "end": 13129, "loc": { "start": { "line": 365, "column": 28 }, "end": { "line": 365, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13133, "end": 13134, "loc": { "start": { "line": 366, "column": 2 }, "end": { "line": 366, "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": 13140, "end": 13345, "loc": { "start": { "line": 368, "column": 2 }, "end": { "line": 371, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 13349, "end": 13357, "loc": { "start": { "line": 372, "column": 2 }, "end": { "line": 372, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13357, "end": 13358, "loc": { "start": { "line": 372, "column": 10 }, "end": { "line": 372, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 13358, "end": 13366, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13366, "end": 13367, "loc": { "start": { "line": 372, "column": 19 }, "end": { "line": 372, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13367, "end": 13368, "loc": { "start": { "line": 372, "column": 20 }, "end": { "line": 372, "column": 21 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 13374, "end": 13376, "loc": { "start": { "line": 373, "column": 4 }, "end": { "line": 373, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13376, "end": 13377, "loc": { "start": { "line": 373, "column": 6 }, "end": { "line": 373, "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": 13377, "end": 13378, "loc": { "start": { "line": 373, "column": 7 }, "end": { "line": 373, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13378, "end": 13384, "loc": { "start": { "line": 373, "column": 8 }, "end": { "line": 373, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13384, "end": 13385, "loc": { "start": { "line": 373, "column": 14 }, "end": { "line": 373, "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": 13385, "end": 13410, "loc": { "start": { "line": 373, "column": 15 }, "end": { "line": 373, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13410, "end": 13411, "loc": { "start": { "line": 373, "column": 40 }, "end": { "line": 373, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13411, "end": 13412, "loc": { "start": { "line": 373, "column": 41 }, "end": { "line": 373, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13412, "end": 13413, "loc": { "start": { "line": 373, "column": 42 }, "end": { "line": 373, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 13421, "end": 13428, "loc": { "start": { "line": 374, "column": 6 }, "end": { "line": 374, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13428, "end": 13429, "loc": { "start": { "line": 374, "column": 13 }, "end": { "line": 374, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 13429, "end": 13433, "loc": { "start": { "line": 374, "column": 14 }, "end": { "line": 374, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13433, "end": 13434, "loc": { "start": { "line": 374, "column": 18 }, "end": { "line": 374, "column": 19 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13434, "end": 13435, "loc": { "start": { "line": 374, "column": 19 }, "end": { "line": 374, "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": 13435, "end": 13501, "loc": { "start": { "line": 374, "column": 20 }, "end": { "line": 374, "column": 86 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13501, "end": 13502, "loc": { "start": { "line": 374, "column": 86 }, "end": { "line": 374, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13502, "end": 13503, "loc": { "start": { "line": 374, "column": 87 }, "end": { "line": 374, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13503, "end": 13504, "loc": { "start": { "line": 374, "column": 88 }, "end": { "line": 374, "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": 13512, "end": 13517, "loc": { "start": { "line": 375, "column": 6 }, "end": { "line": 375, "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": 13518, "end": 13521, "loc": { "start": { "line": 375, "column": 12 }, "end": { "line": 375, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Error", "start": 13522, "end": 13527, "loc": { "start": { "line": 375, "column": 16 }, "end": { "line": 375, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13527, "end": 13528, "loc": { "start": { "line": 375, "column": 21 }, "end": { "line": 375, "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": 13528, "end": 13549, "loc": { "start": { "line": 375, "column": 22 }, "end": { "line": 375, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13549, "end": 13550, "loc": { "start": { "line": 375, "column": 43 }, "end": { "line": 375, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13550, "end": 13551, "loc": { "start": { "line": 375, "column": 44 }, "end": { "line": 375, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13557, "end": 13558, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 376, "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": 13570, "end": 13576, "loc": { "start": { "line": 378, "column": 4 }, "end": { "line": 378, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 13577, "end": 13583, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13583, "end": 13584, "loc": { "start": { "line": 378, "column": 17 }, "end": { "line": 378, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 13584, "end": 13588, "loc": { "start": { "line": 378, "column": 18 }, "end": { "line": 378, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13588, "end": 13589, "loc": { "start": { "line": 378, "column": 22 }, "end": { "line": 378, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13589, "end": 13595, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13595, "end": 13596, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "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": 13596, "end": 13621, "loc": { "start": { "line": 378, "column": 30 }, "end": { "line": 378, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13621, "end": 13622, "loc": { "start": { "line": 378, "column": 55 }, "end": { "line": 378, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13622, "end": 13623, "loc": { "start": { "line": 378, "column": 56 }, "end": { "line": 378, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13623, "end": 13624, "loc": { "start": { "line": 378, "column": 57 }, "end": { "line": 378, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 13624, "end": 13631, "loc": { "start": { "line": 378, "column": 58 }, "end": { "line": 378, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13631, "end": 13632, "loc": { "start": { "line": 378, "column": 65 }, "end": { "line": 378, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13632, "end": 13633, "loc": { "start": { "line": 378, "column": 66 }, "end": { "line": 378, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13633, "end": 13636, "loc": { "start": { "line": 378, "column": 67 }, "end": { "line": 378, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13636, "end": 13637, "loc": { "start": { "line": 378, "column": 70 }, "end": { "line": 378, "column": 71 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13638, "end": 13640, "loc": { "start": { "line": 378, "column": 72 }, "end": { "line": 378, "column": 74 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13641, "end": 13642, "loc": { "start": { "line": 378, "column": 75 }, "end": { "line": 378, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "callback", "start": 13650, "end": 13658, "loc": { "start": { "line": 379, "column": 6 }, "end": { "line": 379, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13658, "end": 13659, "loc": { "start": { "line": 379, "column": 14 }, "end": { "line": 379, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13659, "end": 13665, "loc": { "start": { "line": 379, "column": 15 }, "end": { "line": 379, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13665, "end": 13666, "loc": { "start": { "line": 379, "column": 21 }, "end": { "line": 379, "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": 13666, "end": 13691, "loc": { "start": { "line": 379, "column": 22 }, "end": { "line": 379, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13691, "end": 13692, "loc": { "start": { "line": 379, "column": 47 }, "end": { "line": 379, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13692, "end": 13693, "loc": { "start": { "line": 379, "column": 48 }, "end": { "line": 379, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13693, "end": 13696, "loc": { "start": { "line": 379, "column": 49 }, "end": { "line": 379, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13696, "end": 13697, "loc": { "start": { "line": 379, "column": 52 }, "end": { "line": 379, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13697, "end": 13698, "loc": { "start": { "line": 379, "column": 53 }, "end": { "line": 379, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 13699, "end": 13702, "loc": { "start": { "line": 379, "column": 55 }, "end": { "line": 379, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13702, "end": 13703, "loc": { "start": { "line": 379, "column": 58 }, "end": { "line": 379, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13703, "end": 13704, "loc": { "start": { "line": 379, "column": 59 }, "end": { "line": 379, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13710, "end": 13711, "loc": { "start": { "line": 380, "column": 4 }, "end": { "line": 380, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13711, "end": 13712, "loc": { "start": { "line": 380, "column": 5 }, "end": { "line": 380, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13716, "end": 13717, "loc": { "start": { "line": 381, "column": 2 }, "end": { "line": 381, "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": 13723, "end": 14004, "loc": { "start": { "line": 383, "column": 2 }, "end": { "line": 387, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addButtonTheme", "start": 14008, "end": 14022, "loc": { "start": { "line": 388, "column": 2 }, "end": { "line": 388, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14022, "end": 14023, "loc": { "start": { "line": 388, "column": 16 }, "end": { "line": 388, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14023, "end": 14030, "loc": { "start": { "line": 388, "column": 17 }, "end": { "line": 388, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14030, "end": 14031, "loc": { "start": { "line": 388, "column": 24 }, "end": { "line": 388, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14032, "end": 14041, "loc": { "start": { "line": 388, "column": 26 }, "end": { "line": 388, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14041, "end": 14042, "loc": { "start": { "line": 388, "column": 35 }, "end": { "line": 388, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14042, "end": 14043, "loc": { "start": { "line": 388, "column": 36 }, "end": { "line": 388, "column": 37 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 14049, "end": 14051, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14051, "end": 14052, "loc": { "start": { "line": 389, "column": 6 }, "end": { "line": 389, "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": 14052, "end": 14053, "loc": { "start": { "line": 389, "column": 7 }, "end": { "line": 389, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14053, "end": 14062, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 17 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 14063, "end": 14065, "loc": { "start": { "line": 389, "column": 18 }, "end": { "line": 389, "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": 14066, "end": 14067, "loc": { "start": { "line": 389, "column": 21 }, "end": { "line": 389, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14067, "end": 14074, "loc": { "start": { "line": 389, "column": 22 }, "end": { "line": 389, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14074, "end": 14075, "loc": { "start": { "line": 389, "column": 29 }, "end": { "line": 389, "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": 14083, "end": 14089, "loc": { "start": { "line": 390, "column": 6 }, "end": { "line": 390, "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": 14090, "end": 14095, "loc": { "start": { "line": 390, "column": 13 }, "end": { "line": 390, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14095, "end": 14096, "loc": { "start": { "line": 390, "column": 18 }, "end": { "line": 390, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14104, "end": 14111, "loc": { "start": { "line": 392, "column": 4 }, "end": { "line": 392, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14111, "end": 14112, "loc": { "start": { "line": 392, "column": 11 }, "end": { "line": 392, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14112, "end": 14117, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14117, "end": 14118, "loc": { "start": { "line": 392, "column": 17 }, "end": { "line": 392, "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": 14118, "end": 14121, "loc": { "start": { "line": 392, "column": 18 }, "end": { "line": 392, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14121, "end": 14122, "loc": { "start": { "line": 392, "column": 21 }, "end": { "line": 392, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14122, "end": 14123, "loc": { "start": { "line": 392, "column": 22 }, "end": { "line": 392, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 14123, "end": 14130, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14130, "end": 14131, "loc": { "start": { "line": 392, "column": 30 }, "end": { "line": 392, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14131, "end": 14137, "loc": { "start": { "line": 392, "column": 31 }, "end": { "line": 392, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14138, "end": 14140, "loc": { "start": { "line": 392, "column": 38 }, "end": { "line": 392, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14141, "end": 14142, "loc": { "start": { "line": 392, "column": 41 }, "end": { "line": 392, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 14150, "end": 14159, "loc": { "start": { "line": 393, "column": 6 }, "end": { "line": 393, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14159, "end": 14160, "loc": { "start": { "line": 393, "column": 15 }, "end": { "line": 393, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14160, "end": 14165, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14165, "end": 14166, "loc": { "start": { "line": 393, "column": 21 }, "end": { "line": 393, "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": 14166, "end": 14169, "loc": { "start": { "line": 393, "column": 22 }, "end": { "line": 393, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14169, "end": 14170, "loc": { "start": { "line": 393, "column": 25 }, "end": { "line": 393, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14170, "end": 14171, "loc": { "start": { "line": 393, "column": 26 }, "end": { "line": 393, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 14171, "end": 14178, "loc": { "start": { "line": 393, "column": 27 }, "end": { "line": 393, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14178, "end": 14179, "loc": { "start": { "line": 393, "column": 34 }, "end": { "line": 393, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14179, "end": 14192, "loc": { "start": { "line": 393, "column": 35 }, "end": { "line": 393, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14193, "end": 14195, "loc": { "start": { "line": 393, "column": 49 }, "end": { "line": 393, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14196, "end": 14197, "loc": { "start": { "line": 393, "column": 52 }, "end": { "line": 393, "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": 14207, "end": 14209, "loc": { "start": { "line": 394, "column": 8 }, "end": { "line": 394, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14209, "end": 14210, "loc": { "start": { "line": 394, "column": 10 }, "end": { "line": 394, "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": 14210, "end": 14211, "loc": { "start": { "line": 394, "column": 11 }, "end": { "line": 394, "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": 14211, "end": 14215, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14215, "end": 14216, "loc": { "start": { "line": 394, "column": 16 }, "end": { "line": 394, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14216, "end": 14223, "loc": { "start": { "line": 394, "column": 17 }, "end": { "line": 394, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14223, "end": 14224, "loc": { "start": { "line": 394, "column": 24 }, "end": { "line": 394, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14224, "end": 14235, "loc": { "start": { "line": 394, "column": 25 }, "end": { "line": 394, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14235, "end": 14236, "loc": { "start": { "line": 394, "column": 36 }, "end": { "line": 394, "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": 14248, "end": 14252, "loc": { "start": { "line": 395, "column": 10 }, "end": { "line": 395, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14252, "end": 14253, "loc": { "start": { "line": 395, "column": 14 }, "end": { "line": 395, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 14253, "end": 14260, "loc": { "start": { "line": 395, "column": 15 }, "end": { "line": 395, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14260, "end": 14261, "loc": { "start": { "line": 395, "column": 22 }, "end": { "line": 395, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14261, "end": 14272, "loc": { "start": { "line": 395, "column": 23 }, "end": { "line": 395, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14273, "end": 14274, "loc": { "start": { "line": 395, "column": 35 }, "end": { "line": 395, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14275, "end": 14276, "loc": { "start": { "line": 395, "column": 37 }, "end": { "line": 395, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14276, "end": 14277, "loc": { "start": { "line": 395, "column": 38 }, "end": { "line": 395, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14277, "end": 14278, "loc": { "start": { "line": 395, "column": 39 }, "end": { "line": 395, "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": 14290, "end": 14293, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14294, "end": 14308, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14309, "end": 14310, "loc": { "start": { "line": 397, "column": 27 }, "end": { "line": 397, "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": 14311, "end": 14316, "loc": { "start": { "line": 397, "column": 29 }, "end": { "line": 397, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14316, "end": 14317, "loc": { "start": { "line": 397, "column": 34 }, "end": { "line": 397, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is already defined, we add button to class definition\r\n ", "start": 14331, "end": 14422, "loc": { "start": { "line": 399, "column": 8 }, "end": { "line": 401, "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": 14432, "end": 14436, "loc": { "start": { "line": 402, "column": 8 }, "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": 14436, "end": 14437, "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": "options", "start": 14437, "end": 14444, "loc": { "start": { "line": 402, "column": 13 }, "end": { "line": 402, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14444, "end": 14445, "loc": { "start": { "line": 402, "column": 20 }, "end": { "line": 402, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14445, "end": 14456, "loc": { "start": { "line": 402, "column": 21 }, "end": { "line": 402, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14456, "end": 14457, "loc": { "start": { "line": 402, "column": 32 }, "end": { "line": 402, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 14457, "end": 14460, "loc": { "start": { "line": 402, "column": 33 }, "end": { "line": 402, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14460, "end": 14461, "loc": { "start": { "line": 402, "column": 36 }, "end": { "line": 402, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14461, "end": 14472, "loc": { "start": { "line": 402, "column": 37 }, "end": { "line": 402, "column": 48 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14473, "end": 14475, "loc": { "start": { "line": 402, "column": 49 }, "end": { "line": 402, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14476, "end": 14477, "loc": { "start": { "line": 402, "column": 52 }, "end": { "line": 402, "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": 14491, "end": 14493, "loc": { "start": { "line": 404, "column": 10 }, "end": { "line": 404, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14493, "end": 14494, "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": "buttonTheme", "start": 14494, "end": 14505, "loc": { "start": { "line": 404, "column": 13 }, "end": { "line": 404, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14505, "end": 14506, "loc": { "start": { "line": 404, "column": 24 }, "end": { "line": 404, "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": 14506, "end": 14511, "loc": { "start": { "line": 404, "column": 25 }, "end": { "line": 404, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "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": 30 }, "end": { "line": 404, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14512, "end": 14517, "loc": { "start": { "line": 404, "column": 31 }, "end": { "line": 404, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14517, "end": 14518, "loc": { "start": { "line": 404, "column": 36 }, "end": { "line": 404, "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": 14518, "end": 14521, "loc": { "start": { "line": 404, "column": 37 }, "end": { "line": 404, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14521, "end": 14522, "loc": { "start": { "line": 404, "column": 40 }, "end": { "line": 404, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14522, "end": 14523, "loc": { "start": { "line": 404, "column": 41 }, "end": { "line": 404, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 14523, "end": 14531, "loc": { "start": { "line": 404, "column": 42 }, "end": { "line": 404, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14531, "end": 14532, "loc": { "start": { "line": 404, "column": 50 }, "end": { "line": 404, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 14532, "end": 14545, "loc": { "start": { "line": 404, "column": 51 }, "end": { "line": 404, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14545, "end": 14546, "loc": { "start": { "line": 404, "column": 64 }, "end": { "line": 404, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14546, "end": 14547, "loc": { "start": { "line": 404, "column": 65 }, "end": { "line": 404, "column": 66 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14547, "end": 14548, "loc": { "start": { "line": 404, "column": 66 }, "end": { "line": 404, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14562, "end": 14576, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14577, "end": 14578, "loc": { "start": { "line": 405, "column": 27 }, "end": { "line": 405, "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": 14579, "end": 14583, "loc": { "start": { "line": 405, "column": 29 }, "end": { "line": 405, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14583, "end": 14584, "loc": { "start": { "line": 405, "column": 33 }, "end": { "line": 405, "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": 14612, "end": 14615, "loc": { "start": { "line": 407, "column": 12 }, "end": { "line": 407, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14616, "end": 14632, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14633, "end": 14634, "loc": { "start": { "line": 407, "column": 33 }, "end": { "line": 407, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14635, "end": 14646, "loc": { "start": { "line": 407, "column": 35 }, "end": { "line": 407, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14646, "end": 14647, "loc": { "start": { "line": 407, "column": 46 }, "end": { "line": 407, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14647, "end": 14654, "loc": { "start": { "line": 407, "column": 47 }, "end": { "line": 407, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14654, "end": 14655, "loc": { "start": { "line": 407, "column": 54 }, "end": { "line": 407, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 14655, "end": 14660, "loc": { "start": { "line": 407, "column": 55 }, "end": { "line": 407, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14660, "end": 14661, "loc": { "start": { "line": 407, "column": 60 }, "end": { "line": 407, "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": 14661, "end": 14664, "loc": { "start": { "line": 407, "column": 61 }, "end": { "line": 407, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14664, "end": 14665, "loc": { "start": { "line": 407, "column": 64 }, "end": { "line": 407, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14665, "end": 14666, "loc": { "start": { "line": 407, "column": 65 }, "end": { "line": 407, "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": 14680, "end": 14682, "loc": { "start": { "line": 408, "column": 12 }, "end": { "line": 408, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14682, "end": 14683, "loc": { "start": { "line": 408, "column": 14 }, "end": { "line": 408, "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": 14683, "end": 14684, "loc": { "start": { "line": 408, "column": 15 }, "end": { "line": 408, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14684, "end": 14700, "loc": { "start": { "line": 408, "column": 16 }, "end": { "line": 408, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14700, "end": 14701, "loc": { "start": { "line": 408, "column": 32 }, "end": { "line": 408, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 14701, "end": 14709, "loc": { "start": { "line": 408, "column": 33 }, "end": { "line": 408, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14709, "end": 14710, "loc": { "start": { "line": 408, "column": 41 }, "end": { "line": 408, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14710, "end": 14716, "loc": { "start": { "line": 408, "column": 42 }, "end": { "line": 408, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14716, "end": 14717, "loc": { "start": { "line": 408, "column": 48 }, "end": { "line": 408, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14717, "end": 14718, "loc": { "start": { "line": 408, "column": 49 }, "end": { "line": 408, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14718, "end": 14719, "loc": { "start": { "line": 408, "column": 50 }, "end": { "line": 408, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 14735, "end": 14749, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14750, "end": 14751, "loc": { "start": { "line": 409, "column": 29 }, "end": { "line": 409, "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": 14752, "end": 14756, "loc": { "start": { "line": 409, "column": 31 }, "end": { "line": 409, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14756, "end": 14757, "loc": { "start": { "line": 409, "column": 35 }, "end": { "line": 409, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14773, "end": 14789, "loc": { "start": { "line": 410, "column": 14 }, "end": { "line": 410, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14789, "end": 14790, "loc": { "start": { "line": 410, "column": 30 }, "end": { "line": 410, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 14790, "end": 14794, "loc": { "start": { "line": 410, "column": 31 }, "end": { "line": 410, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14794, "end": 14795, "loc": { "start": { "line": 410, "column": 35 }, "end": { "line": 410, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 14795, "end": 14801, "loc": { "start": { "line": 410, "column": 36 }, "end": { "line": 410, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14801, "end": 14802, "loc": { "start": { "line": 410, "column": 42 }, "end": { "line": 410, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14802, "end": 14803, "loc": { "start": { "line": 410, "column": 43 }, "end": { "line": 410, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14819, "end": 14830, "loc": { "start": { "line": 411, "column": 14 }, "end": { "line": 411, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14830, "end": 14831, "loc": { "start": { "line": 411, "column": 25 }, "end": { "line": 411, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 14831, "end": 14838, "loc": { "start": { "line": 411, "column": 26 }, "end": { "line": 411, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14839, "end": 14840, "loc": { "start": { "line": 411, "column": 34 }, "end": { "line": 411, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeArray", "start": 14841, "end": 14857, "loc": { "start": { "line": 411, "column": 36 }, "end": { "line": 411, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14857, "end": 14858, "loc": { "start": { "line": 411, "column": 52 }, "end": { "line": 411, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 14858, "end": 14862, "loc": { "start": { "line": 411, "column": 53 }, "end": { "line": 411, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14862, "end": 14863, "loc": { "start": { "line": 411, "column": 57 }, "end": { "line": 411, "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": 14863, "end": 14866, "loc": { "start": { "line": 411, "column": 58 }, "end": { "line": 411, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14866, "end": 14867, "loc": { "start": { "line": 411, "column": 61 }, "end": { "line": 411, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14867, "end": 14868, "loc": { "start": { "line": 411, "column": 62 }, "end": { "line": 411, "column": 63 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14882, "end": 14883, "loc": { "start": { "line": 412, "column": 12 }, "end": { "line": 412, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14895, "end": 14896, "loc": { "start": { "line": 413, "column": 10 }, "end": { "line": 413, "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": 14908, "end": 14914, "loc": { "start": { "line": 414, "column": 10 }, "end": { "line": 414, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 14915, "end": 14926, "loc": { "start": { "line": 414, "column": 17 }, "end": { "line": 414, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14926, "end": 14927, "loc": { "start": { "line": 414, "column": 28 }, "end": { "line": 414, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14937, "end": 14938, "loc": { "start": { "line": 415, "column": 8 }, "end": { "line": 415, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14938, "end": 14939, "loc": { "start": { "line": 415, "column": 9 }, "end": { "line": 415, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14939, "end": 14940, "loc": { "start": { "line": 415, "column": 10 }, "end": { "line": 415, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * If class is not defined, we create a new entry\r\n ", "start": 14952, "end": 15027, "loc": { "start": { "line": 417, "column": 8 }, "end": { "line": 419, "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": 15037, "end": 15039, "loc": { "start": { "line": 420, "column": 8 }, "end": { "line": 420, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15039, "end": 15040, "loc": { "start": { "line": 420, "column": 10 }, "end": { "line": 420, "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": 15040, "end": 15041, "loc": { "start": { "line": 420, "column": 11 }, "end": { "line": 420, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameFound", "start": 15041, "end": 15055, "loc": { "start": { "line": 420, "column": 12 }, "end": { "line": 420, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15055, "end": 15056, "loc": { "start": { "line": 420, "column": 26 }, "end": { "line": 420, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15056, "end": 15057, "loc": { "start": { "line": 420, "column": 27 }, "end": { "line": 420, "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": 15069, "end": 15073, "loc": { "start": { "line": 421, "column": 10 }, "end": { "line": 421, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15073, "end": 15074, "loc": { "start": { "line": 421, "column": 14 }, "end": { "line": 421, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15074, "end": 15081, "loc": { "start": { "line": 421, "column": 15 }, "end": { "line": 421, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15081, "end": 15082, "loc": { "start": { "line": 421, "column": 22 }, "end": { "line": 421, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15082, "end": 15093, "loc": { "start": { "line": 421, "column": 23 }, "end": { "line": 421, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15093, "end": 15094, "loc": { "start": { "line": 421, "column": 34 }, "end": { "line": 421, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 15094, "end": 15098, "loc": { "start": { "line": 421, "column": 35 }, "end": { "line": 421, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15098, "end": 15099, "loc": { "start": { "line": 421, "column": 39 }, "end": { "line": 421, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15099, "end": 15100, "loc": { "start": { "line": 421, "column": 40 }, "end": { "line": 421, "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": 15114, "end": 15119, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15119, "end": 15120, "loc": { "start": { "line": 422, "column": 17 }, "end": { "line": 422, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classNameItem", "start": 15121, "end": 15134, "loc": { "start": { "line": 422, "column": 19 }, "end": { "line": 422, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15134, "end": 15135, "loc": { "start": { "line": 422, "column": 32 }, "end": { "line": 422, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15149, "end": 15156, "loc": { "start": { "line": 423, "column": 12 }, "end": { "line": 423, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15156, "end": 15157, "loc": { "start": { "line": 423, "column": 19 }, "end": { "line": 423, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15158, "end": 15165, "loc": { "start": { "line": 423, "column": 21 }, "end": { "line": 423, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15177, "end": 15178, "loc": { "start": { "line": 424, "column": 10 }, "end": { "line": 424, "column": 11 } } }, { "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": 424, "column": 11 }, "end": { "line": 424, "column": 12 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15179, "end": 15180, "loc": { "start": { "line": 424, "column": 12 }, "end": { "line": 424, "column": 13 } } }, { "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": 425, "column": 8 }, "end": { "line": 425, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15201, "end": 15202, "loc": { "start": { "line": 427, "column": 6 }, "end": { "line": 427, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15202, "end": 15203, "loc": { "start": { "line": 427, "column": 7 }, "end": { "line": 427, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15203, "end": 15204, "loc": { "start": { "line": 427, "column": 8 }, "end": { "line": 427, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15210, "end": 15211, "loc": { "start": { "line": 428, "column": 4 }, "end": { "line": 428, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15211, "end": 15212, "loc": { "start": { "line": 428, "column": 5 }, "end": { "line": 428, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15212, "end": 15213, "loc": { "start": { "line": 428, "column": 6 }, "end": { "line": 428, "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": 15221, "end": 15225, "loc": { "start": { "line": 430, "column": 4 }, "end": { "line": 430, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15225, "end": 15226, "loc": { "start": { "line": 430, "column": 8 }, "end": { "line": 430, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15226, "end": 15232, "loc": { "start": { "line": 430, "column": 9 }, "end": { "line": 430, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15232, "end": 15233, "loc": { "start": { "line": 430, "column": 15 }, "end": { "line": 430, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15233, "end": 15234, "loc": { "start": { "line": 430, "column": 16 }, "end": { "line": 430, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15234, "end": 15235, "loc": { "start": { "line": 430, "column": 17 }, "end": { "line": 430, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15239, "end": 15240, "loc": { "start": { "line": 431, "column": 2 }, "end": { "line": 431, "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": 15246, "end": 15586, "loc": { "start": { "line": 433, "column": 2 }, "end": { "line": 437, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeButtonTheme", "start": 15590, "end": 15607, "loc": { "start": { "line": 438, "column": 2 }, "end": { "line": 438, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15607, "end": 15608, "loc": { "start": { "line": 438, "column": 19 }, "end": { "line": 438, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15608, "end": 15615, "loc": { "start": { "line": 438, "column": 20 }, "end": { "line": 438, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15615, "end": 15616, "loc": { "start": { "line": 438, "column": 27 }, "end": { "line": 438, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15617, "end": 15626, "loc": { "start": { "line": 438, "column": 29 }, "end": { "line": 438, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15626, "end": 15627, "loc": { "start": { "line": 438, "column": 38 }, "end": { "line": 438, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15627, "end": 15628, "loc": { "start": { "line": 438, "column": 39 }, "end": { "line": 438, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * When called with empty parameters, remove all button themes\r\n ", "start": 15634, "end": 15714, "loc": { "start": { "line": 439, "column": 4 }, "end": { "line": 441, "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": 15720, "end": 15722, "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": 15722, "end": 15723, "loc": { "start": { "line": 442, "column": 6 }, "end": { "line": 442, "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": 15723, "end": 15724, "loc": { "start": { "line": 442, "column": 7 }, "end": { "line": 442, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15724, "end": 15731, "loc": { "start": { "line": 442, "column": 8 }, "end": { "line": 442, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15732, "end": 15734, "loc": { "start": { "line": 442, "column": 16 }, "end": { "line": 442, "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": 15735, "end": 15736, "loc": { "start": { "line": 442, "column": 19 }, "end": { "line": 442, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 15736, "end": 15745, "loc": { "start": { "line": 442, "column": 20 }, "end": { "line": 442, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15745, "end": 15746, "loc": { "start": { "line": 442, "column": 29 }, "end": { "line": 442, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15746, "end": 15747, "loc": { "start": { "line": 442, "column": 30 }, "end": { "line": 442, "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": 15755, "end": 15759, "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": 15759, "end": 15760, "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": 15760, "end": 15767, "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": 15767, "end": 15768, "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": "buttonTheme", "start": 15768, "end": 15779, "loc": { "start": { "line": 443, "column": 19 }, "end": { "line": 443, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15780, "end": 15781, "loc": { "start": { "line": 443, "column": 31 }, "end": { "line": 443, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15782, "end": 15783, "loc": { "start": { "line": 443, "column": 33 }, "end": { "line": 443, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15783, "end": 15784, "loc": { "start": { "line": 443, "column": 34 }, "end": { "line": 443, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15784, "end": 15785, "loc": { "start": { "line": 443, "column": 35 }, "end": { "line": 443, "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": 15793, "end": 15797, "loc": { "start": { "line": 444, "column": 6 }, "end": { "line": 444, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15797, "end": 15798, "loc": { "start": { "line": 444, "column": 10 }, "end": { "line": 444, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 15798, "end": 15804, "loc": { "start": { "line": 444, "column": 11 }, "end": { "line": 444, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15804, "end": 15805, "loc": { "start": { "line": 444, "column": 17 }, "end": { "line": 444, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15805, "end": 15806, "loc": { "start": { "line": 444, "column": 18 }, "end": { "line": 444, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15806, "end": 15807, "loc": { "start": { "line": 444, "column": 19 }, "end": { "line": 444, "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": 15815, "end": 15821, "loc": { "start": { "line": 445, "column": 6 }, "end": { "line": 445, "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": 15822, "end": 15827, "loc": { "start": { "line": 445, "column": 13 }, "end": { "line": 445, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15827, "end": 15828, "loc": { "start": { "line": 445, "column": 18 }, "end": { "line": 445, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15834, "end": 15835, "loc": { "start": { "line": 446, "column": 4 }, "end": { "line": 446, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons are passed and buttonTheme has items\r\n ", "start": 15843, "end": 15911, "loc": { "start": { "line": 448, "column": 4 }, "end": { "line": 450, "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": 15917, "end": 15919, "loc": { "start": { "line": 451, "column": 4 }, "end": { "line": 451, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15919, "end": 15920, "loc": { "start": { "line": 451, "column": 6 }, "end": { "line": 451, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 15920, "end": 15927, "loc": { "start": { "line": 451, "column": 7 }, "end": { "line": 451, "column": 14 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15928, "end": 15930, "loc": { "start": { "line": 451, "column": 15 }, "end": { "line": 451, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 15931, "end": 15936, "loc": { "start": { "line": 451, "column": 18 }, "end": { "line": 451, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15936, "end": 15937, "loc": { "start": { "line": 451, "column": 23 }, "end": { "line": 451, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 15937, "end": 15944, "loc": { "start": { "line": 451, "column": 24 }, "end": { "line": 451, "column": 31 } } }, { "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": 451, "column": 31 }, "end": { "line": 451, "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": 15945, "end": 15949, "loc": { "start": { "line": 451, "column": 32 }, "end": { "line": 451, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15949, "end": 15950, "loc": { "start": { "line": 451, "column": 36 }, "end": { "line": 451, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15950, "end": 15957, "loc": { "start": { "line": 451, "column": 37 }, "end": { "line": 451, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15957, "end": 15958, "loc": { "start": { "line": 451, "column": 44 }, "end": { "line": 451, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15958, "end": 15969, "loc": { "start": { "line": 451, "column": 45 }, "end": { "line": 451, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15969, "end": 15970, "loc": { "start": { "line": 451, "column": 56 }, "end": { "line": 451, "column": 57 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 15971, "end": 15973, "loc": { "start": { "line": 451, "column": 58 }, "end": { "line": 451, "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": 15974, "end": 15978, "loc": { "start": { "line": 451, "column": 61 }, "end": { "line": 451, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15978, "end": 15979, "loc": { "start": { "line": 451, "column": 65 }, "end": { "line": 451, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 15979, "end": 15986, "loc": { "start": { "line": 451, "column": 66 }, "end": { "line": 451, "column": 73 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15986, "end": 15987, "loc": { "start": { "line": 451, "column": 73 }, "end": { "line": 451, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 15987, "end": 15998, "loc": { "start": { "line": 451, "column": 74 }, "end": { "line": 451, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15998, "end": 15999, "loc": { "start": { "line": 451, "column": 85 }, "end": { "line": 451, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 15999, "end": 16005, "loc": { "start": { "line": 451, "column": 86 }, "end": { "line": 451, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16005, "end": 16006, "loc": { "start": { "line": 451, "column": 92 }, "end": { "line": 451, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16006, "end": 16007, "loc": { "start": { "line": 451, "column": 93 }, "end": { "line": 451, "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": 16015, "end": 16018, "loc": { "start": { "line": 452, "column": 6 }, "end": { "line": 452, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 16019, "end": 16030, "loc": { "start": { "line": 452, "column": 10 }, "end": { "line": 452, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16031, "end": 16032, "loc": { "start": { "line": 452, "column": 22 }, "end": { "line": 452, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16033, "end": 16040, "loc": { "start": { "line": 452, "column": 24 }, "end": { "line": 452, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16040, "end": 16041, "loc": { "start": { "line": 452, "column": 31 }, "end": { "line": 452, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16041, "end": 16046, "loc": { "start": { "line": 452, "column": 32 }, "end": { "line": 452, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16046, "end": 16047, "loc": { "start": { "line": 452, "column": 37 }, "end": { "line": 452, "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": 16047, "end": 16050, "loc": { "start": { "line": 452, "column": 38 }, "end": { "line": 452, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16050, "end": 16051, "loc": { "start": { "line": 452, "column": 41 }, "end": { "line": 452, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16051, "end": 16052, "loc": { "start": { "line": 452, "column": 42 }, "end": { "line": 452, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArray", "start": 16060, "end": 16071, "loc": { "start": { "line": 453, "column": 6 }, "end": { "line": 453, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16071, "end": 16072, "loc": { "start": { "line": 453, "column": 17 }, "end": { "line": 453, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 16072, "end": 16079, "loc": { "start": { "line": 453, "column": 18 }, "end": { "line": 453, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16079, "end": 16080, "loc": { "start": { "line": 453, "column": 25 }, "end": { "line": 453, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16080, "end": 16081, "loc": { "start": { "line": 453, "column": 26 }, "end": { "line": 453, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16081, "end": 16087, "loc": { "start": { "line": 453, "column": 27 }, "end": { "line": 453, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16087, "end": 16088, "loc": { "start": { "line": 453, "column": 33 }, "end": { "line": 453, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 16089, "end": 16092, "loc": { "start": { "line": 453, "column": 35 }, "end": { "line": 453, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16092, "end": 16093, "loc": { "start": { "line": 453, "column": 38 }, "end": { "line": 453, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16094, "end": 16096, "loc": { "start": { "line": 453, "column": 40 }, "end": { "line": 453, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16097, "end": 16098, "loc": { "start": { "line": 453, "column": 43 }, "end": { "line": 453, "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": 16108, "end": 16112, "loc": { "start": { "line": 454, "column": 8 }, "end": { "line": 454, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16112, "end": 16113, "loc": { "start": { "line": 454, "column": 12 }, "end": { "line": 454, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16113, "end": 16120, "loc": { "start": { "line": 454, "column": 13 }, "end": { "line": 454, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16120, "end": 16121, "loc": { "start": { "line": 454, "column": 20 }, "end": { "line": 454, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16121, "end": 16132, "loc": { "start": { "line": 454, "column": 21 }, "end": { "line": 454, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16132, "end": 16133, "loc": { "start": { "line": 454, "column": 32 }, "end": { "line": 454, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 16133, "end": 16136, "loc": { "start": { "line": 454, "column": 33 }, "end": { "line": 454, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16136, "end": 16137, "loc": { "start": { "line": 454, "column": 36 }, "end": { "line": 454, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16137, "end": 16138, "loc": { "start": { "line": 454, "column": 37 }, "end": { "line": 454, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16138, "end": 16149, "loc": { "start": { "line": 454, "column": 38 }, "end": { "line": 454, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16149, "end": 16150, "loc": { "start": { "line": 454, "column": 49 }, "end": { "line": 454, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 16151, "end": 16156, "loc": { "start": { "line": 454, "column": 51 }, "end": { "line": 454, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16156, "end": 16157, "loc": { "start": { "line": 454, "column": 56 }, "end": { "line": 454, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16158, "end": 16160, "loc": { "start": { "line": 454, "column": 58 }, "end": { "line": 454, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16161, "end": 16162, "loc": { "start": { "line": 454, "column": 61 }, "end": { "line": 454, "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": 16176, "end": 16317, "loc": { "start": { "line": 456, "column": 10 }, "end": { "line": 459, "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": 16329, "end": 16331, "loc": { "start": { "line": 460, "column": 10 }, "end": { "line": 460, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16331, "end": 16332, "loc": { "start": { "line": 460, "column": 12 }, "end": { "line": 460, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16346, "end": 16347, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 16347, "end": 16356, "loc": { "start": { "line": 461, "column": 13 }, "end": { "line": 461, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 16357, "end": 16359, "loc": { "start": { "line": 461, "column": 23 }, "end": { "line": 461, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 16360, "end": 16369, "loc": { "start": { "line": 461, "column": 26 }, "end": { "line": 461, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16369, "end": 16370, "loc": { "start": { "line": 461, "column": 35 }, "end": { "line": 461, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 16370, "end": 16378, "loc": { "start": { "line": 461, "column": 36 }, "end": { "line": 461, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16378, "end": 16379, "loc": { "start": { "line": 461, "column": 44 }, "end": { "line": 461, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16379, "end": 16390, "loc": { "start": { "line": 461, "column": 45 }, "end": { "line": 461, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16390, "end": 16391, "loc": { "start": { "line": 461, "column": 56 }, "end": { "line": 461, "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": 16391, "end": 16396, "loc": { "start": { "line": 461, "column": 57 }, "end": { "line": 461, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16396, "end": 16397, "loc": { "start": { "line": 461, "column": 62 }, "end": { "line": 461, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16397, "end": 16398, "loc": { "start": { "line": 461, "column": 63 }, "end": { "line": 461, "column": 64 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 16399, "end": 16401, "loc": { "start": { "line": 461, "column": 65 }, "end": { "line": 461, "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": 16415, "end": 16416, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 16416, "end": 16425, "loc": { "start": { "line": 462, "column": 13 }, "end": { "line": 462, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16437, "end": 16438, "loc": { "start": { "line": 463, "column": 10 }, "end": { "line": 463, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16438, "end": 16439, "loc": { "start": { "line": 463, "column": 11 }, "end": { "line": 463, "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": 16453, "end": 16456, "loc": { "start": { "line": 464, "column": 12 }, "end": { "line": 464, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16457, "end": 16476, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16477, "end": 16478, "loc": { "start": { "line": 464, "column": 36 }, "end": { "line": 464, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16479, "end": 16490, "loc": { "start": { "line": 464, "column": 38 }, "end": { "line": 464, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16490, "end": 16491, "loc": { "start": { "line": 464, "column": 49 }, "end": { "line": 464, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 16491, "end": 16498, "loc": { "start": { "line": 464, "column": 50 }, "end": { "line": 464, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16498, "end": 16499, "loc": { "start": { "line": 464, "column": 57 }, "end": { "line": 464, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 16499, "end": 16504, "loc": { "start": { "line": 464, "column": 58 }, "end": { "line": 464, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16504, "end": 16505, "loc": { "start": { "line": 464, "column": 63 }, "end": { "line": 464, "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": 16505, "end": 16508, "loc": { "start": { "line": 464, "column": 64 }, "end": { "line": 464, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16508, "end": 16509, "loc": { "start": { "line": 464, "column": 67 }, "end": { "line": 464, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16509, "end": 16510, "loc": { "start": { "line": 464, "column": 68 }, "end": { "line": 464, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 16510, "end": 16516, "loc": { "start": { "line": 464, "column": 69 }, "end": { "line": 464, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16516, "end": 16517, "loc": { "start": { "line": 464, "column": 75 }, "end": { "line": 464, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 16517, "end": 16521, "loc": { "start": { "line": 464, "column": 76 }, "end": { "line": 464, "column": 80 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16522, "end": 16524, "loc": { "start": { "line": 464, "column": 81 }, "end": { "line": 464, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 16525, "end": 16529, "loc": { "start": { "line": 464, "column": 84 }, "end": { "line": 464, "column": 88 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 16530, "end": 16533, "loc": { "start": { "line": 464, "column": 89 }, "end": { "line": 464, "column": 92 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 16534, "end": 16540, "loc": { "start": { "line": 464, "column": 93 }, "end": { "line": 464, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16540, "end": 16541, "loc": { "start": { "line": 464, "column": 99 }, "end": { "line": 464, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16541, "end": 16542, "loc": { "start": { "line": 464, "column": 100 }, "end": { "line": 464, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * If buttons left, return them, otherwise, remove button Theme\r\n ", "start": 16558, "end": 16655, "loc": { "start": { "line": 466, "column": 12 }, "end": { "line": 468, "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": 16669, "end": 16671, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 469, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16671, "end": 16672, "loc": { "start": { "line": 469, "column": 14 }, "end": { "line": 469, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16672, "end": 16691, "loc": { "start": { "line": 469, "column": 15 }, "end": { "line": 469, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16691, "end": 16692, "loc": { "start": { "line": 469, "column": 34 }, "end": { "line": 469, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 16692, "end": 16698, "loc": { "start": { "line": 469, "column": 35 }, "end": { "line": 469, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16698, "end": 16699, "loc": { "start": { "line": 469, "column": 41 }, "end": { "line": 469, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16699, "end": 16700, "loc": { "start": { "line": 469, "column": 42 }, "end": { "line": 469, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16716, "end": 16727, "loc": { "start": { "line": 470, "column": 14 }, "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": 16727, "end": 16728, "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": "buttons", "start": 16728, "end": 16735, "loc": { "start": { "line": 470, "column": 26 }, "end": { "line": 470, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16736, "end": 16737, "loc": { "start": { "line": 470, "column": 34 }, "end": { "line": 470, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filteredButtonArray", "start": 16738, "end": 16757, "loc": { "start": { "line": 470, "column": 36 }, "end": { "line": 470, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16757, "end": 16758, "loc": { "start": { "line": 470, "column": 55 }, "end": { "line": 470, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 16758, "end": 16762, "loc": { "start": { "line": 470, "column": 56 }, "end": { "line": 470, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16762, "end": 16763, "loc": { "start": { "line": 470, "column": 60 }, "end": { "line": 470, "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": 16763, "end": 16766, "loc": { "start": { "line": 470, "column": 61 }, "end": { "line": 470, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16766, "end": 16767, "loc": { "start": { "line": 470, "column": 64 }, "end": { "line": 470, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16767, "end": 16768, "loc": { "start": { "line": 470, "column": 65 }, "end": { "line": 470, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16782, "end": 16783, "loc": { "start": { "line": 471, "column": 12 }, "end": { "line": 471, "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": 16784, "end": 16788, "loc": { "start": { "line": 471, "column": 14 }, "end": { "line": 471, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16789, "end": 16790, "loc": { "start": { "line": 471, "column": 19 }, "end": { "line": 471, "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": 16806, "end": 16810, "loc": { "start": { "line": 472, "column": 14 }, "end": { "line": 472, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16810, "end": 16811, "loc": { "start": { "line": 472, "column": 18 }, "end": { "line": 472, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 16811, "end": 16818, "loc": { "start": { "line": 472, "column": 19 }, "end": { "line": 472, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16818, "end": 16819, "loc": { "start": { "line": 472, "column": 26 }, "end": { "line": 472, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16819, "end": 16830, "loc": { "start": { "line": 472, "column": 27 }, "end": { "line": 472, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16830, "end": 16831, "loc": { "start": { "line": 472, "column": 38 }, "end": { "line": 472, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "splice", "start": 16831, "end": 16837, "loc": { "start": { "line": 472, "column": 39 }, "end": { "line": 472, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16837, "end": 16838, "loc": { "start": { "line": 472, "column": 45 }, "end": { "line": 472, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "index", "start": 16838, "end": 16843, "loc": { "start": { "line": 472, "column": 46 }, "end": { "line": 472, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16843, "end": 16844, "loc": { "start": { "line": 472, "column": 51 }, "end": { "line": 472, "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": 16845, "end": 16846, "loc": { "start": { "line": 472, "column": 53 }, "end": { "line": 472, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16846, "end": 16847, "loc": { "start": { "line": 472, "column": 54 }, "end": { "line": 472, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16847, "end": 16848, "loc": { "start": { "line": 472, "column": 55 }, "end": { "line": 472, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16864, "end": 16875, "loc": { "start": { "line": 473, "column": 14 }, "end": { "line": 473, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16876, "end": 16877, "loc": { "start": { "line": 473, "column": 26 }, "end": { "line": 473, "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": 16878, "end": 16882, "loc": { "start": { "line": 473, "column": 28 }, "end": { "line": 473, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16882, "end": 16883, "loc": { "start": { "line": 473, "column": 32 }, "end": { "line": 473, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16897, "end": 16898, "loc": { "start": { "line": 474, "column": 12 }, "end": { "line": 474, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16913, "end": 16914, "loc": { "start": { "line": 476, "column": 10 }, "end": { "line": 476, "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": 16928, "end": 16934, "loc": { "start": { "line": 478, "column": 10 }, "end": { "line": 478, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 16935, "end": 16946, "loc": { "start": { "line": 478, "column": 17 }, "end": { "line": 478, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16946, "end": 16947, "loc": { "start": { "line": 478, "column": 28 }, "end": { "line": 478, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16957, "end": 16958, "loc": { "start": { "line": 479, "column": 8 }, "end": { "line": 479, "column": 9 } } }, { "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": 479, "column": 9 }, "end": { "line": 479, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16959, "end": 16960, "loc": { "start": { "line": 479, "column": 10 }, "end": { "line": 479, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16968, "end": 16969, "loc": { "start": { "line": 480, "column": 6 }, "end": { "line": 480, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16969, "end": 16970, "loc": { "start": { "line": 480, "column": 7 }, "end": { "line": 480, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16970, "end": 16971, "loc": { "start": { "line": 480, "column": 8 }, "end": { "line": 480, "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": 16981, "end": 16985, "loc": { "start": { "line": 482, "column": 6 }, "end": { "line": 482, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16985, "end": 16986, "loc": { "start": { "line": 482, "column": 10 }, "end": { "line": 482, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 16986, "end": 16992, "loc": { "start": { "line": 482, "column": 11 }, "end": { "line": 482, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16992, "end": 16993, "loc": { "start": { "line": 482, "column": 17 }, "end": { "line": 482, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16993, "end": 16994, "loc": { "start": { "line": 482, "column": 18 }, "end": { "line": 482, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16994, "end": 16995, "loc": { "start": { "line": 482, "column": 19 }, "end": { "line": 482, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17001, "end": 17002, "loc": { "start": { "line": 483, "column": 4 }, "end": { "line": 483, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17006, "end": 17007, "loc": { "start": { "line": 484, "column": 2 }, "end": { "line": 484, "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": 17013, "end": 17216, "loc": { "start": { "line": 486, "column": 2 }, "end": { "line": 489, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonElement", "start": 17220, "end": 17236, "loc": { "start": { "line": 490, "column": 2 }, "end": { "line": 490, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17236, "end": 17237, "loc": { "start": { "line": 490, "column": 18 }, "end": { "line": 490, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17237, "end": 17243, "loc": { "start": { "line": 490, "column": 19 }, "end": { "line": 490, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17243, "end": 17244, "loc": { "start": { "line": 490, "column": 25 }, "end": { "line": 490, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17244, "end": 17245, "loc": { "start": { "line": 490, "column": 26 }, "end": { "line": 490, "column": 27 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 17251, "end": 17254, "loc": { "start": { "line": 491, "column": 4 }, "end": { "line": 491, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17255, "end": 17261, "loc": { "start": { "line": 491, "column": 8 }, "end": { "line": 491, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17261, "end": 17262, "loc": { "start": { "line": 491, "column": 14 }, "end": { "line": 491, "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": 17270, "end": 17273, "loc": { "start": { "line": 493, "column": 4 }, "end": { "line": 493, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17274, "end": 17283, "loc": { "start": { "line": 493, "column": 8 }, "end": { "line": 493, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17284, "end": 17285, "loc": { "start": { "line": 493, "column": 18 }, "end": { "line": 493, "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": 17286, "end": 17290, "loc": { "start": { "line": 493, "column": 20 }, "end": { "line": 493, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17290, "end": 17291, "loc": { "start": { "line": 493, "column": 24 }, "end": { "line": 493, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 17291, "end": 17305, "loc": { "start": { "line": 493, "column": 25 }, "end": { "line": 493, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17305, "end": 17306, "loc": { "start": { "line": 493, "column": 39 }, "end": { "line": 493, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 17306, "end": 17312, "loc": { "start": { "line": 493, "column": 40 }, "end": { "line": 493, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17312, "end": 17313, "loc": { "start": { "line": 493, "column": 46 }, "end": { "line": 493, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17313, "end": 17314, "loc": { "start": { "line": 493, "column": 47 }, "end": { "line": 493, "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": 17320, "end": 17322, "loc": { "start": { "line": 494, "column": 4 }, "end": { "line": 494, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17322, "end": 17323, "loc": { "start": { "line": 494, "column": 6 }, "end": { "line": 494, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17323, "end": 17332, "loc": { "start": { "line": 494, "column": 7 }, "end": { "line": 494, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17332, "end": 17333, "loc": { "start": { "line": 494, "column": 16 }, "end": { "line": 494, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17333, "end": 17334, "loc": { "start": { "line": 494, "column": 17 }, "end": { "line": 494, "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": 17342, "end": 17344, "loc": { "start": { "line": 495, "column": 6 }, "end": { "line": 495, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17344, "end": 17345, "loc": { "start": { "line": 495, "column": 8 }, "end": { "line": 495, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17345, "end": 17354, "loc": { "start": { "line": 495, "column": 9 }, "end": { "line": 495, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17354, "end": 17355, "loc": { "start": { "line": 495, "column": 18 }, "end": { "line": 495, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 17355, "end": 17361, "loc": { "start": { "line": 495, "column": 19 }, "end": { "line": 495, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 17362, "end": 17363, "loc": { "start": { "line": 495, "column": 26 }, "end": { "line": 495, "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": 17364, "end": 17365, "loc": { "start": { "line": 495, "column": 28 }, "end": { "line": 495, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17365, "end": 17366, "loc": { "start": { "line": 495, "column": 29 }, "end": { "line": 495, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17366, "end": 17367, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17377, "end": 17383, "loc": { "start": { "line": 496, "column": 8 }, "end": { "line": 496, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17384, "end": 17385, "loc": { "start": { "line": 496, "column": 15 }, "end": { "line": 496, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17386, "end": 17395, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17395, "end": 17396, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 496, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17404, "end": 17405, "loc": { "start": { "line": 497, "column": 6 }, "end": { "line": 497, "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": 17406, "end": 17410, "loc": { "start": { "line": 497, "column": 8 }, "end": { "line": 497, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17411, "end": 17412, "loc": { "start": { "line": 497, "column": 13 }, "end": { "line": 497, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17422, "end": 17428, "loc": { "start": { "line": 498, "column": 8 }, "end": { "line": 498, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17429, "end": 17430, "loc": { "start": { "line": 498, "column": 15 }, "end": { "line": 498, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonArr", "start": 17431, "end": 17440, "loc": { "start": { "line": 498, "column": 17 }, "end": { "line": 498, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17440, "end": 17441, "loc": { "start": { "line": 498, "column": 26 }, "end": { "line": 498, "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": 17441, "end": 17442, "loc": { "start": { "line": 498, "column": 27 }, "end": { "line": 498, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17442, "end": 17443, "loc": { "start": { "line": 498, "column": 28 }, "end": { "line": 498, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17443, "end": 17444, "loc": { "start": { "line": 498, "column": 29 }, "end": { "line": 498, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17452, "end": 17453, "loc": { "start": { "line": 499, "column": 6 }, "end": { "line": 499, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17459, "end": 17460, "loc": { "start": { "line": 500, "column": 4 }, "end": { "line": 500, "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": 17468, "end": 17474, "loc": { "start": { "line": 502, "column": 4 }, "end": { "line": 502, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 17475, "end": 17481, "loc": { "start": { "line": 502, "column": 11 }, "end": { "line": 502, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17481, "end": 17482, "loc": { "start": { "line": 502, "column": 17 }, "end": { "line": 502, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17486, "end": 17487, "loc": { "start": { "line": 503, "column": 2 }, "end": { "line": 503, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Retrieves the current cursor position within a input or textarea (if any)\r\n ", "start": 17493, "end": 17583, "loc": { "start": { "line": 505, "column": 2 }, "end": { "line": 507, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 17587, "end": 17598, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 508, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17598, "end": 17599, "loc": { "start": { "line": 508, "column": 13 }, "end": { "line": 508, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17599, "end": 17600, "loc": { "start": { "line": 508, "column": 14 }, "end": { "line": 508, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17600, "end": 17601, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 508, "column": 16 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 17607, "end": 17609, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 509, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17609, "end": 17610, "loc": { "start": { "line": 509, "column": 6 }, "end": { "line": 509, "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": 17610, "end": 17614, "loc": { "start": { "line": 509, "column": 7 }, "end": { "line": 509, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17614, "end": 17615, "loc": { "start": { "line": 509, "column": 11 }, "end": { "line": 509, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 17615, "end": 17622, "loc": { "start": { "line": 509, "column": 12 }, "end": { "line": 509, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17622, "end": 17623, "loc": { "start": { "line": 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": "debug", "start": 17623, "end": 17628, "loc": { "start": { "line": 509, "column": 20 }, "end": { "line": 509, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17628, "end": 17629, "loc": { "start": { "line": 509, "column": 25 }, "end": { "line": 509, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17629, "end": 17630, "loc": { "start": { "line": 509, "column": 26 }, "end": { "line": 509, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 17638, "end": 17645, "loc": { "start": { "line": 510, "column": 6 }, "end": { "line": 510, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17645, "end": 17646, "loc": { "start": { "line": 510, "column": 13 }, "end": { "line": 510, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 17646, "end": 17649, "loc": { "start": { "line": 510, "column": 14 }, "end": { "line": 510, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17649, "end": 17650, "loc": { "start": { "line": 510, "column": 17 }, "end": { "line": 510, "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": 17650, "end": 17674, "loc": { "start": { "line": 510, "column": 18 }, "end": { "line": 510, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17674, "end": 17675, "loc": { "start": { "line": 510, "column": 42 }, "end": { "line": 510, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17675, "end": 17676, "loc": { "start": { "line": 510, "column": 43 }, "end": { "line": 510, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17682, "end": 17683, "loc": { "start": { "line": 511, "column": 4 }, "end": { "line": 511, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17691, "end": 17699, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17699, "end": 17700, "loc": { "start": { "line": 513, "column": 12 }, "end": { "line": 513, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17700, "end": 17716, "loc": { "start": { "line": 513, "column": 13 }, "end": { "line": 513, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17716, "end": 17717, "loc": { "start": { "line": 513, "column": 29 }, "end": { "line": 513, "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": 17717, "end": 17724, "loc": { "start": { "line": 513, "column": 30 }, "end": { "line": 513, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17724, "end": 17725, "loc": { "start": { "line": 513, "column": 37 }, "end": { "line": 513, "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": 17726, "end": 17730, "loc": { "start": { "line": 513, "column": 39 }, "end": { "line": 513, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17730, "end": 17731, "loc": { "start": { "line": 513, "column": 43 }, "end": { "line": 513, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17731, "end": 17748, "loc": { "start": { "line": 513, "column": 44 }, "end": { "line": 513, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17748, "end": 17749, "loc": { "start": { "line": 513, "column": 61 }, "end": { "line": 513, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17749, "end": 17750, "loc": { "start": { "line": 513, "column": 62 }, "end": { "line": 513, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17756, "end": 17764, "loc": { "start": { "line": 514, "column": 4 }, "end": { "line": 514, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17764, "end": 17765, "loc": { "start": { "line": 514, "column": 12 }, "end": { "line": 514, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 17765, "end": 17781, "loc": { "start": { "line": 514, "column": 13 }, "end": { "line": 514, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17781, "end": 17782, "loc": { "start": { "line": 514, "column": 29 }, "end": { "line": 514, "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": 17782, "end": 17791, "loc": { "start": { "line": 514, "column": 30 }, "end": { "line": 514, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17791, "end": 17792, "loc": { "start": { "line": 514, "column": 39 }, "end": { "line": 514, "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": 17793, "end": 17797, "loc": { "start": { "line": 514, "column": 41 }, "end": { "line": 514, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17797, "end": 17798, "loc": { "start": { "line": 514, "column": 45 }, "end": { "line": 514, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17798, "end": 17815, "loc": { "start": { "line": 514, "column": 46 }, "end": { "line": 514, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17815, "end": 17816, "loc": { "start": { "line": 514, "column": 63 }, "end": { "line": 514, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17816, "end": 17817, "loc": { "start": { "line": 514, "column": 64 }, "end": { "line": 514, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 17823, "end": 17831, "loc": { "start": { "line": 515, "column": 4 }, "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": 17831, "end": 17832, "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": "addEventListener", "start": 17832, "end": 17848, "loc": { "start": { "line": 515, "column": 13 }, "end": { "line": 515, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17848, "end": 17849, "loc": { "start": { "line": 515, "column": 29 }, "end": { "line": 515, "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": 17849, "end": 17859, "loc": { "start": { "line": 515, "column": 30 }, "end": { "line": 515, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17859, "end": 17860, "loc": { "start": { "line": 515, "column": 40 }, "end": { "line": 515, "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": 17861, "end": 17865, "loc": { "start": { "line": 515, "column": 42 }, "end": { "line": 515, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17865, "end": 17866, "loc": { "start": { "line": 515, "column": 46 }, "end": { "line": 515, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 17866, "end": 17883, "loc": { "start": { "line": 515, "column": 47 }, "end": { "line": 515, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17883, "end": 17884, "loc": { "start": { "line": 515, "column": 64 }, "end": { "line": 515, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17884, "end": 17885, "loc": { "start": { "line": 515, "column": 65 }, "end": { "line": 515, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17889, "end": 17890, "loc": { "start": { "line": 516, "column": 2 }, "end": { "line": 516, "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": 17896, "end": 18008, "loc": { "start": { "line": 518, "column": 2 }, "end": { "line": 520, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 18012, "end": 18029, "loc": { "start": { "line": 521, "column": 2 }, "end": { "line": 521, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18029, "end": 18030, "loc": { "start": { "line": 521, "column": 19 }, "end": { "line": 521, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18030, "end": 18035, "loc": { "start": { "line": 521, "column": 20 }, "end": { "line": 521, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18035, "end": 18036, "loc": { "start": { "line": 521, "column": 25 }, "end": { "line": 521, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18036, "end": 18037, "loc": { "start": { "line": 521, "column": 26 }, "end": { "line": 521, "column": 27 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 18043, "end": 18046, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18047, "end": 18060, "loc": { "start": { "line": 522, "column": 8 }, "end": { "line": 522, "column": 21 } } }, { "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": 21 }, "end": { "line": 522, "column": 22 } } }, { "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": 18069, "end": 18071, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 524, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18071, "end": 18072, "loc": { "start": { "line": 524, "column": 6 }, "end": { "line": 524, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18072, "end": 18076, "loc": { "start": { "line": 524, "column": 7 }, "end": { "line": 524, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18076, "end": 18077, "loc": { "start": { "line": 524, "column": 11 }, "end": { "line": 524, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 18077, "end": 18088, "loc": { "start": { "line": 524, "column": 12 }, "end": { "line": 524, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18088, "end": 18089, "loc": { "start": { "line": 524, "column": 23 }, "end": { "line": 524, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18089, "end": 18090, "loc": { "start": { "line": 524, "column": 24 }, "end": { "line": 524, "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": 18098, "end": 18102, "loc": { "start": { "line": 525, "column": 6 }, "end": { "line": 525, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18102, "end": 18103, "loc": { "start": { "line": 525, "column": 10 }, "end": { "line": 525, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 18103, "end": 18114, "loc": { "start": { "line": 525, "column": 11 }, "end": { "line": 525, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18115, "end": 18116, "loc": { "start": { "line": 525, "column": 23 }, "end": { "line": 525, "column": 24 } } }, { "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": 18117, "end": 18122, "loc": { "start": { "line": 525, "column": 25 }, "end": { "line": 525, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18122, "end": 18123, "loc": { "start": { "line": 525, "column": 30 }, "end": { "line": 525, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18129, "end": 18130, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "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": 18138, "end": 18140, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18140, "end": 18141, "loc": { "start": { "line": 528, "column": 6 }, "end": { "line": 528, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18141, "end": 18146, "loc": { "start": { "line": 528, "column": 7 }, "end": { "line": 528, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18146, "end": 18147, "loc": { "start": { "line": 528, "column": 12 }, "end": { "line": 528, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18147, "end": 18153, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18153, "end": 18154, "loc": { "start": { "line": 528, "column": 19 }, "end": { "line": 528, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 18154, "end": 18161, "loc": { "start": { "line": 528, "column": 20 }, "end": { "line": 528, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18161, "end": 18162, "loc": { "start": { "line": 528, "column": 27 }, "end": { "line": 528, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18162, "end": 18163, "loc": { "start": { "line": 528, "column": 28 }, "end": { "line": 528, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18171, "end": 18184, "loc": { "start": { "line": 529, "column": 6 }, "end": { "line": 529, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18185, "end": 18186, "loc": { "start": { "line": 529, "column": 20 }, "end": { "line": 529, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18187, "end": 18192, "loc": { "start": { "line": 529, "column": 22 }, "end": { "line": 529, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18192, "end": 18193, "loc": { "start": { "line": 529, "column": 27 }, "end": { "line": 529, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18193, "end": 18199, "loc": { "start": { "line": 529, "column": 28 }, "end": { "line": 529, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18199, "end": 18200, "loc": { "start": { "line": 529, "column": 34 }, "end": { "line": 529, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 18200, "end": 18207, "loc": { "start": { "line": 529, "column": 35 }, "end": { "line": 529, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18207, "end": 18208, "loc": { "start": { "line": 529, "column": 42 }, "end": { "line": 529, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 18208, "end": 18219, "loc": { "start": { "line": 529, "column": 43 }, "end": { "line": 529, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18219, "end": 18220, "loc": { "start": { "line": 529, "column": 54 }, "end": { "line": 529, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18220, "end": 18221, "loc": { "start": { "line": 529, "column": 55 }, "end": { "line": 529, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18221, "end": 18222, "loc": { "start": { "line": 529, "column": 56 }, "end": { "line": 529, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18228, "end": 18229, "loc": { "start": { "line": 530, "column": 4 }, "end": { "line": 530, "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": 18237, "end": 18239, "loc": { "start": { "line": 532, "column": 4 }, "end": { "line": 532, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18239, "end": 18240, "loc": { "start": { "line": 532, "column": 6 }, "end": { "line": 532, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18248, "end": 18249, "loc": { "start": { "line": 533, "column": 6 }, "end": { "line": 533, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18249, "end": 18262, "loc": { "start": { "line": 533, "column": 7 }, "end": { "line": 533, "column": 20 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18263, "end": 18266, "loc": { "start": { "line": 533, "column": 21 }, "end": { "line": 533, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "textarea", "start": 18267, "end": 18277, "loc": { "start": { "line": 533, "column": 25 }, "end": { "line": 533, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 18278, "end": 18280, "loc": { "start": { "line": 533, "column": 36 }, "end": { "line": 533, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18288, "end": 18301, "loc": { "start": { "line": 534, "column": 6 }, "end": { "line": 534, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18302, "end": 18305, "loc": { "start": { "line": 534, "column": 20 }, "end": { "line": 534, "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": 18306, "end": 18313, "loc": { "start": { "line": 534, "column": 24 }, "end": { "line": 534, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18313, "end": 18314, "loc": { "start": { "line": 534, "column": 31 }, "end": { "line": 534, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 18315, "end": 18317, "loc": { "start": { "line": 534, "column": 33 }, "end": { "line": 534, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 18325, "end": 18326, "loc": { "start": { "line": 535, "column": 6 }, "end": { "line": 535, "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": 18326, "end": 18330, "loc": { "start": { "line": 535, "column": 7 }, "end": { "line": 535, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18330, "end": 18331, "loc": { "start": { "line": 535, "column": 11 }, "end": { "line": 535, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18331, "end": 18338, "loc": { "start": { "line": 535, "column": 12 }, "end": { "line": 535, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18338, "end": 18339, "loc": { "start": { "line": 535, "column": 19 }, "end": { "line": 535, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableCaretPositioning", "start": 18339, "end": 18362, "loc": { "start": { "line": 535, "column": 20 }, "end": { "line": 535, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18368, "end": 18369, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 536, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18369, "end": 18370, "loc": { "start": { "line": 536, "column": 5 }, "end": { "line": 536, "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": 18378, "end": 18526, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 540, "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": 18534, "end": 18538, "loc": { "start": { "line": 541, "column": 6 }, "end": { "line": 541, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18538, "end": 18539, "loc": { "start": { "line": 541, "column": 10 }, "end": { "line": 541, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 18539, "end": 18552, "loc": { "start": { "line": 541, "column": 11 }, "end": { "line": 541, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18553, "end": 18554, "loc": { "start": { "line": 541, "column": 25 }, "end": { "line": 541, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18555, "end": 18560, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18560, "end": 18561, "loc": { "start": { "line": 541, "column": 32 }, "end": { "line": 541, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18561, "end": 18567, "loc": { "start": { "line": 541, "column": 33 }, "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": 18567, "end": 18568, "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": "selectionStart", "start": 18568, "end": 18582, "loc": { "start": { "line": 541, "column": 40 }, "end": { "line": 541, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18582, "end": 18583, "loc": { "start": { "line": 541, "column": 54 }, "end": { "line": 541, "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": 18593, "end": 18595, "loc": { "start": { "line": 543, "column": 6 }, "end": { "line": 543, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18595, "end": 18596, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "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": 18596, "end": 18600, "loc": { "start": { "line": 543, "column": 9 }, "end": { "line": 543, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18600, "end": 18601, "loc": { "start": { "line": 543, "column": 13 }, "end": { "line": 543, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18601, "end": 18608, "loc": { "start": { "line": 543, "column": 14 }, "end": { "line": 543, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18608, "end": 18609, "loc": { "start": { "line": 543, "column": 21 }, "end": { "line": 543, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18609, "end": 18614, "loc": { "start": { "line": 543, "column": 22 }, "end": { "line": 543, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18614, "end": 18615, "loc": { "start": { "line": 543, "column": 27 }, "end": { "line": 543, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18615, "end": 18616, "loc": { "start": { "line": 543, "column": 28 }, "end": { "line": 543, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 18626, "end": 18633, "loc": { "start": { "line": 544, "column": 8 }, "end": { "line": 544, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18633, "end": 18634, "loc": { "start": { "line": 544, "column": 15 }, "end": { "line": 544, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 18634, "end": 18637, "loc": { "start": { "line": 544, "column": 16 }, "end": { "line": 544, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18637, "end": 18638, "loc": { "start": { "line": 544, "column": 19 }, "end": { "line": 544, "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": 18638, "end": 18650, "loc": { "start": { "line": 544, "column": 20 }, "end": { "line": 544, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18650, "end": 18651, "loc": { "start": { "line": 544, "column": 32 }, "end": { "line": 544, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18652, "end": 18657, "loc": { "start": { "line": 544, "column": 34 }, "end": { "line": 544, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18657, "end": 18658, "loc": { "start": { "line": 544, "column": 39 }, "end": { "line": 544, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18658, "end": 18664, "loc": { "start": { "line": 544, "column": 40 }, "end": { "line": 544, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18664, "end": 18665, "loc": { "start": { "line": 544, "column": 46 }, "end": { "line": 544, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 18665, "end": 18679, "loc": { "start": { "line": 544, "column": 47 }, "end": { "line": 544, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18679, "end": 18680, "loc": { "start": { "line": 544, "column": 61 }, "end": { "line": 544, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18681, "end": 18686, "loc": { "start": { "line": 544, "column": 63 }, "end": { "line": 544, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18686, "end": 18687, "loc": { "start": { "line": 544, "column": 68 }, "end": { "line": 544, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18687, "end": 18693, "loc": { "start": { "line": 544, "column": 69 }, "end": { "line": 544, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18693, "end": 18694, "loc": { "start": { "line": 544, "column": 75 }, "end": { "line": 544, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 18694, "end": 18701, "loc": { "start": { "line": 544, "column": 76 }, "end": { "line": 544, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18701, "end": 18702, "loc": { "start": { "line": 544, "column": 83 }, "end": { "line": 544, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 18702, "end": 18713, "loc": { "start": { "line": 544, "column": 84 }, "end": { "line": 544, "column": 95 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18713, "end": 18714, "loc": { "start": { "line": 544, "column": 95 }, "end": { "line": 544, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18714, "end": 18715, "loc": { "start": { "line": 544, "column": 96 }, "end": { "line": 544, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18715, "end": 18716, "loc": { "start": { "line": 544, "column": 97 }, "end": { "line": 544, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18716, "end": 18717, "loc": { "start": { "line": 544, "column": 98 }, "end": { "line": 544, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18725, "end": 18726, "loc": { "start": { "line": 545, "column": 6 }, "end": { "line": 545, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18737, "end": 18738, "loc": { "start": { "line": 546, "column": 4 }, "end": { "line": 546, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18742, "end": 18743, "loc": { "start": { "line": 547, "column": 2 }, "end": { "line": 547, "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": 18749, "end": 18869, "loc": { "start": { "line": 549, "column": 2 }, "end": { "line": 551, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 18873, "end": 18879, "loc": { "start": { "line": 552, "column": 2 }, "end": { "line": 552, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18879, "end": 18880, "loc": { "start": { "line": 552, "column": 8 }, "end": { "line": 552, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18880, "end": 18881, "loc": { "start": { "line": 552, "column": 9 }, "end": { "line": 552, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18881, "end": 18882, "loc": { "start": { "line": 552, "column": 10 }, "end": { "line": 552, "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": 18888, "end": 18890, "loc": { "start": { "line": 553, "column": 4 }, "end": { "line": 553, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18890, "end": 18891, "loc": { "start": { "line": 553, "column": 6 }, "end": { "line": 553, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 18891, "end": 18895, "loc": { "start": { "line": 553, "column": 7 }, "end": { "line": 553, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18895, "end": 18896, "loc": { "start": { "line": 553, "column": 11 }, "end": { "line": 553, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18896, "end": 18903, "loc": { "start": { "line": 553, "column": 12 }, "end": { "line": 553, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18903, "end": 18904, "loc": { "start": { "line": 553, "column": 19 }, "end": { "line": 553, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18904, "end": 18909, "loc": { "start": { "line": 553, "column": 20 }, "end": { "line": 553, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18909, "end": 18910, "loc": { "start": { "line": 553, "column": 25 }, "end": { "line": 553, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18910, "end": 18911, "loc": { "start": { "line": 553, "column": 26 }, "end": { "line": 553, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 18919, "end": 18926, "loc": { "start": { "line": 554, "column": 6 }, "end": { "line": 554, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18926, "end": 18927, "loc": { "start": { "line": 554, "column": 13 }, "end": { "line": 554, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 18927, "end": 18930, "loc": { "start": { "line": 554, "column": 14 }, "end": { "line": 554, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18930, "end": 18931, "loc": { "start": { "line": 554, "column": 17 }, "end": { "line": 554, "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": 18931, "end": 18944, "loc": { "start": { "line": 554, "column": 18 }, "end": { "line": 554, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18944, "end": 18945, "loc": { "start": { "line": 554, "column": 31 }, "end": { "line": 554, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18945, "end": 18946, "loc": { "start": { "line": 554, "column": 32 }, "end": { "line": 554, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18952, "end": 18953, "loc": { "start": { "line": 555, "column": 4 }, "end": { "line": 555, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 18961, "end": 18996, "loc": { "start": { "line": 557, "column": 4 }, "end": { "line": 559, "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": 19002, "end": 19006, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19006, "end": 19007, "loc": { "start": { "line": 560, "column": 8 }, "end": { "line": 560, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 19007, "end": 19018, "loc": { "start": { "line": 560, "column": 9 }, "end": { "line": 560, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19018, "end": 19019, "loc": { "start": { "line": 560, "column": 20 }, "end": { "line": 560, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19019, "end": 19020, "loc": { "start": { "line": 560, "column": 21 }, "end": { "line": 560, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19020, "end": 19021, "loc": { "start": { "line": 560, "column": 22 }, "end": { "line": 560, "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": 19029, "end": 19031, "loc": { "start": { "line": 562, "column": 4 }, "end": { "line": 562, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19031, "end": 19032, "loc": { "start": { "line": 562, "column": 6 }, "end": { "line": 562, "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": 19032, "end": 19038, "loc": { "start": { "line": 562, "column": 7 }, "end": { "line": 562, "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": 19039, "end": 19043, "loc": { "start": { "line": 562, "column": 14 }, "end": { "line": 562, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19043, "end": 19044, "loc": { "start": { "line": 562, "column": 18 }, "end": { "line": 562, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19044, "end": 19051, "loc": { "start": { "line": 562, "column": 19 }, "end": { "line": 562, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19051, "end": 19052, "loc": { "start": { "line": 562, "column": 26 }, "end": { "line": 562, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 19052, "end": 19058, "loc": { "start": { "line": 562, "column": 27 }, "end": { "line": 562, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19059, "end": 19062, "loc": { "start": { "line": 562, "column": 34 }, "end": { "line": 562, "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": 19063, "end": 19073, "loc": { "start": { "line": 562, "column": 38 }, "end": { "line": 562, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19073, "end": 19074, "loc": { "start": { "line": 562, "column": 48 }, "end": { "line": 562, "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": 19082, "end": 19086, "loc": { "start": { "line": 563, "column": 6 }, "end": { "line": 563, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19086, "end": 19087, "loc": { "start": { "line": 563, "column": 10 }, "end": { "line": 563, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19087, "end": 19094, "loc": { "start": { "line": 563, "column": 11 }, "end": { "line": 563, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19094, "end": 19095, "loc": { "start": { "line": 563, "column": 18 }, "end": { "line": 563, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 19095, "end": 19101, "loc": { "start": { "line": 563, "column": 19 }, "end": { "line": 563, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19101, "end": 19102, "loc": { "start": { "line": 563, "column": 25 }, "end": { "line": 563, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19102, "end": 19103, "loc": { "start": { "line": 563, "column": 26 }, "end": { "line": 563, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19103, "end": 19104, "loc": { "start": { "line": 563, "column": 27 }, "end": { "line": 563, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19108, "end": 19109, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 564, "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": 19115, "end": 19233, "loc": { "start": { "line": 566, "column": 2 }, "end": { "line": 568, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19237, "end": 19245, "loc": { "start": { "line": 569, "column": 2 }, "end": { "line": 569, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19245, "end": 19246, "loc": { "start": { "line": 569, "column": 10 }, "end": { "line": 569, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19246, "end": 19247, "loc": { "start": { "line": 569, "column": 11 }, "end": { "line": 569, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19247, "end": 19248, "loc": { "start": { "line": 569, "column": 12 }, "end": { "line": 569, "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": 19254, "end": 19256, "loc": { "start": { "line": 570, "column": 4 }, "end": { "line": 570, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19256, "end": 19257, "loc": { "start": { "line": 570, "column": 6 }, "end": { "line": 570, "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": 19257, "end": 19263, "loc": { "start": { "line": 570, "column": 7 }, "end": { "line": 570, "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": 19264, "end": 19268, "loc": { "start": { "line": 570, "column": 14 }, "end": { "line": 570, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19268, "end": 19269, "loc": { "start": { "line": 570, "column": 18 }, "end": { "line": 570, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19269, "end": 19276, "loc": { "start": { "line": 570, "column": 19 }, "end": { "line": 570, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19276, "end": 19277, "loc": { "start": { "line": 570, "column": 26 }, "end": { "line": 570, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19277, "end": 19285, "loc": { "start": { "line": 570, "column": 27 }, "end": { "line": 570, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19286, "end": 19289, "loc": { "start": { "line": 570, "column": 36 }, "end": { "line": 570, "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": 19290, "end": 19300, "loc": { "start": { "line": 570, "column": 40 }, "end": { "line": 570, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19300, "end": 19301, "loc": { "start": { "line": 570, "column": 50 }, "end": { "line": 570, "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": 19309, "end": 19313, "loc": { "start": { "line": 571, "column": 6 }, "end": { "line": 571, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19313, "end": 19314, "loc": { "start": { "line": 571, "column": 10 }, "end": { "line": 571, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19314, "end": 19321, "loc": { "start": { "line": 571, "column": 11 }, "end": { "line": 571, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19321, "end": 19322, "loc": { "start": { "line": 571, "column": 18 }, "end": { "line": 571, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19322, "end": 19330, "loc": { "start": { "line": 571, "column": 19 }, "end": { "line": 571, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19330, "end": 19331, "loc": { "start": { "line": 571, "column": 27 }, "end": { "line": 571, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19331, "end": 19332, "loc": { "start": { "line": 571, "column": 28 }, "end": { "line": 571, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19332, "end": 19333, "loc": { "start": { "line": 571, "column": 29 }, "end": { "line": 571, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19337, "end": 19338, "loc": { "start": { "line": 572, "column": 2 }, "end": { "line": 572, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19343, "end": 19422, "loc": { "start": { "line": 574, "column": 1 }, "end": { "line": 576, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19426, "end": 19441, "loc": { "start": { "line": 577, "column": 2 }, "end": { "line": 577, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19441, "end": 19442, "loc": { "start": { "line": 577, "column": 17 }, "end": { "line": 577, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19442, "end": 19443, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19443, "end": 19444, "loc": { "start": { "line": 577, "column": 19 }, "end": { "line": 577, "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": 19450, "end": 19452, "loc": { "start": { "line": 578, "column": 4 }, "end": { "line": 578, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19452, "end": 19453, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "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": 19453, "end": 19459, "loc": { "start": { "line": 578, "column": 7 }, "end": { "line": 578, "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": 19460, "end": 19464, "loc": { "start": { "line": 578, "column": 14 }, "end": { "line": 578, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19464, "end": 19465, "loc": { "start": { "line": 578, "column": 18 }, "end": { "line": 578, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19465, "end": 19472, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19472, "end": 19473, "loc": { "start": { "line": 578, "column": 26 }, "end": { "line": 578, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19473, "end": 19488, "loc": { "start": { "line": 578, "column": 27 }, "end": { "line": 578, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19489, "end": 19492, "loc": { "start": { "line": 578, "column": 43 }, "end": { "line": 578, "column": 46 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "function", "start": 19493, "end": 19503, "loc": { "start": { "line": 578, "column": 47 }, "end": { "line": 578, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19503, "end": 19504, "loc": { "start": { "line": 578, "column": 57 }, "end": { "line": 578, "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": 19512, "end": 19516, "loc": { "start": { "line": 579, "column": 6 }, "end": { "line": 579, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19516, "end": 19517, "loc": { "start": { "line": 579, "column": 10 }, "end": { "line": 579, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19517, "end": 19524, "loc": { "start": { "line": 579, "column": 11 }, "end": { "line": 579, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19524, "end": 19525, "loc": { "start": { "line": 579, "column": 18 }, "end": { "line": 579, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19525, "end": 19540, "loc": { "start": { "line": 579, "column": 19 }, "end": { "line": 579, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19540, "end": 19541, "loc": { "start": { "line": 579, "column": 34 }, "end": { "line": 579, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19541, "end": 19542, "loc": { "start": { "line": 579, "column": 35 }, "end": { "line": 579, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19542, "end": 19543, "loc": { "start": { "line": 579, "column": 36 }, "end": { "line": 579, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19547, "end": 19548, "loc": { "start": { "line": 580, "column": 2 }, "end": { "line": 580, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 19554, "end": 19586, "loc": { "start": { "line": 582, "column": 2 }, "end": { "line": 584, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerModule", "start": 19590, "end": 19604, "loc": { "start": { "line": 585, "column": 2 }, "end": { "line": 585, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19605, "end": 19606, "loc": { "start": { "line": 585, "column": 17 }, "end": { "line": 585, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19607, "end": 19608, "loc": { "start": { "line": 585, "column": 19 }, "end": { "line": 585, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19608, "end": 19612, "loc": { "start": { "line": 585, "column": 20 }, "end": { "line": 585, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19612, "end": 19613, "loc": { "start": { "line": 585, "column": 24 }, "end": { "line": 585, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 19614, "end": 19626, "loc": { "start": { "line": 585, "column": 26 }, "end": { "line": 585, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19626, "end": 19627, "loc": { "start": { "line": 585, "column": 38 }, "end": { "line": 585, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19628, "end": 19630, "loc": { "start": { "line": 585, "column": 40 }, "end": { "line": 585, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19631, "end": 19632, "loc": { "start": { "line": 585, "column": 43 }, "end": { "line": 585, "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": 19638, "end": 19640, "loc": { "start": { "line": 586, "column": 4 }, "end": { "line": 586, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19640, "end": 19641, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "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": 19641, "end": 19642, "loc": { "start": { "line": 586, "column": 7 }, "end": { "line": 586, "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": 19642, "end": 19646, "loc": { "start": { "line": 586, "column": 8 }, "end": { "line": 586, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19646, "end": 19647, "loc": { "start": { "line": 586, "column": 12 }, "end": { "line": 586, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19647, "end": 19654, "loc": { "start": { "line": 586, "column": 13 }, "end": { "line": 586, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19654, "end": 19655, "loc": { "start": { "line": 586, "column": 20 }, "end": { "line": 586, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19655, "end": 19659, "loc": { "start": { "line": 586, "column": 21 }, "end": { "line": 586, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19659, "end": 19660, "loc": { "start": { "line": 586, "column": 25 }, "end": { "line": 586, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19660, "end": 19661, "loc": { "start": { "line": 586, "column": 26 }, "end": { "line": 586, "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": 19669, "end": 19673, "loc": { "start": { "line": 587, "column": 6 }, "end": { "line": 587, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19673, "end": 19674, "loc": { "start": { "line": 587, "column": 10 }, "end": { "line": 587, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19674, "end": 19681, "loc": { "start": { "line": 587, "column": 11 }, "end": { "line": 587, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19681, "end": 19682, "loc": { "start": { "line": 587, "column": 18 }, "end": { "line": 587, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19682, "end": 19686, "loc": { "start": { "line": 587, "column": 19 }, "end": { "line": 587, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19686, "end": 19687, "loc": { "start": { "line": 587, "column": 23 }, "end": { "line": 587, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19688, "end": 19689, "loc": { "start": { "line": 587, "column": 25 }, "end": { "line": 587, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19690, "end": 19691, "loc": { "start": { "line": 587, "column": 27 }, "end": { "line": 587, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19691, "end": 19692, "loc": { "start": { "line": 587, "column": 28 }, "end": { "line": 587, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19692, "end": 19693, "loc": { "start": { "line": 587, "column": 29 }, "end": { "line": 587, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 19701, "end": 19713, "loc": { "start": { "line": 589, "column": 4 }, "end": { "line": 589, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19713, "end": 19714, "loc": { "start": { "line": 589, "column": 16 }, "end": { "line": 589, "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": 19714, "end": 19718, "loc": { "start": { "line": 589, "column": 17 }, "end": { "line": 589, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19718, "end": 19719, "loc": { "start": { "line": 589, "column": 21 }, "end": { "line": 589, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19719, "end": 19726, "loc": { "start": { "line": 589, "column": 22 }, "end": { "line": 589, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19726, "end": 19727, "loc": { "start": { "line": 589, "column": 29 }, "end": { "line": 589, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19727, "end": 19731, "loc": { "start": { "line": 589, "column": 30 }, "end": { "line": 589, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19731, "end": 19732, "loc": { "start": { "line": 589, "column": 34 }, "end": { "line": 589, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19732, "end": 19733, "loc": { "start": { "line": 589, "column": 35 }, "end": { "line": 589, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19733, "end": 19734, "loc": { "start": { "line": 589, "column": 36 }, "end": { "line": 589, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19738, "end": 19739, "loc": { "start": { "line": 590, "column": 2 }, "end": { "line": 590, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 19745, "end": 19774, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 594, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 19778, "end": 19789, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19789, "end": 19790, "loc": { "start": { "line": 595, "column": 13 }, "end": { "line": 595, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19790, "end": 19791, "loc": { "start": { "line": 595, "column": 14 }, "end": { "line": 595, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19791, "end": 19792, "loc": { "start": { "line": 595, "column": 15 }, "end": { "line": 595, "column": 16 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19798, "end": 19800, "loc": { "start": { "line": 596, "column": 4 }, "end": { "line": 596, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19800, "end": 19801, "loc": { "start": { "line": 596, "column": 6 }, "end": { "line": 596, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 19801, "end": 19806, "loc": { "start": { "line": 596, "column": 7 }, "end": { "line": 596, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19806, "end": 19807, "loc": { "start": { "line": 596, "column": 12 }, "end": { "line": 596, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 19807, "end": 19814, "loc": { "start": { "line": 596, "column": 13 }, "end": { "line": 596, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19814, "end": 19815, "loc": { "start": { "line": 596, "column": 20 }, "end": { "line": 596, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19815, "end": 19819, "loc": { "start": { "line": 596, "column": 21 }, "end": { "line": 596, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19819, "end": 19820, "loc": { "start": { "line": 596, "column": 25 }, "end": { "line": 596, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19820, "end": 19827, "loc": { "start": { "line": 596, "column": 26 }, "end": { "line": 596, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19827, "end": 19828, "loc": { "start": { "line": 596, "column": 33 }, "end": { "line": 596, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19828, "end": 19835, "loc": { "start": { "line": 596, "column": 34 }, "end": { "line": 596, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19835, "end": 19836, "loc": { "start": { "line": 596, "column": 41 }, "end": { "line": 596, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19836, "end": 19837, "loc": { "start": { "line": 596, "column": 42 }, "end": { "line": 596, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19837, "end": 19838, "loc": { "start": { "line": 596, "column": 43 }, "end": { "line": 596, "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": 19846, "end": 19850, "loc": { "start": { "line": 597, "column": 6 }, "end": { "line": 597, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19850, "end": 19851, "loc": { "start": { "line": 597, "column": 10 }, "end": { "line": 597, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19851, "end": 19858, "loc": { "start": { "line": 597, "column": 11 }, "end": { "line": 597, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19858, "end": 19859, "loc": { "start": { "line": 597, "column": 18 }, "end": { "line": 597, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 19859, "end": 19866, "loc": { "start": { "line": 597, "column": 19 }, "end": { "line": 597, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19866, "end": 19867, "loc": { "start": { "line": 597, "column": 26 }, "end": { "line": 597, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 19867, "end": 19874, "loc": { "start": { "line": 597, "column": 27 }, "end": { "line": 597, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19874, "end": 19875, "loc": { "start": { "line": 597, "column": 34 }, "end": { "line": 597, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 19875, "end": 19881, "loc": { "start": { "line": 597, "column": 35 }, "end": { "line": 597, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19882, "end": 19884, "loc": { "start": { "line": 597, "column": 42 }, "end": { "line": 597, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19885, "end": 19886, "loc": { "start": { "line": 597, "column": 45 }, "end": { "line": 597, "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": 19896, "end": 19899, "loc": { "start": { "line": 598, "column": 8 }, "end": { "line": 598, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19900, "end": 19906, "loc": { "start": { "line": 598, "column": 12 }, "end": { "line": 598, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19907, "end": 19908, "loc": { "start": { "line": 598, "column": 19 }, "end": { "line": 598, "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": 19909, "end": 19912, "loc": { "start": { "line": 598, "column": 21 }, "end": { "line": 598, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 19913, "end": 19919, "loc": { "start": { "line": 598, "column": 25 }, "end": { "line": 598, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19919, "end": 19920, "loc": { "start": { "line": 598, "column": 31 }, "end": { "line": 598, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19920, "end": 19921, "loc": { "start": { "line": 598, "column": 32 }, "end": { "line": 598, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19921, "end": 19922, "loc": { "start": { "line": 598, "column": 33 }, "end": { "line": 598, "column": 34 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 19934, "end": 19960, "loc": { "start": { "line": 600, "column": 8 }, "end": { "line": 600, "column": 34 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 19970, "end": 19972, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19972, "end": 19973, "loc": { "start": { "line": 601, "column": 10 }, "end": { "line": 601, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 19973, "end": 19979, "loc": { "start": { "line": 601, "column": 11 }, "end": { "line": 601, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19979, "end": 19980, "loc": { "start": { "line": 601, "column": 17 }, "end": { "line": 601, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 19980, "end": 19991, "loc": { "start": { "line": 601, "column": 18 }, "end": { "line": 601, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19991, "end": 19992, "loc": { "start": { "line": 601, "column": 29 }, "end": { "line": 601, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 19992, "end": 19996, "loc": { "start": { "line": 601, "column": 30 }, "end": { "line": 601, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 19997, "end": 19999, "loc": { "start": { "line": 601, "column": 35 }, "end": { "line": 601, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20000, "end": 20006, "loc": { "start": { "line": 601, "column": 38 }, "end": { "line": 601, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20006, "end": 20007, "loc": { "start": { "line": 601, "column": 44 }, "end": { "line": 601, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 20007, "end": 20018, "loc": { "start": { "line": 601, "column": 45 }, "end": { "line": 601, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20018, "end": 20019, "loc": { "start": { "line": 601, "column": 56 }, "end": { "line": 601, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20019, "end": 20023, "loc": { "start": { "line": 601, "column": 57 }, "end": { "line": 601, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 20024, "end": 20027, "loc": { "start": { "line": 601, "column": 62 }, "end": { "line": 601, "column": 65 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Function", "start": 20028, "end": 20038, "loc": { "start": { "line": 601, "column": 66 }, "end": { "line": 601, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20038, "end": 20039, "loc": { "start": { "line": 601, "column": 76 }, "end": { "line": 601, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20039, "end": 20040, "loc": { "start": { "line": 601, "column": 77 }, "end": { "line": 601, "column": 78 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 20052, "end": 20055, "loc": { "start": { "line": 602, "column": 10 }, "end": { "line": 602, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 20056, "end": 20064, "loc": { "start": { "line": 602, "column": 14 }, "end": { "line": 602, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20065, "end": 20066, "loc": { "start": { "line": 602, "column": 23 }, "end": { "line": 602, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20067, "end": 20068, "loc": { "start": { "line": 602, "column": 25 }, "end": { "line": 602, "column": 26 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "module-", "start": 20068, "end": 20075, "loc": { "start": { "line": 602, "column": 26 }, "end": { "line": 602, "column": 33 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20075, "end": 20077, "loc": { "start": { "line": 602, "column": 33 }, "end": { "line": 602, "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": 20077, "end": 20081, "loc": { "start": { "line": 602, "column": 35 }, "end": { "line": 602, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20081, "end": 20082, "loc": { "start": { "line": 602, "column": 39 }, "end": { "line": 602, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 20082, "end": 20091, "loc": { "start": { "line": 602, "column": 40 }, "end": { "line": 602, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20091, "end": 20092, "loc": { "start": { "line": 602, "column": 49 }, "end": { "line": 602, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 20092, "end": 20101, "loc": { "start": { "line": 602, "column": 50 }, "end": { "line": 602, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20101, "end": 20102, "loc": { "start": { "line": 602, "column": 59 }, "end": { "line": 602, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20102, "end": 20108, "loc": { "start": { "line": 602, "column": 60 }, "end": { "line": 602, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20108, "end": 20109, "loc": { "start": { "line": 602, "column": 66 }, "end": { "line": 602, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 20109, "end": 20120, "loc": { "start": { "line": 602, "column": 67 }, "end": { "line": 602, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20120, "end": 20121, "loc": { "start": { "line": 602, "column": 78 }, "end": { "line": 602, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20121, "end": 20125, "loc": { "start": { "line": 602, "column": 79 }, "end": { "line": 602, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20125, "end": 20126, "loc": { "start": { "line": 602, "column": 83 }, "end": { "line": 602, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20126, "end": 20127, "loc": { "start": { "line": 602, "column": 84 }, "end": { "line": 602, "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": 20127, "end": 20127, "loc": { "start": { "line": 602, "column": 85 }, "end": { "line": 602, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20127, "end": 20128, "loc": { "start": { "line": 602, "column": 85 }, "end": { "line": 602, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20128, "end": 20129, "loc": { "start": { "line": 602, "column": 86 }, "end": { "line": 602, "column": 87 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20141, "end": 20145, "loc": { "start": { "line": 603, "column": 10 }, "end": { "line": 603, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20145, "end": 20146, "loc": { "start": { "line": 603, "column": 14 }, "end": { "line": 603, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20146, "end": 20167, "loc": { "start": { "line": 603, "column": 15 }, "end": { "line": 603, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20168, "end": 20169, "loc": { "start": { "line": 603, "column": 37 }, "end": { "line": 603, "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": 20170, "end": 20174, "loc": { "start": { "line": 603, "column": 39 }, "end": { "line": 603, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20174, "end": 20175, "loc": { "start": { "line": 603, "column": 43 }, "end": { "line": 603, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20175, "end": 20196, "loc": { "start": { "line": 603, "column": 44 }, "end": { "line": 603, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20197, "end": 20198, "loc": { "start": { "line": 603, "column": 66 }, "end": { "line": 603, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20199, "end": 20200, "loc": { "start": { "line": 603, "column": 68 }, "end": { "line": 603, "column": 69 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 20200, "end": 20201, "loc": { "start": { "line": 603, "column": 69 }, "end": { "line": 603, "column": 70 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20201, "end": 20203, "loc": { "start": { "line": 603, "column": 70 }, "end": { "line": 603, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 20203, "end": 20211, "loc": { "start": { "line": 603, "column": 72 }, "end": { "line": 603, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20211, "end": 20212, "loc": { "start": { "line": 603, "column": 80 }, "end": { "line": 603, "column": 81 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 20212, "end": 20212, "loc": { "start": { "line": 603, "column": 81 }, "end": { "line": 603, "column": 81 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20212, "end": 20213, "loc": { "start": { "line": 603, "column": 81 }, "end": { "line": 603, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20213, "end": 20214, "loc": { "start": { "line": 603, "column": 82 }, "end": { "line": 603, "column": 83 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20224, "end": 20225, "loc": { "start": { "line": 604, "column": 8 }, "end": { "line": 604, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20237, "end": 20243, "loc": { "start": { "line": 606, "column": 8 }, "end": { "line": 606, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20243, "end": 20244, "loc": { "start": { "line": 606, "column": 14 }, "end": { "line": 606, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 20244, "end": 20248, "loc": { "start": { "line": 606, "column": 15 }, "end": { "line": 606, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20248, "end": 20249, "loc": { "start": { "line": 606, "column": 19 }, "end": { "line": 606, "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": 20249, "end": 20253, "loc": { "start": { "line": 606, "column": 20 }, "end": { "line": 606, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20253, "end": 20254, "loc": { "start": { "line": 606, "column": 24 }, "end": { "line": 606, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20254, "end": 20255, "loc": { "start": { "line": 606, "column": 25 }, "end": { "line": 606, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20263, "end": 20264, "loc": { "start": { "line": 607, "column": 6 }, "end": { "line": 607, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20264, "end": 20265, "loc": { "start": { "line": 607, "column": 7 }, "end": { "line": 607, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20265, "end": 20266, "loc": { "start": { "line": 607, "column": 8 }, "end": { "line": 607, "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": 20276, "end": 20280, "loc": { "start": { "line": 609, "column": 6 }, "end": { "line": 609, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20280, "end": 20281, "loc": { "start": { "line": 609, "column": 10 }, "end": { "line": 609, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20281, "end": 20302, "loc": { "start": { "line": 609, "column": 11 }, "end": { "line": 609, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20303, "end": 20304, "loc": { "start": { "line": 609, "column": 33 }, "end": { "line": 609, "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": 20305, "end": 20309, "loc": { "start": { "line": 609, "column": 35 }, "end": { "line": 609, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20309, "end": 20310, "loc": { "start": { "line": 609, "column": 39 }, "end": { "line": 609, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20310, "end": 20331, "loc": { "start": { "line": 609, "column": 40 }, "end": { "line": 609, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20332, "end": 20333, "loc": { "start": { "line": 609, "column": 62 }, "end": { "line": 609, "column": 63 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " modules-loaded", "start": 20334, "end": 20351, "loc": { "start": { "line": 609, "column": 64 }, "end": { "line": 609, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20351, "end": 20352, "loc": { "start": { "line": 609, "column": 81 }, "end": { "line": 609, "column": 82 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20362, "end": 20366, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20366, "end": 20367, "loc": { "start": { "line": 611, "column": 10 }, "end": { "line": 611, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 20367, "end": 20373, "loc": { "start": { "line": 611, "column": 11 }, "end": { "line": 611, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20373, "end": 20374, "loc": { "start": { "line": 611, "column": 17 }, "end": { "line": 611, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20374, "end": 20375, "loc": { "start": { "line": 611, "column": 18 }, "end": { "line": 611, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20375, "end": 20376, "loc": { "start": { "line": 611, "column": 19 }, "end": { "line": 611, "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": 20384, "end": 20388, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20388, "end": 20389, "loc": { "start": { "line": 612, "column": 10 }, "end": { "line": 612, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 20389, "end": 20404, "loc": { "start": { "line": 612, "column": 11 }, "end": { "line": 612, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20404, "end": 20405, "loc": { "start": { "line": 612, "column": 26 }, "end": { "line": 612, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20405, "end": 20406, "loc": { "start": { "line": 612, "column": 27 }, "end": { "line": 612, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20406, "end": 20407, "loc": { "start": { "line": 612, "column": 28 }, "end": { "line": 612, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20413, "end": 20414, "loc": { "start": { "line": 613, "column": 4 }, "end": { "line": 613, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20418, "end": 20419, "loc": { "start": { "line": 614, "column": 2 }, "end": { "line": 614, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20425, "end": 20457, "loc": { "start": { "line": 616, "column": 2 }, "end": { "line": 618, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModuleProp", "start": 20461, "end": 20474, "loc": { "start": { "line": 619, "column": 2 }, "end": { "line": 619, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20475, "end": 20476, "loc": { "start": { "line": 619, "column": 16 }, "end": { "line": 619, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20477, "end": 20478, "loc": { "start": { "line": 619, "column": 18 }, "end": { "line": 619, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20478, "end": 20482, "loc": { "start": { "line": 619, "column": 19 }, "end": { "line": 619, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20482, "end": 20483, "loc": { "start": { "line": 619, "column": 23 }, "end": { "line": 619, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 20484, "end": 20488, "loc": { "start": { "line": 619, "column": 25 }, "end": { "line": 619, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20488, "end": 20489, "loc": { "start": { "line": 619, "column": 29 }, "end": { "line": 619, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20490, "end": 20492, "loc": { "start": { "line": 619, "column": 31 }, "end": { "line": 619, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20493, "end": 20494, "loc": { "start": { "line": 619, "column": 34 }, "end": { "line": 619, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 20500, "end": 20502, "loc": { "start": { "line": 620, "column": 4 }, "end": { "line": 620, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20502, "end": 20503, "loc": { "start": { "line": 620, "column": 6 }, "end": { "line": 620, "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": 20503, "end": 20504, "loc": { "start": { "line": 620, "column": 7 }, "end": { "line": 620, "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": 20504, "end": 20508, "loc": { "start": { "line": 620, "column": 8 }, "end": { "line": 620, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20508, "end": 20509, "loc": { "start": { "line": 620, "column": 12 }, "end": { "line": 620, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20509, "end": 20516, "loc": { "start": { "line": 620, "column": 13 }, "end": { "line": 620, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20516, "end": 20517, "loc": { "start": { "line": 620, "column": 20 }, "end": { "line": 620, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20517, "end": 20521, "loc": { "start": { "line": 620, "column": 21 }, "end": { "line": 620, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20521, "end": 20522, "loc": { "start": { "line": 620, "column": 25 }, "end": { "line": 620, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20522, "end": 20523, "loc": { "start": { "line": 620, "column": 26 }, "end": { "line": 620, "column": 27 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 20531, "end": 20537, "loc": { "start": { "line": 621, "column": 6 }, "end": { "line": 621, "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": 20538, "end": 20543, "loc": { "start": { "line": 621, "column": 13 }, "end": { "line": 621, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20543, "end": 20544, "loc": { "start": { "line": 621, "column": 18 }, "end": { "line": 621, "column": 19 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 20556, "end": 20562, "loc": { "start": { "line": 623, "column": 4 }, "end": { "line": 623, "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": 20563, "end": 20567, "loc": { "start": { "line": 623, "column": 11 }, "end": { "line": 623, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20567, "end": 20568, "loc": { "start": { "line": 623, "column": 15 }, "end": { "line": 623, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20568, "end": 20575, "loc": { "start": { "line": 623, "column": 16 }, "end": { "line": 623, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20575, "end": 20576, "loc": { "start": { "line": 623, "column": 23 }, "end": { "line": 623, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20576, "end": 20580, "loc": { "start": { "line": 623, "column": 24 }, "end": { "line": 623, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20580, "end": 20581, "loc": { "start": { "line": 623, "column": 28 }, "end": { "line": 623, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20581, "end": 20582, "loc": { "start": { "line": 623, "column": 29 }, "end": { "line": 623, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 20582, "end": 20586, "loc": { "start": { "line": 623, "column": 30 }, "end": { "line": 623, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20586, "end": 20587, "loc": { "start": { "line": 623, "column": 34 }, "end": { "line": 623, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20587, "end": 20588, "loc": { "start": { "line": 623, "column": 35 }, "end": { "line": 623, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20592, "end": 20593, "loc": { "start": { "line": 624, "column": 2 }, "end": { "line": 624, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 20599, "end": 20630, "loc": { "start": { "line": 626, "column": 2 }, "end": { "line": 628, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModulesList", "start": 20634, "end": 20648, "loc": { "start": { "line": 629, "column": 2 }, "end": { "line": 629, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20649, "end": 20650, "loc": { "start": { "line": 629, "column": 17 }, "end": { "line": 629, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20651, "end": 20652, "loc": { "start": { "line": 629, "column": 19 }, "end": { "line": 629, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20652, "end": 20653, "loc": { "start": { "line": 629, "column": 20 }, "end": { "line": 629, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20654, "end": 20656, "loc": { "start": { "line": 629, "column": 22 }, "end": { "line": 629, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20657, "end": 20658, "loc": { "start": { "line": 629, "column": 25 }, "end": { "line": 629, "column": 26 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 20664, "end": 20670, "loc": { "start": { "line": 630, "column": 4 }, "end": { "line": 630, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 20671, "end": 20677, "loc": { "start": { "line": 630, "column": 11 }, "end": { "line": 630, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20677, "end": 20678, "loc": { "start": { "line": 630, "column": 17 }, "end": { "line": 630, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 20678, "end": 20682, "loc": { "start": { "line": 630, "column": 18 }, "end": { "line": 630, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20682, "end": 20683, "loc": { "start": { "line": 630, "column": 22 }, "end": { "line": 630, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 20683, "end": 20687, "loc": { "start": { "line": 630, "column": 23 }, "end": { "line": 630, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20687, "end": 20688, "loc": { "start": { "line": 630, "column": 27 }, "end": { "line": 630, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20688, "end": 20695, "loc": { "start": { "line": 630, "column": 28 }, "end": { "line": 630, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20695, "end": 20696, "loc": { "start": { "line": 630, "column": 35 }, "end": { "line": 630, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20696, "end": 20697, "loc": { "start": { "line": 630, "column": 36 }, "end": { "line": 630, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20701, "end": 20702, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 631, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 20708, "end": 20764, "loc": { "start": { "line": 633, "column": 2 }, "end": { "line": 635, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 20768, "end": 20774, "loc": { "start": { "line": 636, "column": 2 }, "end": { "line": 636, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20774, "end": 20775, "loc": { "start": { "line": 636, "column": 8 }, "end": { "line": 636, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20775, "end": 20776, "loc": { "start": { "line": 636, "column": 9 }, "end": { "line": 636, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20776, "end": 20777, "loc": { "start": { "line": 636, "column": 10 }, "end": { "line": 636, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 20783, "end": 20818, "loc": { "start": { "line": 637, "column": 4 }, "end": { "line": 639, "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": 20824, "end": 20828, "loc": { "start": { "line": 640, "column": 4 }, "end": { "line": 640, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20828, "end": 20829, "loc": { "start": { "line": 640, "column": 8 }, "end": { "line": 640, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 20829, "end": 20834, "loc": { "start": { "line": 640, "column": 9 }, "end": { "line": 640, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20834, "end": 20835, "loc": { "start": { "line": 640, "column": 14 }, "end": { "line": 640, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20835, "end": 20836, "loc": { "start": { "line": 640, "column": 15 }, "end": { "line": 640, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20836, "end": 20837, "loc": { "start": { "line": 640, "column": 16 }, "end": { "line": 640, "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": 20845, "end": 20848, "loc": { "start": { "line": 642, "column": 4 }, "end": { "line": 642, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 20849, "end": 20860, "loc": { "start": { "line": 642, "column": 8 }, "end": { "line": 642, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20861, "end": 20862, "loc": { "start": { "line": 642, "column": 20 }, "end": { "line": 642, "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": 20863, "end": 20867, "loc": { "start": { "line": 642, "column": 22 }, "end": { "line": 642, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20867, "end": 20868, "loc": { "start": { "line": 642, "column": 26 }, "end": { "line": 642, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20868, "end": 20875, "loc": { "start": { "line": 642, "column": 27 }, "end": { "line": 642, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20875, "end": 20876, "loc": { "start": { "line": 642, "column": 34 }, "end": { "line": 642, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20876, "end": 20882, "loc": { "start": { "line": 642, "column": 35 }, "end": { "line": 642, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20883, "end": 20884, "loc": { "start": { "line": 642, "column": 42 }, "end": { "line": 642, "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": 20885, "end": 20903, "loc": { "start": { "line": 642, "column": 44 }, "end": { "line": 642, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20904, "end": 20905, "loc": { "start": { "line": 642, "column": 63 }, "end": { "line": 642, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20906, "end": 20907, "loc": { "start": { "line": 642, "column": 65 }, "end": { "line": 642, "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": 20907, "end": 20917, "loc": { "start": { "line": 642, "column": 66 }, "end": { "line": 642, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20917, "end": 20919, "loc": { "start": { "line": 642, "column": 76 }, "end": { "line": 642, "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": 20919, "end": 20923, "loc": { "start": { "line": 642, "column": 78 }, "end": { "line": 642, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20923, "end": 20924, "loc": { "start": { "line": 642, "column": 82 }, "end": { "line": 642, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20924, "end": 20931, "loc": { "start": { "line": 642, "column": 83 }, "end": { "line": 642, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20931, "end": 20932, "loc": { "start": { "line": 642, "column": 90 }, "end": { "line": 642, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 20932, "end": 20942, "loc": { "start": { "line": 642, "column": 91 }, "end": { "line": 642, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20942, "end": 20943, "loc": { "start": { "line": 642, "column": 101 }, "end": { "line": 642, "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": 20943, "end": 20943, "loc": { "start": { "line": 642, "column": 102 }, "end": { "line": 642, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20943, "end": 20944, "loc": { "start": { "line": 642, "column": 102 }, "end": { "line": 642, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20944, "end": 20945, "loc": { "start": { "line": 642, "column": 103 }, "end": { "line": 642, "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": 20951, "end": 20954, "loc": { "start": { "line": 643, "column": 4 }, "end": { "line": 643, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20955, "end": 20961, "loc": { "start": { "line": 643, "column": 8 }, "end": { "line": 643, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20962, "end": 20963, "loc": { "start": { "line": 643, "column": 15 }, "end": { "line": 643, "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": 20964, "end": 20968, "loc": { "start": { "line": 643, "column": 17 }, "end": { "line": 643, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20968, "end": 20969, "loc": { "start": { "line": 643, "column": 21 }, "end": { "line": 643, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20969, "end": 20976, "loc": { "start": { "line": 643, "column": 22 }, "end": { "line": 643, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20976, "end": 20977, "loc": { "start": { "line": 643, "column": 29 }, "end": { "line": 643, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 20977, "end": 20983, "loc": { "start": { "line": 643, "column": 30 }, "end": { "line": 643, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 20984, "end": 20986, "loc": { "start": { "line": 643, "column": 37 }, "end": { "line": 643, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 20987, "end": 21001, "loc": { "start": { "line": 643, "column": 40 }, "end": { "line": 643, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21001, "end": 21002, "loc": { "start": { "line": 643, "column": 54 }, "end": { "line": 643, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 21002, "end": 21018, "loc": { "start": { "line": 643, "column": 55 }, "end": { "line": 643, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21018, "end": 21019, "loc": { "start": { "line": 643, "column": 71 }, "end": { "line": 643, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21019, "end": 21020, "loc": { "start": { "line": 643, "column": 72 }, "end": { "line": 643, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21020, "end": 21021, "loc": { "start": { "line": 643, "column": 73 }, "end": { "line": 643, "column": 74 } } }, { "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": 21027, "end": 21030, "loc": { "start": { "line": 644, "column": 4 }, "end": { "line": 644, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 21031, "end": 21045, "loc": { "start": { "line": 644, "column": 8 }, "end": { "line": 644, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21046, "end": 21047, "loc": { "start": { "line": 644, "column": 23 }, "end": { "line": 644, "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": 21048, "end": 21052, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21052, "end": 21053, "loc": { "start": { "line": 644, "column": 29 }, "end": { "line": 644, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21053, "end": 21060, "loc": { "start": { "line": 644, "column": 30 }, "end": { "line": 644, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21060, "end": 21061, "loc": { "start": { "line": 644, "column": 37 }, "end": { "line": 644, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 21061, "end": 21075, "loc": { "start": { "line": 644, "column": 38 }, "end": { "line": 644, "column": 52 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 21076, "end": 21078, "loc": { "start": { "line": 644, "column": 53 }, "end": { "line": 644, "column": 55 } } }, { "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": 21079, "end": 21084, "loc": { "start": { "line": 644, "column": 56 }, "end": { "line": 644, "column": 61 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21092, "end": 21144, "loc": { "start": { "line": 646, "column": 4 }, "end": { "line": 648, "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": 21150, "end": 21153, "loc": { "start": { "line": 649, "column": 4 }, "end": { "line": 649, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21154, "end": 21172, "loc": { "start": { "line": 649, "column": 8 }, "end": { "line": 649, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21173, "end": 21174, "loc": { "start": { "line": 649, "column": 27 }, "end": { "line": 649, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21175, "end": 21176, "loc": { "start": { "line": 649, "column": 29 }, "end": { "line": 649, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21176, "end": 21177, "loc": { "start": { "line": 649, "column": 30 }, "end": { "line": 649, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21177, "end": 21178, "loc": { "start": { "line": 649, "column": 31 }, "end": { "line": 649, "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": 21184, "end": 21186, "loc": { "start": { "line": 650, "column": 4 }, "end": { "line": 650, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21186, "end": 21187, "loc": { "start": { "line": 650, "column": 6 }, "end": { "line": 650, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 21187, "end": 21192, "loc": { "start": { "line": 650, "column": 7 }, "end": { "line": 650, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21192, "end": 21193, "loc": { "start": { "line": 650, "column": 12 }, "end": { "line": 650, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 21193, "end": 21200, "loc": { "start": { "line": 650, "column": 13 }, "end": { "line": 650, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21200, "end": 21201, "loc": { "start": { "line": 650, "column": 20 }, "end": { "line": 650, "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": 21201, "end": 21205, "loc": { "start": { "line": 650, "column": 21 }, "end": { "line": 650, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21205, "end": 21206, "loc": { "start": { "line": 650, "column": 25 }, "end": { "line": 650, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21206, "end": 21213, "loc": { "start": { "line": 650, "column": 26 }, "end": { "line": 650, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21213, "end": 21214, "loc": { "start": { "line": 650, "column": 33 }, "end": { "line": 650, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 21214, "end": 21225, "loc": { "start": { "line": 650, "column": 34 }, "end": { "line": 650, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21225, "end": 21226, "loc": { "start": { "line": 650, "column": 45 }, "end": { "line": 650, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21226, "end": 21227, "loc": { "start": { "line": 650, "column": 46 }, "end": { "line": 650, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21227, "end": 21228, "loc": { "start": { "line": 650, "column": 47 }, "end": { "line": 650, "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": 21236, "end": 21240, "loc": { "start": { "line": 651, "column": 6 }, "end": { "line": 651, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21240, "end": 21241, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 651, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21241, "end": 21248, "loc": { "start": { "line": 651, "column": 11 }, "end": { "line": 651, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21248, "end": 21249, "loc": { "start": { "line": 651, "column": 18 }, "end": { "line": 651, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 21249, "end": 21260, "loc": { "start": { "line": 651, "column": 19 }, "end": { "line": 651, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21260, "end": 21261, "loc": { "start": { "line": 651, "column": 30 }, "end": { "line": 651, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21261, "end": 21268, "loc": { "start": { "line": 651, "column": 31 }, "end": { "line": 651, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21268, "end": 21269, "loc": { "start": { "line": 651, "column": 38 }, "end": { "line": 651, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21269, "end": 21277, "loc": { "start": { "line": 651, "column": 39 }, "end": { "line": 651, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21278, "end": 21280, "loc": { "start": { "line": 651, "column": 48 }, "end": { "line": 651, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21281, "end": 21282, "loc": { "start": { "line": 651, "column": 51 }, "end": { "line": 651, "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": 21292, "end": 21294, "loc": { "start": { "line": 652, "column": 8 }, "end": { "line": 652, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21294, "end": 21295, "loc": { "start": { "line": 652, "column": 10 }, "end": { "line": 652, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21295, "end": 21303, "loc": { "start": { "line": 652, "column": 11 }, "end": { "line": 652, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21303, "end": 21304, "loc": { "start": { "line": 652, "column": 19 }, "end": { "line": 652, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21304, "end": 21311, "loc": { "start": { "line": 652, "column": 20 }, "end": { "line": 652, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 21312, "end": 21314, "loc": { "start": { "line": 652, "column": 28 }, "end": { "line": 652, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21315, "end": 21323, "loc": { "start": { "line": 652, "column": 31 }, "end": { "line": 652, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21323, "end": 21324, "loc": { "start": { "line": 652, "column": 39 }, "end": { "line": 652, "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": 21324, "end": 21329, "loc": { "start": { "line": 652, "column": 40 }, "end": { "line": 652, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21329, "end": 21330, "loc": { "start": { "line": 652, "column": 45 }, "end": { "line": 652, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21330, "end": 21331, "loc": { "start": { "line": 652, "column": 46 }, "end": { "line": 652, "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": 21343, "end": 21346, "loc": { "start": { "line": 653, "column": 10 }, "end": { "line": 653, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21347, "end": 21359, "loc": { "start": { "line": 653, "column": 14 }, "end": { "line": 653, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21359, "end": 21360, "loc": { "start": { "line": 653, "column": 26 }, "end": { "line": 653, "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": 21374, "end": 21376, "loc": { "start": { "line": 655, "column": 10 }, "end": { "line": 655, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21376, "end": 21377, "loc": { "start": { "line": 655, "column": 12 }, "end": { "line": 655, "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": 21377, "end": 21383, "loc": { "start": { "line": 655, "column": 13 }, "end": { "line": 655, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21384, "end": 21392, "loc": { "start": { "line": 655, "column": 20 }, "end": { "line": 655, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21392, "end": 21393, "loc": { "start": { "line": 655, "column": 28 }, "end": { "line": 655, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21393, "end": 21400, "loc": { "start": { "line": 655, "column": 29 }, "end": { "line": 655, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 21401, "end": 21404, "loc": { "start": { "line": 655, "column": 37 }, "end": { "line": 655, "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": 21405, "end": 21413, "loc": { "start": { "line": 655, "column": 41 }, "end": { "line": 655, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21413, "end": 21414, "loc": { "start": { "line": 655, "column": 49 }, "end": { "line": 655, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21414, "end": 21415, "loc": { "start": { "line": 655, "column": 50 }, "end": { "line": 655, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21429, "end": 21441, "loc": { "start": { "line": 656, "column": 12 }, "end": { "line": 656, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21442, "end": 21443, "loc": { "start": { "line": 656, "column": 25 }, "end": { "line": 656, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21444, "end": 21452, "loc": { "start": { "line": 656, "column": 27 }, "end": { "line": 656, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21452, "end": 21453, "loc": { "start": { "line": 656, "column": 35 }, "end": { "line": 656, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21453, "end": 21460, "loc": { "start": { "line": 656, "column": 36 }, "end": { "line": 656, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21460, "end": 21461, "loc": { "start": { "line": 656, "column": 43 }, "end": { "line": 656, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21461, "end": 21466, "loc": { "start": { "line": 656, "column": 44 }, "end": { "line": 656, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21466, "end": 21467, "loc": { "start": { "line": 656, "column": 49 }, "end": { "line": 656, "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": 21467, "end": 21470, "loc": { "start": { "line": 656, "column": 50 }, "end": { "line": 656, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21470, "end": 21471, "loc": { "start": { "line": 656, "column": 53 }, "end": { "line": 656, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21471, "end": 21472, "loc": { "start": { "line": 656, "column": 54 }, "end": { "line": 656, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21484, "end": 21485, "loc": { "start": { "line": 657, "column": 10 }, "end": { "line": 657, "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": 21499, "end": 21501, "loc": { "start": { "line": 659, "column": 10 }, "end": { "line": 659, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21501, "end": 21502, "loc": { "start": { "line": 659, "column": 12 }, "end": { "line": 659, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21502, "end": 21514, "loc": { "start": { "line": 659, "column": 13 }, "end": { "line": 659, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21514, "end": 21515, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21515, "end": 21516, "loc": { "start": { "line": 659, "column": 26 }, "end": { "line": 659, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21530, "end": 21542, "loc": { "start": { "line": 660, "column": 12 }, "end": { "line": 660, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21542, "end": 21543, "loc": { "start": { "line": 660, "column": 24 }, "end": { "line": 660, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21543, "end": 21550, "loc": { "start": { "line": 660, "column": 25 }, "end": { "line": 660, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21550, "end": 21551, "loc": { "start": { "line": 660, "column": 32 }, "end": { "line": 660, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21551, "end": 21562, "loc": { "start": { "line": 660, "column": 33 }, "end": { "line": 660, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21563, "end": 21565, "loc": { "start": { "line": 660, "column": 45 }, "end": { "line": 660, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21566, "end": 21567, "loc": { "start": { "line": 660, "column": 48 }, "end": { "line": 660, "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": 21583, "end": 21586, "loc": { "start": { "line": 661, "column": 14 }, "end": { "line": 661, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21587, "end": 21598, "loc": { "start": { "line": 661, "column": 18 }, "end": { "line": 661, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21599, "end": 21600, "loc": { "start": { "line": 661, "column": 30 }, "end": { "line": 661, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21601, "end": 21619, "loc": { "start": { "line": 661, "column": 32 }, "end": { "line": 661, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21619, "end": 21620, "loc": { "start": { "line": 661, "column": 50 }, "end": { "line": 661, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21620, "end": 21631, "loc": { "start": { "line": 661, "column": 51 }, "end": { "line": 661, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21631, "end": 21632, "loc": { "start": { "line": 661, "column": 62 }, "end": { "line": 661, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21632, "end": 21633, "loc": { "start": { "line": 661, "column": 63 }, "end": { "line": 661, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 21651, "end": 21690, "loc": { "start": { "line": 663, "column": 14 }, "end": { "line": 663, "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": 21706, "end": 21708, "loc": { "start": { "line": 664, "column": 14 }, "end": { "line": 664, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21708, "end": 21709, "loc": { "start": { "line": 664, "column": 16 }, "end": { "line": 664, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21709, "end": 21720, "loc": { "start": { "line": 664, "column": 17 }, "end": { "line": 664, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21720, "end": 21721, "loc": { "start": { "line": 664, "column": 28 }, "end": { "line": 664, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21721, "end": 21722, "loc": { "start": { "line": 664, "column": 29 }, "end": { "line": 664, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 21740, "end": 21823, "loc": { "start": { "line": 665, "column": 16 }, "end": { "line": 665, "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": 21841, "end": 21843, "loc": { "start": { "line": 666, "column": 16 }, "end": { "line": 666, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21843, "end": 21844, "loc": { "start": { "line": 666, "column": 18 }, "end": { "line": 666, "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": 21844, "end": 21845, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "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": 21845, "end": 21849, "loc": { "start": { "line": 666, "column": 20 }, "end": { "line": 666, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21849, "end": 21850, "loc": { "start": { "line": 666, "column": 24 }, "end": { "line": 666, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 21850, "end": 21859, "loc": { "start": { "line": 666, "column": 25 }, "end": { "line": 666, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21859, "end": 21860, "loc": { "start": { "line": 666, "column": 34 }, "end": { "line": 666, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 21860, "end": 21872, "loc": { "start": { "line": 666, "column": 35 }, "end": { "line": 666, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21872, "end": 21873, "loc": { "start": { "line": 666, "column": 47 }, "end": { "line": 666, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21873, "end": 21884, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21884, "end": 21885, "loc": { "start": { "line": 666, "column": 59 }, "end": { "line": 666, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 21885, "end": 21890, "loc": { "start": { "line": 666, "column": 60 }, "end": { "line": 666, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21890, "end": 21891, "loc": { "start": { "line": 666, "column": 65 }, "end": { "line": 666, "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": 21891, "end": 21894, "loc": { "start": { "line": 666, "column": 66 }, "end": { "line": 666, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21894, "end": 21895, "loc": { "start": { "line": 666, "column": 69 }, "end": { "line": 666, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21895, "end": 21896, "loc": { "start": { "line": 666, "column": 70 }, "end": { "line": 666, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21897, "end": 21905, "loc": { "start": { "line": 666, "column": 72 }, "end": { "line": 666, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21905, "end": 21906, "loc": { "start": { "line": 666, "column": 80 }, "end": { "line": 666, "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": 21906, "end": 21911, "loc": { "start": { "line": 666, "column": 81 }, "end": { "line": 666, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21911, "end": 21912, "loc": { "start": { "line": 666, "column": 86 }, "end": { "line": 666, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21912, "end": 21913, "loc": { "start": { "line": 666, "column": 87 }, "end": { "line": 666, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21913, "end": 21914, "loc": { "start": { "line": 666, "column": 88 }, "end": { "line": 666, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21934, "end": 21952, "loc": { "start": { "line": 667, "column": 18 }, "end": { "line": 667, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21952, "end": 21953, "loc": { "start": { "line": 667, "column": 36 }, "end": { "line": 667, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 21953, "end": 21964, "loc": { "start": { "line": 667, "column": 37 }, "end": { "line": 667, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21964, "end": 21965, "loc": { "start": { "line": 667, "column": 48 }, "end": { "line": 667, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21966, "end": 21967, "loc": { "start": { "line": 667, "column": 50 }, "end": { "line": 667, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21968, "end": 21969, "loc": { "start": { "line": 667, "column": 52 }, "end": { "line": 667, "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": 21969, "end": 21969, "loc": { "start": { "line": 667, "column": 53 }, "end": { "line": 667, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21969, "end": 21971, "loc": { "start": { "line": 667, "column": 53 }, "end": { "line": 667, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 21971, "end": 21982, "loc": { "start": { "line": 667, "column": 55 }, "end": { "line": 667, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21982, "end": 21983, "loc": { "start": { "line": 667, "column": 66 }, "end": { "line": 667, "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": 21983, "end": 21984, "loc": { "start": { "line": 667, "column": 67 }, "end": { "line": 667, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21984, "end": 21986, "loc": { "start": { "line": 667, "column": 68 }, "end": { "line": 667, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21986, "end": 21994, "loc": { "start": { "line": 667, "column": 70 }, "end": { "line": 667, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21994, "end": 21995, "loc": { "start": { "line": 667, "column": 78 }, "end": { "line": 667, "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": 21995, "end": 22000, "loc": { "start": { "line": 667, "column": 79 }, "end": { "line": 667, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22000, "end": 22001, "loc": { "start": { "line": 667, "column": 84 }, "end": { "line": 667, "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": 22001, "end": 22001, "loc": { "start": { "line": 667, "column": 85 }, "end": { "line": 667, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22001, "end": 22002, "loc": { "start": { "line": 667, "column": 85 }, "end": { "line": 667, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22002, "end": 22003, "loc": { "start": { "line": 667, "column": 86 }, "end": { "line": 667, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22021, "end": 22022, "loc": { "start": { "line": 668, "column": 16 }, "end": { "line": 668, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22038, "end": 22039, "loc": { "start": { "line": 669, "column": 14 }, "end": { "line": 669, "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": 22040, "end": 22044, "loc": { "start": { "line": 669, "column": 16 }, "end": { "line": 669, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22045, "end": 22046, "loc": { "start": { "line": 669, "column": 21 }, "end": { "line": 669, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 22064, "end": 22082, "loc": { "start": { "line": 670, "column": 16 }, "end": { "line": 670, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22082, "end": 22083, "loc": { "start": { "line": 670, "column": 34 }, "end": { "line": 670, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 22083, "end": 22094, "loc": { "start": { "line": 670, "column": 35 }, "end": { "line": 670, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22094, "end": 22095, "loc": { "start": { "line": 670, "column": 46 }, "end": { "line": 670, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22096, "end": 22097, "loc": { "start": { "line": 670, "column": 48 }, "end": { "line": 670, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 22098, "end": 22106, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 670, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22106, "end": 22107, "loc": { "start": { "line": 670, "column": 58 }, "end": { "line": 670, "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": 22107, "end": 22112, "loc": { "start": { "line": 670, "column": 59 }, "end": { "line": 670, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22112, "end": 22113, "loc": { "start": { "line": 670, "column": 64 }, "end": { "line": 670, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22129, "end": 22130, "loc": { "start": { "line": 671, "column": 14 }, "end": { "line": 671, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22144, "end": 22145, "loc": { "start": { "line": 672, "column": 12 }, "end": { "line": 672, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22145, "end": 22146, "loc": { "start": { "line": 672, "column": 13 }, "end": { "line": 672, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22146, "end": 22147, "loc": { "start": { "line": 672, "column": 14 }, "end": { "line": 672, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22159, "end": 22160, "loc": { "start": { "line": 673, "column": 10 }, "end": { "line": 673, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22170, "end": 22171, "loc": { "start": { "line": 674, "column": 8 }, "end": { "line": 674, "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": 22172, "end": 22176, "loc": { "start": { "line": 674, "column": 10 }, "end": { "line": 674, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22177, "end": 22178, "loc": { "start": { "line": 674, "column": 15 }, "end": { "line": 674, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 22190, "end": 22197, "loc": { "start": { "line": 675, "column": 10 }, "end": { "line": 675, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22197, "end": 22198, "loc": { "start": { "line": 675, "column": 17 }, "end": { "line": 675, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 22198, "end": 22202, "loc": { "start": { "line": 675, "column": 18 }, "end": { "line": 675, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22202, "end": 22203, "loc": { "start": { "line": 675, "column": 22 }, "end": { "line": 675, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22203, "end": 22204, "loc": { "start": { "line": 675, "column": 23 }, "end": { "line": 675, "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": 22204, "end": 22292, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22292, "end": 22293, "loc": { "start": { "line": 675, "column": 112 }, "end": { "line": 675, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22293, "end": 22294, "loc": { "start": { "line": 675, "column": 113 }, "end": { "line": 675, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22304, "end": 22305, "loc": { "start": { "line": 676, "column": 8 }, "end": { "line": 676, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22313, "end": 22314, "loc": { "start": { "line": 677, "column": 6 }, "end": { "line": 677, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22314, "end": 22315, "loc": { "start": { "line": 677, "column": 7 }, "end": { "line": 677, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22315, "end": 22316, "loc": { "start": { "line": 677, "column": 8 }, "end": { "line": 677, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22322, "end": 22323, "loc": { "start": { "line": 678, "column": 4 }, "end": { "line": 678, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22331, "end": 22397, "loc": { "start": { "line": 680, "column": 4 }, "end": { "line": 682, "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": 22403, "end": 22407, "loc": { "start": { "line": 683, "column": 4 }, "end": { "line": 683, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22407, "end": 22408, "loc": { "start": { "line": 683, "column": 8 }, "end": { "line": 683, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 22408, "end": 22419, "loc": { "start": { "line": 683, "column": 9 }, "end": { "line": 683, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22419, "end": 22420, "loc": { "start": { "line": 683, "column": 20 }, "end": { "line": 683, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22420, "end": 22429, "loc": { "start": { "line": 683, "column": 21 }, "end": { "line": 683, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22430, "end": 22432, "loc": { "start": { "line": 683, "column": 31 }, "end": { "line": 683, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22433, "end": 22434, "loc": { "start": { "line": 683, "column": 34 }, "end": { "line": 683, "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": 22434, "end": 22435, "loc": { "start": { "line": 683, "column": 35 }, "end": { "line": 683, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22435, "end": 22437, "loc": { "start": { "line": 683, "column": 36 }, "end": { "line": 683, "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": 22437, "end": 22441, "loc": { "start": { "line": 683, "column": 38 }, "end": { "line": 683, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22441, "end": 22442, "loc": { "start": { "line": 683, "column": 42 }, "end": { "line": 683, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22442, "end": 22449, "loc": { "start": { "line": 683, "column": 43 }, "end": { "line": 683, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22449, "end": 22450, "loc": { "start": { "line": 683, "column": 50 }, "end": { "line": 683, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 22450, "end": 22455, "loc": { "start": { "line": 683, "column": 51 }, "end": { "line": 683, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22455, "end": 22456, "loc": { "start": { "line": 683, "column": 56 }, "end": { "line": 683, "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": 22456, "end": 22457, "loc": { "start": { "line": 683, "column": 57 }, "end": { "line": 683, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22457, "end": 22459, "loc": { "start": { "line": 683, "column": 58 }, "end": { "line": 683, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 22459, "end": 22470, "loc": { "start": { "line": 683, "column": 60 }, "end": { "line": 683, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22470, "end": 22471, "loc": { "start": { "line": 683, "column": 71 }, "end": { "line": 683, "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": 22471, "end": 22472, "loc": { "start": { "line": 683, "column": 72 }, "end": { "line": 683, "column": 73 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22472, "end": 22474, "loc": { "start": { "line": 683, "column": 73 }, "end": { "line": 683, "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": 22474, "end": 22478, "loc": { "start": { "line": 683, "column": 75 }, "end": { "line": 683, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22478, "end": 22479, "loc": { "start": { "line": 683, "column": 79 }, "end": { "line": 683, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 22479, "end": 22500, "loc": { "start": { "line": 683, "column": 80 }, "end": { "line": 683, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22500, "end": 22501, "loc": { "start": { "line": 683, "column": 101 }, "end": { "line": 683, "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": 22501, "end": 22501, "loc": { "start": { "line": 683, "column": 102 }, "end": { "line": 683, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22501, "end": 22502, "loc": { "start": { "line": 683, "column": 102 }, "end": { "line": 683, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22502, "end": 22503, "loc": { "start": { "line": 683, "column": 103 }, "end": { "line": 683, "column": 104 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 22511, "end": 22558, "loc": { "start": { "line": 685, "column": 4 }, "end": { "line": 687, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 22564, "end": 22570, "loc": { "start": { "line": 688, "column": 4 }, "end": { "line": 688, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22570, "end": 22571, "loc": { "start": { "line": 688, "column": 10 }, "end": { "line": 688, "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": 22571, "end": 22575, "loc": { "start": { "line": 688, "column": 11 }, "end": { "line": 688, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22575, "end": 22576, "loc": { "start": { "line": 688, "column": 15 }, "end": { "line": 688, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 22576, "end": 22583, "loc": { "start": { "line": 688, "column": 16 }, "end": { "line": 688, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22583, "end": 22584, "loc": { "start": { "line": 688, "column": 23 }, "end": { "line": 688, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 22584, "end": 22594, "loc": { "start": { "line": 688, "column": 24 }, "end": { "line": 688, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22594, "end": 22595, "loc": { "start": { "line": 688, "column": 34 }, "end": { "line": 688, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22595, "end": 22596, "loc": { "start": { "line": 688, "column": 35 }, "end": { "line": 688, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 22596, "end": 22603, "loc": { "start": { "line": 688, "column": 36 }, "end": { "line": 688, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22603, "end": 22604, "loc": { "start": { "line": 688, "column": 43 }, "end": { "line": 688, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22604, "end": 22605, "loc": { "start": { "line": 688, "column": 44 }, "end": { "line": 688, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 22605, "end": 22608, "loc": { "start": { "line": 688, "column": 45 }, "end": { "line": 688, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22608, "end": 22609, "loc": { "start": { "line": 688, "column": 48 }, "end": { "line": 688, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 22610, "end": 22616, "loc": { "start": { "line": 688, "column": 50 }, "end": { "line": 688, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22616, "end": 22617, "loc": { "start": { "line": 688, "column": 56 }, "end": { "line": 688, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22618, "end": 22620, "loc": { "start": { "line": 688, "column": 58 }, "end": { "line": 688, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22621, "end": 22622, "loc": { "start": { "line": 688, "column": 61 }, "end": { "line": 688, "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": 22630, "end": 22633, "loc": { "start": { "line": 689, "column": 6 }, "end": { "line": 689, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 22634, "end": 22642, "loc": { "start": { "line": 689, "column": 10 }, "end": { "line": 689, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22643, "end": 22644, "loc": { "start": { "line": 689, "column": 19 }, "end": { "line": 689, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 22645, "end": 22648, "loc": { "start": { "line": 689, "column": 21 }, "end": { "line": 689, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22648, "end": 22649, "loc": { "start": { "line": 689, "column": 24 }, "end": { "line": 689, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 22649, "end": 22654, "loc": { "start": { "line": 689, "column": 25 }, "end": { "line": 689, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22654, "end": 22655, "loc": { "start": { "line": 689, "column": 30 }, "end": { "line": 689, "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": 22655, "end": 22658, "loc": { "start": { "line": 689, "column": 31 }, "end": { "line": 689, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22658, "end": 22659, "loc": { "start": { "line": 689, "column": 34 }, "end": { "line": 689, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22659, "end": 22660, "loc": { "start": { "line": 689, "column": 35 }, "end": { "line": 689, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 22670, "end": 22713, "loc": { "start": { "line": 691, "column": 6 }, "end": { "line": 693, "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": 22721, "end": 22724, "loc": { "start": { "line": 694, "column": 6 }, "end": { "line": 694, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 22725, "end": 22731, "loc": { "start": { "line": 694, "column": 10 }, "end": { "line": 694, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22732, "end": 22733, "loc": { "start": { "line": 694, "column": 17 }, "end": { "line": 694, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 22734, "end": 22742, "loc": { "start": { "line": 694, "column": 19 }, "end": { "line": 694, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22742, "end": 22743, "loc": { "start": { "line": 694, "column": 27 }, "end": { "line": 694, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 22743, "end": 22756, "loc": { "start": { "line": 694, "column": 28 }, "end": { "line": 694, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22756, "end": 22757, "loc": { "start": { "line": 694, "column": 41 }, "end": { "line": 694, "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": 22757, "end": 22762, "loc": { "start": { "line": 694, "column": 42 }, "end": { "line": 694, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22762, "end": 22763, "loc": { "start": { "line": 694, "column": 47 }, "end": { "line": 694, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22763, "end": 22764, "loc": { "start": { "line": 694, "column": 48 }, "end": { "line": 694, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 22772, "end": 22778, "loc": { "start": { "line": 695, "column": 6 }, "end": { "line": 695, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22778, "end": 22779, "loc": { "start": { "line": 695, "column": 12 }, "end": { "line": 695, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22779, "end": 22788, "loc": { "start": { "line": 695, "column": 13 }, "end": { "line": 695, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22789, "end": 22791, "loc": { "start": { "line": 695, "column": 23 }, "end": { "line": 695, "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": 22792, "end": 22800, "loc": { "start": { "line": 695, "column": 26 }, "end": { "line": 695, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22800, "end": 22801, "loc": { "start": { "line": 695, "column": 34 }, "end": { "line": 695, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 22811, "end": 22872, "loc": { "start": { "line": 697, "column": 6 }, "end": { "line": 699, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 22880, "end": 22888, "loc": { "start": { "line": 700, "column": 6 }, "end": { "line": 700, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22888, "end": 22889, "loc": { "start": { "line": 700, "column": 14 }, "end": { "line": 700, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 22889, "end": 22896, "loc": { "start": { "line": 700, "column": 15 }, "end": { "line": 700, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22896, "end": 22897, "loc": { "start": { "line": 700, "column": 22 }, "end": { "line": 700, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22897, "end": 22898, "loc": { "start": { "line": 700, "column": 23 }, "end": { "line": 700, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22898, "end": 22904, "loc": { "start": { "line": 700, "column": 24 }, "end": { "line": 700, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22904, "end": 22905, "loc": { "start": { "line": 700, "column": 30 }, "end": { "line": 700, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 22906, "end": 22912, "loc": { "start": { "line": 700, "column": 32 }, "end": { "line": 700, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22912, "end": 22913, "loc": { "start": { "line": 700, "column": 38 }, "end": { "line": 700, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22914, "end": 22916, "loc": { "start": { "line": 700, "column": 40 }, "end": { "line": 700, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22917, "end": 22918, "loc": { "start": { "line": 700, "column": 43 }, "end": { "line": 700, "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": 22928, "end": 22931, "loc": { "start": { "line": 701, "column": 8 }, "end": { "line": 701, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 22932, "end": 22943, "loc": { "start": { "line": 701, "column": 12 }, "end": { "line": 701, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22944, "end": 22945, "loc": { "start": { "line": 701, "column": 24 }, "end": { "line": 701, "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": 22946, "end": 22950, "loc": { "start": { "line": 701, "column": 26 }, "end": { "line": 701, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22950, "end": 22951, "loc": { "start": { "line": 701, "column": 30 }, "end": { "line": 701, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 22951, "end": 22960, "loc": { "start": { "line": 701, "column": 31 }, "end": { "line": 701, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22960, "end": 22961, "loc": { "start": { "line": 701, "column": 40 }, "end": { "line": 701, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 22961, "end": 22975, "loc": { "start": { "line": 701, "column": 41 }, "end": { "line": 701, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22975, "end": 22976, "loc": { "start": { "line": 701, "column": 55 }, "end": { "line": 701, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 22976, "end": 22982, "loc": { "start": { "line": 701, "column": 56 }, "end": { "line": 701, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22982, "end": 22983, "loc": { "start": { "line": 701, "column": 62 }, "end": { "line": 701, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22983, "end": 22984, "loc": { "start": { "line": 701, "column": 63 }, "end": { "line": 701, "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": 22994, "end": 22997, "loc": { "start": { "line": 702, "column": 8 }, "end": { "line": 702, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 22998, "end": 23014, "loc": { "start": { "line": 702, "column": 12 }, "end": { "line": 702, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23015, "end": 23016, "loc": { "start": { "line": 702, "column": 29 }, "end": { "line": 702, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 23017, "end": 23035, "loc": { "start": { "line": 702, "column": 31 }, "end": { "line": 702, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23035, "end": 23036, "loc": { "start": { "line": 702, "column": 49 }, "end": { "line": 702, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23036, "end": 23042, "loc": { "start": { "line": 702, "column": 50 }, "end": { "line": 702, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23042, "end": 23043, "loc": { "start": { "line": 702, "column": 56 }, "end": { "line": 702, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23043, "end": 23044, "loc": { "start": { "line": 702, "column": 57 }, "end": { "line": 702, "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": 23054, "end": 23057, "loc": { "start": { "line": 703, "column": 8 }, "end": { "line": 703, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 23058, "end": 23075, "loc": { "start": { "line": 703, "column": 12 }, "end": { "line": 703, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23076, "end": 23077, "loc": { "start": { "line": 703, "column": 30 }, "end": { "line": 703, "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": 23078, "end": 23082, "loc": { "start": { "line": 703, "column": 32 }, "end": { "line": 703, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23082, "end": 23083, "loc": { "start": { "line": 703, "column": 36 }, "end": { "line": 703, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 23083, "end": 23092, "loc": { "start": { "line": 703, "column": 37 }, "end": { "line": 703, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23092, "end": 23093, "loc": { "start": { "line": 703, "column": 46 }, "end": { "line": 703, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 23093, "end": 23113, "loc": { "start": { "line": 703, "column": 47 }, "end": { "line": 703, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23113, "end": 23114, "loc": { "start": { "line": 703, "column": 67 }, "end": { "line": 703, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23114, "end": 23120, "loc": { "start": { "line": 703, "column": 68 }, "end": { "line": 703, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23120, "end": 23121, "loc": { "start": { "line": 703, "column": 74 }, "end": { "line": 703, "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": 23122, "end": 23126, "loc": { "start": { "line": 703, "column": 76 }, "end": { "line": 703, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23126, "end": 23127, "loc": { "start": { "line": 703, "column": 80 }, "end": { "line": 703, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23127, "end": 23134, "loc": { "start": { "line": 703, "column": 81 }, "end": { "line": 703, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23134, "end": 23135, "loc": { "start": { "line": 703, "column": 88 }, "end": { "line": 703, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 23135, "end": 23142, "loc": { "start": { "line": 703, "column": 89 }, "end": { "line": 703, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23142, "end": 23143, "loc": { "start": { "line": 703, "column": 96 }, "end": { "line": 703, "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": 23144, "end": 23148, "loc": { "start": { "line": 703, "column": 98 }, "end": { "line": 703, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23148, "end": 23149, "loc": { "start": { "line": 703, "column": 102 }, "end": { "line": 703, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23149, "end": 23156, "loc": { "start": { "line": 703, "column": 103 }, "end": { "line": 703, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23156, "end": 23157, "loc": { "start": { "line": 703, "column": 110 }, "end": { "line": 703, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 23157, "end": 23169, "loc": { "start": { "line": 703, "column": 111 }, "end": { "line": 703, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23169, "end": 23170, "loc": { "start": { "line": 703, "column": 123 }, "end": { "line": 703, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23170, "end": 23171, "loc": { "start": { "line": 703, "column": 124 }, "end": { "line": 703, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23183, "end": 23227, "loc": { "start": { "line": 705, "column": 8 }, "end": { "line": 707, "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": 23237, "end": 23240, "loc": { "start": { "line": 708, "column": 8 }, "end": { "line": 708, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23241, "end": 23250, "loc": { "start": { "line": 708, "column": 12 }, "end": { "line": 708, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23251, "end": 23252, "loc": { "start": { "line": 708, "column": 22 }, "end": { "line": 708, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 23253, "end": 23261, "loc": { "start": { "line": 708, "column": 24 }, "end": { "line": 708, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23261, "end": 23262, "loc": { "start": { "line": 708, "column": 32 }, "end": { "line": 708, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 23262, "end": 23275, "loc": { "start": { "line": 708, "column": 33 }, "end": { "line": 708, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23275, "end": 23276, "loc": { "start": { "line": 708, "column": 46 }, "end": { "line": 708, "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": 23276, "end": 23281, "loc": { "start": { "line": 708, "column": 47 }, "end": { "line": 708, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23281, "end": 23282, "loc": { "start": { "line": 708, "column": 52 }, "end": { "line": 708, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23282, "end": 23283, "loc": { "start": { "line": 708, "column": 53 }, "end": { "line": 708, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23293, "end": 23302, "loc": { "start": { "line": 709, "column": 8 }, "end": { "line": 709, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23302, "end": 23303, "loc": { "start": { "line": 709, "column": 17 }, "end": { "line": 709, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 23303, "end": 23312, "loc": { "start": { "line": 709, "column": 18 }, "end": { "line": 709, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 23313, "end": 23315, "loc": { "start": { "line": 709, "column": 28 }, "end": { "line": 709, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23316, "end": 23317, "loc": { "start": { "line": 709, "column": 31 }, "end": { "line": 709, "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": 23317, "end": 23327, "loc": { "start": { "line": 709, "column": 32 }, "end": { "line": 709, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23327, "end": 23329, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 23329, "end": 23340, "loc": { "start": { "line": 709, "column": 44 }, "end": { "line": 709, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23340, "end": 23341, "loc": { "start": { "line": 709, "column": 55 }, "end": { "line": 709, "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": 23341, "end": 23341, "loc": { "start": { "line": 709, "column": 56 }, "end": { "line": 709, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23341, "end": 23343, "loc": { "start": { "line": 709, "column": 56 }, "end": { "line": 709, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 23343, "end": 23359, "loc": { "start": { "line": 709, "column": 58 }, "end": { "line": 709, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23360, "end": 23361, "loc": { "start": { "line": 709, "column": 75 }, "end": { "line": 709, "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": 23362, "end": 23365, "loc": { "start": { "line": 709, "column": 77 }, "end": { "line": 709, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 23365, "end": 23366, "loc": { "start": { "line": 709, "column": 80 }, "end": { "line": 709, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 23366, "end": 23382, "loc": { "start": { "line": 709, "column": 81 }, "end": { "line": 709, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23383, "end": 23384, "loc": { "start": { "line": 709, "column": 98 }, "end": { "line": 709, "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": 23385, "end": 23387, "loc": { "start": { "line": 709, "column": 100 }, "end": { "line": 709, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23387, "end": 23388, "loc": { "start": { "line": 709, "column": 102 }, "end": { "line": 709, "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": 23388, "end": 23388, "loc": { "start": { "line": 709, "column": 103 }, "end": { "line": 709, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23388, "end": 23389, "loc": { "start": { "line": 709, "column": 103 }, "end": { "line": 709, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23389, "end": 23390, "loc": { "start": { "line": 709, "column": 104 }, "end": { "line": 709, "column": 105 } } }, { "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": 23410, "end": 23412, "loc": { "start": { "line": 711, "column": 8 }, "end": { "line": 711, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23413, "end": 23414, "loc": { "start": { "line": 711, "column": 11 }, "end": { "line": 711, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 23414, "end": 23428, "loc": { "start": { "line": 711, "column": 12 }, "end": { "line": 711, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23428, "end": 23429, "loc": { "start": { "line": 711, "column": 26 }, "end": { "line": 711, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23430, "end": 23431, "loc": { "start": { "line": 711, "column": 28 }, "end": { "line": 711, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23443, "end": 23452, "loc": { "start": { "line": 712, "column": 10 }, "end": { "line": 712, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23452, "end": 23453, "loc": { "start": { "line": 712, "column": 19 }, "end": { "line": 712, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ontouchstart", "start": 23453, "end": 23465, "loc": { "start": { "line": 712, "column": 20 }, "end": { "line": 712, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23466, "end": 23467, "loc": { "start": { "line": 712, "column": 33 }, "end": { "line": 712, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23468, "end": 23469, "loc": { "start": { "line": 712, "column": 35 }, "end": { "line": 712, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23469, "end": 23470, "loc": { "start": { "line": 712, "column": 36 }, "end": { "line": 712, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23470, "end": 23471, "loc": { "start": { "line": 712, "column": 37 }, "end": { "line": 712, "column": 38 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23472, "end": 23474, "loc": { "start": { "line": 712, "column": 39 }, "end": { "line": 712, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23475, "end": 23476, "loc": { "start": { "line": 712, "column": 42 }, "end": { "line": 712, "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": 23490, "end": 23494, "loc": { "start": { "line": 713, "column": 12 }, "end": { "line": 713, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23494, "end": 23495, "loc": { "start": { "line": 713, "column": 16 }, "end": { "line": 713, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 23495, "end": 23514, "loc": { "start": { "line": 713, "column": 17 }, "end": { "line": 713, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23514, "end": 23515, "loc": { "start": { "line": 713, "column": 36 }, "end": { "line": 713, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23515, "end": 23521, "loc": { "start": { "line": 713, "column": 37 }, "end": { "line": 713, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23521, "end": 23522, "loc": { "start": { "line": 713, "column": 43 }, "end": { "line": 713, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23522, "end": 23523, "loc": { "start": { "line": 713, "column": 44 }, "end": { "line": 713, "column": 45 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 23537, "end": 23541, "loc": { "start": { "line": 714, "column": 12 }, "end": { "line": 714, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23541, "end": 23542, "loc": { "start": { "line": 714, "column": 16 }, "end": { "line": 714, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 23542, "end": 23563, "loc": { "start": { "line": 714, "column": 17 }, "end": { "line": 714, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23563, "end": 23564, "loc": { "start": { "line": 714, "column": 38 }, "end": { "line": 714, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23564, "end": 23570, "loc": { "start": { "line": 714, "column": 39 }, "end": { "line": 714, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23570, "end": 23571, "loc": { "start": { "line": 714, "column": 45 }, "end": { "line": 714, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23572, "end": 23573, "loc": { "start": { "line": 714, "column": 47 }, "end": { "line": 714, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23573, "end": 23574, "loc": { "start": { "line": 714, "column": 48 }, "end": { "line": 714, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23574, "end": 23575, "loc": { "start": { "line": 714, "column": 49 }, "end": { "line": 714, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23587, "end": 23588, "loc": { "start": { "line": 715, "column": 10 }, "end": { "line": 715, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23600, "end": 23609, "loc": { "start": { "line": 716, "column": 10 }, "end": { "line": 716, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23609, "end": 23610, "loc": { "start": { "line": 716, "column": 19 }, "end": { "line": 716, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ontouchend", "start": 23610, "end": 23620, "loc": { "start": { "line": 716, "column": 20 }, "end": { "line": 716, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23621, "end": 23622, "loc": { "start": { "line": 716, "column": 31 }, "end": { "line": 716, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23623, "end": 23624, "loc": { "start": { "line": 716, "column": 33 }, "end": { "line": 716, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23625, "end": 23627, "loc": { "start": { "line": 716, "column": 35 }, "end": { "line": 716, "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": 23628, "end": 23632, "loc": { "start": { "line": 716, "column": 38 }, "end": { "line": 716, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23632, "end": 23633, "loc": { "start": { "line": 716, "column": 42 }, "end": { "line": 716, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 23633, "end": 23652, "loc": { "start": { "line": 716, "column": 43 }, "end": { "line": 716, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23652, "end": 23653, "loc": { "start": { "line": 716, "column": 62 }, "end": { "line": 716, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23653, "end": 23654, "loc": { "start": { "line": 716, "column": 63 }, "end": { "line": 716, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23654, "end": 23655, "loc": { "start": { "line": 716, "column": 64 }, "end": { "line": 716, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23667, "end": 23676, "loc": { "start": { "line": 717, "column": 10 }, "end": { "line": 717, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23676, "end": 23677, "loc": { "start": { "line": 717, "column": 19 }, "end": { "line": 717, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ontouchcancel", "start": 23677, "end": 23690, "loc": { "start": { "line": 717, "column": 20 }, "end": { "line": 717, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23691, "end": 23692, "loc": { "start": { "line": 717, "column": 34 }, "end": { "line": 717, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23693, "end": 23694, "loc": { "start": { "line": 717, "column": 36 }, "end": { "line": 717, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23695, "end": 23697, "loc": { "start": { "line": 717, "column": 38 }, "end": { "line": 717, "column": 40 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 23698, "end": 23702, "loc": { "start": { "line": 717, "column": 41 }, "end": { "line": 717, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23702, "end": 23703, "loc": { "start": { "line": 717, "column": 45 }, "end": { "line": 717, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 23703, "end": 23722, "loc": { "start": { "line": 717, "column": 46 }, "end": { "line": 717, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23722, "end": 23723, "loc": { "start": { "line": 717, "column": 65 }, "end": { "line": 717, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23723, "end": 23724, "loc": { "start": { "line": 717, "column": 66 }, "end": { "line": 717, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23724, "end": 23725, "loc": { "start": { "line": 717, "column": 67 }, "end": { "line": 717, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23735, "end": 23736, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "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": 23737, "end": 23741, "loc": { "start": { "line": 718, "column": 10 }, "end": { "line": 718, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23742, "end": 23743, "loc": { "start": { "line": 718, "column": 15 }, "end": { "line": 718, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23755, "end": 23764, "loc": { "start": { "line": 719, "column": 10 }, "end": { "line": 719, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23764, "end": 23765, "loc": { "start": { "line": 719, "column": 19 }, "end": { "line": 719, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 23765, "end": 23772, "loc": { "start": { "line": 719, "column": 20 }, "end": { "line": 719, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23773, "end": 23774, "loc": { "start": { "line": 719, "column": 28 }, "end": { "line": 719, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23775, "end": 23776, "loc": { "start": { "line": 719, "column": 30 }, "end": { "line": 719, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23776, "end": 23777, "loc": { "start": { "line": 719, "column": 31 }, "end": { "line": 719, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23778, "end": 23780, "loc": { "start": { "line": 719, "column": 33 }, "end": { "line": 719, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23781, "end": 23782, "loc": { "start": { "line": 719, "column": 36 }, "end": { "line": 719, "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": 23796, "end": 23800, "loc": { "start": { "line": 720, "column": 12 }, "end": { "line": 720, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23800, "end": 23801, "loc": { "start": { "line": 720, "column": 16 }, "end": { "line": 720, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 23801, "end": 23812, "loc": { "start": { "line": 720, "column": 17 }, "end": { "line": 720, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23813, "end": 23814, "loc": { "start": { "line": 720, "column": 29 }, "end": { "line": 720, "column": 30 } } }, { "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": 23815, "end": 23820, "loc": { "start": { "line": 720, "column": 31 }, "end": { "line": 720, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23820, "end": 23821, "loc": { "start": { "line": 720, "column": 36 }, "end": { "line": 720, "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": 23835, "end": 23839, "loc": { "start": { "line": 721, "column": 12 }, "end": { "line": 721, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23839, "end": 23840, "loc": { "start": { "line": 721, "column": 16 }, "end": { "line": 721, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 23840, "end": 23859, "loc": { "start": { "line": 721, "column": 17 }, "end": { "line": 721, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23859, "end": 23860, "loc": { "start": { "line": 721, "column": 36 }, "end": { "line": 721, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23860, "end": 23866, "loc": { "start": { "line": 721, "column": 37 }, "end": { "line": 721, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23866, "end": 23867, "loc": { "start": { "line": 721, "column": 43 }, "end": { "line": 721, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23867, "end": 23868, "loc": { "start": { "line": 721, "column": 44 }, "end": { "line": 721, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23880, "end": 23881, "loc": { "start": { "line": 722, "column": 10 }, "end": { "line": 722, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23893, "end": 23902, "loc": { "start": { "line": 723, "column": 10 }, "end": { "line": 723, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23902, "end": 23903, "loc": { "start": { "line": 723, "column": 19 }, "end": { "line": 723, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmousedown", "start": 23903, "end": 23914, "loc": { "start": { "line": 723, "column": 20 }, "end": { "line": 723, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23915, "end": 23916, "loc": { "start": { "line": 723, "column": 32 }, "end": { "line": 723, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23917, "end": 23918, "loc": { "start": { "line": 723, "column": 34 }, "end": { "line": 723, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23918, "end": 23919, "loc": { "start": { "line": 723, "column": 35 }, "end": { "line": 723, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23919, "end": 23920, "loc": { "start": { "line": 723, "column": 36 }, "end": { "line": 723, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23921, "end": 23923, "loc": { "start": { "line": 723, "column": 38 }, "end": { "line": 723, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23924, "end": 23925, "loc": { "start": { "line": 723, "column": 41 }, "end": { "line": 723, "column": 42 } } }, { "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": 23939, "end": 23941, "loc": { "start": { "line": 724, "column": 12 }, "end": { "line": 724, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23942, "end": 23943, "loc": { "start": { "line": 724, "column": 15 }, "end": { "line": 724, "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": 23943, "end": 23947, "loc": { "start": { "line": 724, "column": 16 }, "end": { "line": 724, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23947, "end": 23948, "loc": { "start": { "line": 724, "column": 20 }, "end": { "line": 724, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23948, "end": 23955, "loc": { "start": { "line": 724, "column": 21 }, "end": { "line": 724, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23955, "end": 23956, "loc": { "start": { "line": 724, "column": 28 }, "end": { "line": 724, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventMouseDownDefault", "start": 23956, "end": 23979, "loc": { "start": { "line": 724, "column": 29 }, "end": { "line": 724, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23979, "end": 23980, "loc": { "start": { "line": 724, "column": 52 }, "end": { "line": 724, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 23981, "end": 23982, "loc": { "start": { "line": 724, "column": 54 }, "end": { "line": 724, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23982, "end": 23983, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 23983, "end": 23997, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23997, "end": 23998, "loc": { "start": { "line": 724, "column": 70 }, "end": { "line": 724, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23998, "end": 23999, "loc": { "start": { "line": 724, "column": 71 }, "end": { "line": 724, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23999, "end": 24000, "loc": { "start": { "line": 724, "column": 72 }, "end": { "line": 724, "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": 24014, "end": 24018, "loc": { "start": { "line": 725, "column": 12 }, "end": { "line": 725, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24018, "end": 24019, "loc": { "start": { "line": 725, "column": 16 }, "end": { "line": 725, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 24019, "end": 24040, "loc": { "start": { "line": 725, "column": 17 }, "end": { "line": 725, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24040, "end": 24041, "loc": { "start": { "line": 725, "column": 38 }, "end": { "line": 725, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24041, "end": 24047, "loc": { "start": { "line": 725, "column": 39 }, "end": { "line": 725, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24047, "end": 24048, "loc": { "start": { "line": 725, "column": 45 }, "end": { "line": 725, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24049, "end": 24050, "loc": { "start": { "line": 725, "column": 47 }, "end": { "line": 725, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24050, "end": 24051, "loc": { "start": { "line": 725, "column": 48 }, "end": { "line": 725, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24051, "end": 24052, "loc": { "start": { "line": 725, "column": 49 }, "end": { "line": 725, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24064, "end": 24065, "loc": { "start": { "line": 726, "column": 10 }, "end": { "line": 726, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24075, "end": 24076, "loc": { "start": { "line": 727, "column": 8 }, "end": { "line": 727, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24096, "end": 24142, "loc": { "start": { "line": 729, "column": 8 }, "end": { "line": 731, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24152, "end": 24161, "loc": { "start": { "line": 732, "column": 8 }, "end": { "line": 732, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24161, "end": 24162, "loc": { "start": { "line": 732, "column": 17 }, "end": { "line": 732, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 24162, "end": 24174, "loc": { "start": { "line": 732, "column": 18 }, "end": { "line": 732, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24174, "end": 24175, "loc": { "start": { "line": 732, "column": 30 }, "end": { "line": 732, "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": 24175, "end": 24187, "loc": { "start": { "line": 732, "column": 31 }, "end": { "line": 732, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24187, "end": 24188, "loc": { "start": { "line": 732, "column": 43 }, "end": { "line": 732, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24189, "end": 24195, "loc": { "start": { "line": 732, "column": 45 }, "end": { "line": 732, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24195, "end": 24196, "loc": { "start": { "line": 732, "column": 51 }, "end": { "line": 732, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24196, "end": 24197, "loc": { "start": { "line": 732, "column": 52 }, "end": { "line": 732, "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": 24209, "end": 24364, "loc": { "start": { "line": 734, "column": 8 }, "end": { "line": 737, "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": 24374, "end": 24377, "loc": { "start": { "line": 738, "column": 8 }, "end": { "line": 738, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 24378, "end": 24387, "loc": { "start": { "line": 738, "column": 12 }, "end": { "line": 738, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24388, "end": 24389, "loc": { "start": { "line": 738, "column": 22 }, "end": { "line": 738, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24390, "end": 24391, "loc": { "start": { "line": 738, "column": 24 }, "end": { "line": 738, "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": 24391, "end": 24391, "loc": { "start": { "line": 738, "column": 25 }, "end": { "line": 738, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24391, "end": 24393, "loc": { "start": { "line": 738, "column": 25 }, "end": { "line": 738, "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": 24393, "end": 24397, "loc": { "start": { "line": 738, "column": 27 }, "end": { "line": 738, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24397, "end": 24398, "loc": { "start": { "line": 738, "column": 31 }, "end": { "line": 738, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 24398, "end": 24405, "loc": { "start": { "line": 738, "column": 32 }, "end": { "line": 738, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24405, "end": 24406, "loc": { "start": { "line": 738, "column": 39 }, "end": { "line": 738, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 24406, "end": 24416, "loc": { "start": { "line": 738, "column": 40 }, "end": { "line": 738, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24416, "end": 24417, "loc": { "start": { "line": 738, "column": 50 }, "end": { "line": 738, "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": 24417, "end": 24419, "loc": { "start": { "line": 738, "column": 51 }, "end": { "line": 738, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24419, "end": 24421, "loc": { "start": { "line": 738, "column": 53 }, "end": { "line": 738, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 24421, "end": 24427, "loc": { "start": { "line": 738, "column": 55 }, "end": { "line": 738, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24427, "end": 24428, "loc": { "start": { "line": 738, "column": 61 }, "end": { "line": 738, "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": 24428, "end": 24429, "loc": { "start": { "line": 738, "column": 62 }, "end": { "line": 738, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24429, "end": 24431, "loc": { "start": { "line": 738, "column": 63 }, "end": { "line": 738, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 24431, "end": 24437, "loc": { "start": { "line": 738, "column": 65 }, "end": { "line": 738, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24437, "end": 24438, "loc": { "start": { "line": 738, "column": 71 }, "end": { "line": 738, "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": 24438, "end": 24438, "loc": { "start": { "line": 738, "column": 72 }, "end": { "line": 738, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24438, "end": 24439, "loc": { "start": { "line": 738, "column": 72 }, "end": { "line": 738, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24439, "end": 24440, "loc": { "start": { "line": 738, "column": 73 }, "end": { "line": 738, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24450, "end": 24459, "loc": { "start": { "line": 739, "column": 8 }, "end": { "line": 739, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24459, "end": 24460, "loc": { "start": { "line": 739, "column": 17 }, "end": { "line": 739, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 24460, "end": 24472, "loc": { "start": { "line": 739, "column": 18 }, "end": { "line": 739, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24472, "end": 24473, "loc": { "start": { "line": 739, "column": 30 }, "end": { "line": 739, "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": 24473, "end": 24488, "loc": { "start": { "line": 739, "column": 31 }, "end": { "line": 739, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24488, "end": 24489, "loc": { "start": { "line": 739, "column": 46 }, "end": { "line": 739, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 24490, "end": 24499, "loc": { "start": { "line": 739, "column": 48 }, "end": { "line": 739, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24499, "end": 24500, "loc": { "start": { "line": 739, "column": 57 }, "end": { "line": 739, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24500, "end": 24501, "loc": { "start": { "line": 739, "column": 58 }, "end": { "line": 739, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 24513, "end": 24562, "loc": { "start": { "line": 741, "column": 8 }, "end": { "line": 743, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24572, "end": 24581, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 744, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24581, "end": 24582, "loc": { "start": { "line": 744, "column": 17 }, "end": { "line": 744, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 24582, "end": 24594, "loc": { "start": { "line": 744, "column": 18 }, "end": { "line": 744, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24594, "end": 24595, "loc": { "start": { "line": 744, "column": 30 }, "end": { "line": 744, "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": 24595, "end": 24614, "loc": { "start": { "line": 744, "column": 31 }, "end": { "line": 744, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24614, "end": 24615, "loc": { "start": { "line": 744, "column": 50 }, "end": { "line": 744, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 24616, "end": 24633, "loc": { "start": { "line": 744, "column": 52 }, "end": { "line": 744, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24633, "end": 24634, "loc": { "start": { "line": 744, "column": 69 }, "end": { "line": 744, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24634, "end": 24635, "loc": { "start": { "line": 744, "column": 70 }, "end": { "line": 744, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 24647, "end": 24705, "loc": { "start": { "line": 746, "column": 8 }, "end": { "line": 748, "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": 24715, "end": 24718, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 749, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 24719, "end": 24732, "loc": { "start": { "line": 749, "column": 12 }, "end": { "line": 749, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24733, "end": 24734, "loc": { "start": { "line": 749, "column": 26 }, "end": { "line": 749, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 24735, "end": 24743, "loc": { "start": { "line": 749, "column": 28 }, "end": { "line": 749, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24743, "end": 24744, "loc": { "start": { "line": 749, "column": 36 }, "end": { "line": 749, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 24744, "end": 24757, "loc": { "start": { "line": 749, "column": 37 }, "end": { "line": 749, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24757, "end": 24758, "loc": { "start": { "line": 749, "column": 50 }, "end": { "line": 749, "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": 24758, "end": 24764, "loc": { "start": { "line": 749, "column": 51 }, "end": { "line": 749, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24764, "end": 24765, "loc": { "start": { "line": 749, "column": 57 }, "end": { "line": 749, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24765, "end": 24766, "loc": { "start": { "line": 749, "column": 58 }, "end": { "line": 749, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 24776, "end": 24789, "loc": { "start": { "line": 750, "column": 8 }, "end": { "line": 750, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24789, "end": 24790, "loc": { "start": { "line": 750, "column": 21 }, "end": { "line": 750, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 24790, "end": 24799, "loc": { "start": { "line": 750, "column": 22 }, "end": { "line": 750, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24800, "end": 24801, "loc": { "start": { "line": 750, "column": 32 }, "end": { "line": 750, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 24802, "end": 24819, "loc": { "start": { "line": 750, "column": 34 }, "end": { "line": 750, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24819, "end": 24820, "loc": { "start": { "line": 750, "column": 51 }, "end": { "line": 750, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24830, "end": 24839, "loc": { "start": { "line": 751, "column": 8 }, "end": { "line": 751, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24839, "end": 24840, "loc": { "start": { "line": 751, "column": 17 }, "end": { "line": 751, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 24840, "end": 24851, "loc": { "start": { "line": 751, "column": 18 }, "end": { "line": 751, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24851, "end": 24852, "loc": { "start": { "line": 751, "column": 29 }, "end": { "line": 751, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 24852, "end": 24865, "loc": { "start": { "line": 751, "column": 30 }, "end": { "line": 751, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24865, "end": 24866, "loc": { "start": { "line": 751, "column": 43 }, "end": { "line": 751, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24866, "end": 24867, "loc": { "start": { "line": 751, "column": 44 }, "end": { "line": 751, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 24879, "end": 24932, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 755, "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": 24942, "end": 24944, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 756, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24944, "end": 24945, "loc": { "start": { "line": 756, "column": 10 }, "end": { "line": 756, "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": 24945, "end": 24946, "loc": { "start": { "line": 756, "column": 11 }, "end": { "line": 756, "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": 24946, "end": 24950, "loc": { "start": { "line": 756, "column": 12 }, "end": { "line": 756, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24950, "end": 24951, "loc": { "start": { "line": 756, "column": 16 }, "end": { "line": 756, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 24951, "end": 24965, "loc": { "start": { "line": 756, "column": 17 }, "end": { "line": 756, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24965, "end": 24966, "loc": { "start": { "line": 756, "column": 31 }, "end": { "line": 756, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24966, "end": 24972, "loc": { "start": { "line": 756, "column": 32 }, "end": { "line": 756, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24972, "end": 24973, "loc": { "start": { "line": 756, "column": 38 }, "end": { "line": 756, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24973, "end": 24974, "loc": { "start": { "line": 756, "column": 39 }, "end": { "line": 756, "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": 24986, "end": 24990, "loc": { "start": { "line": 757, "column": 10 }, "end": { "line": 757, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24990, "end": 24991, "loc": { "start": { "line": 757, "column": 14 }, "end": { "line": 757, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 24991, "end": 25005, "loc": { "start": { "line": 757, "column": 15 }, "end": { "line": 757, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25005, "end": 25006, "loc": { "start": { "line": 757, "column": 29 }, "end": { "line": 757, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 25006, "end": 25012, "loc": { "start": { "line": 757, "column": 30 }, "end": { "line": 757, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25012, "end": 25013, "loc": { "start": { "line": 757, "column": 36 }, "end": { "line": 757, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25014, "end": 25015, "loc": { "start": { "line": 757, "column": 38 }, "end": { "line": 757, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25016, "end": 25017, "loc": { "start": { "line": 757, "column": 40 }, "end": { "line": 757, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25017, "end": 25018, "loc": { "start": { "line": 757, "column": 41 }, "end": { "line": 757, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25018, "end": 25019, "loc": { "start": { "line": 757, "column": 42 }, "end": { "line": 757, "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": 25031, "end": 25035, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25035, "end": 25036, "loc": { "start": { "line": 759, "column": 12 }, "end": { "line": 759, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 25036, "end": 25050, "loc": { "start": { "line": 759, "column": 13 }, "end": { "line": 759, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25050, "end": 25051, "loc": { "start": { "line": 759, "column": 27 }, "end": { "line": 759, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 25051, "end": 25057, "loc": { "start": { "line": 759, "column": 28 }, "end": { "line": 759, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25057, "end": 25058, "loc": { "start": { "line": 759, "column": 34 }, "end": { "line": 759, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25058, "end": 25059, "loc": { "start": { "line": 759, "column": 35 }, "end": { "line": 759, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 25059, "end": 25063, "loc": { "start": { "line": 759, "column": 36 }, "end": { "line": 759, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25063, "end": 25064, "loc": { "start": { "line": 759, "column": 40 }, "end": { "line": 759, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25064, "end": 25073, "loc": { "start": { "line": 759, "column": 41 }, "end": { "line": 759, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25073, "end": 25074, "loc": { "start": { "line": 759, "column": 50 }, "end": { "line": 759, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25074, "end": 25075, "loc": { "start": { "line": 759, "column": 51 }, "end": { "line": 759, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25087, "end": 25139, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 25149, "end": 25155, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25155, "end": 25156, "loc": { "start": { "line": 764, "column": 14 }, "end": { "line": 764, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 25156, "end": 25167, "loc": { "start": { "line": 764, "column": 15 }, "end": { "line": 764, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25167, "end": 25168, "loc": { "start": { "line": 764, "column": 26 }, "end": { "line": 764, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25168, "end": 25177, "loc": { "start": { "line": 764, "column": 27 }, "end": { "line": 764, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25177, "end": 25178, "loc": { "start": { "line": 764, "column": 36 }, "end": { "line": 764, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25178, "end": 25179, "loc": { "start": { "line": 764, "column": 37 }, "end": { "line": 764, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25189, "end": 25190, "loc": { "start": { "line": 766, "column": 6 }, "end": { "line": 766, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25190, "end": 25191, "loc": { "start": { "line": 766, "column": 7 }, "end": { "line": 766, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25191, "end": 25192, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25202, "end": 25252, "loc": { "start": { "line": 768, "column": 6 }, "end": { "line": 770, "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": 25260, "end": 25264, "loc": { "start": { "line": 771, "column": 6 }, "end": { "line": 771, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25264, "end": 25265, "loc": { "start": { "line": 771, "column": 10 }, "end": { "line": 771, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 25265, "end": 25276, "loc": { "start": { "line": 771, "column": 11 }, "end": { "line": 771, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25276, "end": 25277, "loc": { "start": { "line": 771, "column": 22 }, "end": { "line": 771, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 25277, "end": 25288, "loc": { "start": { "line": 771, "column": 23 }, "end": { "line": 771, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25288, "end": 25289, "loc": { "start": { "line": 771, "column": 34 }, "end": { "line": 771, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 25289, "end": 25295, "loc": { "start": { "line": 771, "column": 35 }, "end": { "line": 771, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25295, "end": 25296, "loc": { "start": { "line": 771, "column": 41 }, "end": { "line": 771, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25296, "end": 25297, "loc": { "start": { "line": 771, "column": 42 }, "end": { "line": 771, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25303, "end": 25304, "loc": { "start": { "line": 772, "column": 4 }, "end": { "line": 772, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25304, "end": 25305, "loc": { "start": { "line": 772, "column": 5 }, "end": { "line": 772, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25305, "end": 25306, "loc": { "start": { "line": 772, "column": 6 }, "end": { "line": 772, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25314, "end": 25351, "loc": { "start": { "line": 774, "column": 4 }, "end": { "line": 776, "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": 25357, "end": 25361, "loc": { "start": { "line": 777, "column": 4 }, "end": { "line": 777, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25361, "end": 25362, "loc": { "start": { "line": 777, "column": 8 }, "end": { "line": 777, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 25362, "end": 25370, "loc": { "start": { "line": 777, "column": 9 }, "end": { "line": 777, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25370, "end": 25371, "loc": { "start": { "line": 777, "column": 17 }, "end": { "line": 777, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25371, "end": 25372, "loc": { "start": { "line": 777, "column": 18 }, "end": { "line": 777, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25372, "end": 25373, "loc": { "start": { "line": 777, "column": 19 }, "end": { "line": 777, "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": 25381, "end": 25383, "loc": { "start": { "line": 779, "column": 4 }, "end": { "line": 779, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25383, "end": 25384, "loc": { "start": { "line": 779, "column": 6 }, "end": { "line": 779, "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": 25384, "end": 25385, "loc": { "start": { "line": 779, "column": 7 }, "end": { "line": 779, "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": 25385, "end": 25389, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25389, "end": 25390, "loc": { "start": { "line": 779, "column": 12 }, "end": { "line": 779, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 25390, "end": 25401, "loc": { "start": { "line": 779, "column": 13 }, "end": { "line": 779, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25401, "end": 25402, "loc": { "start": { "line": 779, "column": 24 }, "end": { "line": 779, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25402, "end": 25403, "loc": { "start": { "line": 779, "column": 25 }, "end": { "line": 779, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25411, "end": 25493, "loc": { "start": { "line": 780, "column": 6 }, "end": { "line": 782, "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": 25501, "end": 25505, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 783, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25505, "end": 25506, "loc": { "start": { "line": 783, "column": 10 }, "end": { "line": 783, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 25506, "end": 25517, "loc": { "start": { "line": 783, "column": 11 }, "end": { "line": 783, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25518, "end": 25519, "loc": { "start": { "line": 783, "column": 23 }, "end": { "line": 783, "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": 25520, "end": 25524, "loc": { "start": { "line": 783, "column": 25 }, "end": { "line": 783, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25524, "end": 25525, "loc": { "start": { "line": 783, "column": 29 }, "end": { "line": 783, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 25535, "end": 25576, "loc": { "start": { "line": 785, "column": 6 }, "end": { "line": 787, "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": 25584, "end": 25586, "loc": { "start": { "line": 788, "column": 6 }, "end": { "line": 788, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25587, "end": 25588, "loc": { "start": { "line": 788, "column": 9 }, "end": { "line": 788, "column": 10 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 25588, "end": 25589, "loc": { "start": { "line": 788, "column": 10 }, "end": { "line": 788, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 25589, "end": 25603, "loc": { "start": { "line": 788, "column": 11 }, "end": { "line": 788, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25603, "end": 25604, "loc": { "start": { "line": 788, "column": 25 }, "end": { "line": 788, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25605, "end": 25606, "loc": { "start": { "line": 788, "column": 27 }, "end": { "line": 788, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 25616, "end": 25624, "loc": { "start": { "line": 789, "column": 8 }, "end": { "line": 789, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25624, "end": 25625, "loc": { "start": { "line": 789, "column": 16 }, "end": { "line": 789, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmouseup", "start": 25625, "end": 25634, "loc": { "start": { "line": 789, "column": 17 }, "end": { "line": 789, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25635, "end": 25636, "loc": { "start": { "line": 789, "column": 27 }, "end": { "line": 789, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25637, "end": 25638, "loc": { "start": { "line": 789, "column": 29 }, "end": { "line": 789, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25638, "end": 25639, "loc": { "start": { "line": 789, "column": 30 }, "end": { "line": 789, "column": 31 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25640, "end": 25642, "loc": { "start": { "line": 789, "column": 32 }, "end": { "line": 789, "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": 25643, "end": 25647, "loc": { "start": { "line": 789, "column": 35 }, "end": { "line": 789, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25647, "end": 25648, "loc": { "start": { "line": 789, "column": 39 }, "end": { "line": 789, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 25648, "end": 25667, "loc": { "start": { "line": 789, "column": 40 }, "end": { "line": 789, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25667, "end": 25668, "loc": { "start": { "line": 789, "column": 59 }, "end": { "line": 789, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25668, "end": 25669, "loc": { "start": { "line": 789, "column": 60 }, "end": { "line": 789, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25669, "end": 25670, "loc": { "start": { "line": 789, "column": 61 }, "end": { "line": 789, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25678, "end": 25679, "loc": { "start": { "line": 790, "column": 6 }, "end": { "line": 790, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 25689, "end": 25728, "loc": { "start": { "line": 792, "column": 6 }, "end": { "line": 794, "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": 25736, "end": 25740, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 795, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25740, "end": 25741, "loc": { "start": { "line": 795, "column": 10 }, "end": { "line": 795, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 25741, "end": 25747, "loc": { "start": { "line": 795, "column": 11 }, "end": { "line": 795, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25747, "end": 25748, "loc": { "start": { "line": 795, "column": 17 }, "end": { "line": 795, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25748, "end": 25749, "loc": { "start": { "line": 795, "column": 18 }, "end": { "line": 795, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25749, "end": 25750, "loc": { "start": { "line": 795, "column": 19 }, "end": { "line": 795, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25756, "end": 25757, "loc": { "start": { "line": 796, "column": 4 }, "end": { "line": 796, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25761, "end": 25762, "loc": { "start": { "line": 797, "column": 2 }, "end": { "line": 797, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25764, "end": 25765, "loc": { "start": { "line": 798, "column": 0 }, "end": { "line": 798, "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": 25769, "end": 25775, "loc": { "start": { "line": 800, "column": 0 }, "end": { "line": 800, "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": 25776, "end": 25783, "loc": { "start": { "line": 800, "column": 7 }, "end": { "line": 800, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 25784, "end": 25798, "loc": { "start": { "line": 800, "column": 15 }, "end": { "line": 800, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25798, "end": 25799, "loc": { "start": { "line": 800, "column": 29 }, "end": { "line": 800, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25801, "end": 25801, "loc": { "start": { "line": 801, "column": 0 }, "end": { "line": 801, "column": 0 } } } ] }