{ "type": "File", "start": 0, "end": 26361, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 816, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 26361, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 816, "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": 26325, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 813, "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": 26325, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 813, "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": 18320, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 530, "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": 18320, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 530, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 17693, "end": 17719, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 17693, "end": 17718, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17693, "end": 17711, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 22 } }, "object": { "type": "ThisExpression", "start": 17693, "end": 17697, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17698, "end": 17711, "loc": { "start": { "line": 512, "column": 9 }, "end": { "line": 512, "column": 22 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 17714, "end": 17718, "loc": { "start": { "line": 512, "column": 25 }, "end": { "line": 512, "column": 29 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Only first instance should insall the caret handling events\r\n ", "start": 17607, "end": 17687, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 511, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 17725, "end": 17789, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17729, "end": 17788, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 67 } }, "id": { "type": "Identifier", "start": 17729, "end": 17752, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 31 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" }, "init": { "type": "MemberExpression", "start": 17755, "end": 17788, "loc": { "start": { "line": 513, "column": 34 }, "end": { "line": 513, "column": 67 } }, "object": { "type": "Identifier", "start": 17755, "end": 17761, "loc": { "start": { "line": 513, "column": 34 }, "end": { "line": 513, "column": 40 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 17762, "end": 17787, "loc": { "start": { "line": 513, "column": 41 }, "end": { "line": 513, "column": 66 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 17797, "end": 18315, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 529, "column": 3 } }, "test": { "type": "LogicalExpression", "start": 17808, "end": 17990, "loc": { "start": { "line": 516, "column": 6 }, "end": { "line": 520, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 17819, "end": 17946, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 518, "column": 99 } }, "left": { "type": "Identifier", "start": 17819, "end": 17842, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 31 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 17855, "end": 17946, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 99 } }, "left": { "type": "MemberExpression", "start": 17855, "end": 17894, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 47 } }, "object": { "type": "CallExpression", "start": 17855, "end": 17891, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 17855, "end": 17866, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 19 } }, "object": { "type": "Identifier", "start": 17855, "end": 17861, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 14 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 17862, "end": 17866, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 19 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17867, "end": 17890, "loc": { "start": { "line": 518, "column": 20 }, "end": { "line": 518, "column": 43 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" } ] }, "property": { "type": "NumericLiteral", "start": 17892, "end": 17893, "loc": { "start": { "line": 518, "column": 45 }, "end": { "line": 518, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "operator": "===", "right": { "type": "CallExpression", "start": 17899, "end": 17946, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 17899, "end": 17923, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 76 } }, "object": { "type": "MemberExpression", "start": 17899, "end": 17913, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 66 } }, "object": { "type": "ThisExpression", "start": 17899, "end": 17903, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 56 } } }, "property": { "type": "Identifier", "start": 17904, "end": 17913, "loc": { "start": { "line": 518, "column": 57 }, "end": { "line": 518, "column": 66 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 17914, "end": 17923, "loc": { "start": { "line": 518, "column": 67 }, "end": { "line": 518, "column": 76 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 17924, "end": 17945, "loc": { "start": { "line": 518, "column": 77 }, "end": { "line": 518, "column": 98 } }, "object": { "type": "ThisExpression", "start": 17924, "end": 17928, "loc": { "start": { "line": 518, "column": 77 }, "end": { "line": 518, "column": 81 } } }, "property": { "type": "Identifier", "start": 17929, "end": 17945, "loc": { "start": { "line": 518, "column": 82 }, "end": { "line": 518, "column": 98 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] } }, "extra": { "parenthesized": true, "parenStart": 17808 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 17966, "end": 17990, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 17967, "end": 17990, "loc": { "start": { "line": 520, "column": 7 }, "end": { "line": 520, "column": 30 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 17997, "end": 18315, "loc": { "start": { "line": 521, "column": 5 }, "end": { "line": 529, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18004, "end": 18108, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18007, "end": 18025, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18007, "end": 18019, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18007, "end": 18011, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 11 } } }, "property": { "type": "Identifier", "start": 18012, "end": 18019, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18020, "end": 18025, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18026, "end": 18108, "loc": { "start": { "line": 522, "column": 26 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18037, "end": 18101, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 72 } }, "expression": { "type": "CallExpression", "start": 18037, "end": 18101, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 18037, "end": 18048, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 19 } }, "object": { "type": "Identifier", "start": 18037, "end": 18044, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18045, "end": 18048, "loc": { "start": { "line": 523, "column": 16 }, "end": { "line": 523, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 18049, "end": 18100, "loc": { "start": { "line": 523, "column": 20 }, "end": { "line": 523, "column": 71 } }, "expressions": [ { "type": "MemberExpression", "start": 18076, "end": 18097, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 68 } }, "object": { "type": "ThisExpression", "start": 18076, "end": 18080, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 51 } } }, "property": { "type": "Identifier", "start": 18081, "end": 18097, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 68 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 18050, "end": 18074, "loc": { "start": { "line": 523, "column": 21 }, "end": { "line": 523, "column": 45 } }, "value": { "raw": "Caret handling started (", "cooked": "Caret handling started (" }, "tail": false }, { "type": "TemplateElement", "start": 18098, "end": 18099, "loc": { "start": { "line": 523, "column": 69 }, "end": { "line": 523, "column": 70 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 18116, "end": 18175, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 63 } }, "expression": { "type": "CallExpression", "start": 18116, "end": 18174, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 18116, "end": 18141, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 29 } }, "object": { "type": "Identifier", "start": 18116, "end": 18124, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18125, "end": 18141, "loc": { "start": { "line": 526, "column": 13 }, "end": { "line": 526, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18142, "end": 18149, "loc": { "start": { "line": 526, "column": 30 }, "end": { "line": 526, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 18151, "end": 18173, "loc": { "start": { "line": 526, "column": 39 }, "end": { "line": 526, "column": 61 } }, "object": { "type": "ThisExpression", "start": 18151, "end": 18155, "loc": { "start": { "line": 526, "column": 39 }, "end": { "line": 526, "column": 43 } } }, "property": { "type": "Identifier", "start": 18156, "end": 18173, "loc": { "start": { "line": 526, "column": 44 }, "end": { "line": 526, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 18181, "end": 18242, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 65 } }, "expression": { "type": "CallExpression", "start": 18181, "end": 18241, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 18181, "end": 18206, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 29 } }, "object": { "type": "Identifier", "start": 18181, "end": 18189, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18190, "end": 18206, "loc": { "start": { "line": 527, "column": 13 }, "end": { "line": 527, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18207, "end": 18216, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 18218, "end": 18240, "loc": { "start": { "line": 527, "column": 41 }, "end": { "line": 527, "column": 63 } }, "object": { "type": "ThisExpression", "start": 18218, "end": 18222, "loc": { "start": { "line": 527, "column": 41 }, "end": { "line": 527, "column": 45 } } }, "property": { "type": "Identifier", "start": 18223, "end": 18240, "loc": { "start": { "line": 527, "column": 46 }, "end": { "line": 527, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 18248, "end": 18310, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 66 } }, "expression": { "type": "CallExpression", "start": 18248, "end": 18309, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 18248, "end": 18273, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 29 } }, "object": { "type": "Identifier", "start": 18248, "end": 18256, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18257, "end": 18273, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18274, "end": 18284, "loc": { "start": { "line": 528, "column": 30 }, "end": { "line": 528, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 18286, "end": 18308, "loc": { "start": { "line": 528, "column": 42 }, "end": { "line": 528, "column": 64 } }, "object": { "type": "ThisExpression", "start": 18286, "end": 18290, "loc": { "start": { "line": 528, "column": 42 }, "end": { "line": 528, "column": 46 } } }, "property": { "type": "Identifier", "start": 18291, "end": 18308, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [] }, "alternate": null } ], "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": 18326, "end": 18438, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18442, "end": 19279, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 562, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18442, "end": 18459, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18460, "end": 18465, "loc": { "start": { "line": 535, "column": 20 }, "end": { "line": 535, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 18466, "end": 19279, "loc": { "start": { "line": 535, "column": 26 }, "end": { "line": 562, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 18473, "end": 18491, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 536, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18477, "end": 18490, "loc": { "start": { "line": 536, "column": 8 }, "end": { "line": 536, "column": 21 } }, "id": { "type": "Identifier", "start": 18477, "end": 18490, "loc": { "start": { "line": 536, "column": 8 }, "end": { "line": 536, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 18497, "end": 18588, "loc": { "start": { "line": 537, "column": 4 }, "end": { "line": 539, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18500, "end": 18520, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18500, "end": 18512, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 19 } }, "object": { "type": "Identifier", "start": 18500, "end": 18505, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 12 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18506, "end": 18512, "loc": { "start": { "line": 537, "column": 13 }, "end": { "line": 537, "column": 19 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18513, "end": 18520, "loc": { "start": { "line": 537, "column": 20 }, "end": { "line": 537, "column": 27 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18521, "end": 18588, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 539, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18530, "end": 18581, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 18530, "end": 18580, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 18530, "end": 18543, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "right": { "type": "CallExpression", "start": 18546, "end": 18580, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 18546, "end": 18578, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18546, "end": 18566, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18546, "end": 18558, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 34 } }, "object": { "type": "Identifier", "start": 18546, "end": 18551, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18552, "end": 18558, "loc": { "start": { "line": 538, "column": 28 }, "end": { "line": 538, "column": 34 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18559, "end": 18566, "loc": { "start": { "line": 538, "column": 35 }, "end": { "line": 538, "column": 42 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18567, "end": 18578, "loc": { "start": { "line": 538, "column": 43 }, "end": { "line": 538, "column": 54 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 18596, "end": 19274, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 561, "column": 7 } }, "expression": { "type": "CallExpression", "start": 18596, "end": 19273, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 561, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 18596, "end": 18609, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 17 } }, "object": { "type": "ThisExpression", "start": 18596, "end": 18600, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 8 } } }, "property": { "type": "Identifier", "start": 18601, "end": 18609, "loc": { "start": { "line": 541, "column": 9 }, "end": { "line": 541, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18610, "end": 19272, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 561, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18610, "end": 18618, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 26 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 18622, "end": 19272, "loc": { "start": { "line": 541, "column": 30 }, "end": { "line": 561, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 18631, "end": 18702, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 544, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18634, "end": 18654, "loc": { "start": { "line": 542, "column": 9 }, "end": { "line": 542, "column": 29 } }, "object": { "type": "Identifier", "start": 18634, "end": 18642, "loc": { "start": { "line": 542, "column": 9 }, "end": { "line": 542, "column": 17 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 18643, "end": 18654, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 29 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18655, "end": 18702, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 544, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18666, "end": 18695, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 18666, "end": 18694, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18666, "end": 18686, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 28 } }, "object": { "type": "Identifier", "start": 18666, "end": 18674, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 16 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 18675, "end": 18686, "loc": { "start": { "line": 543, "column": 17 }, "end": { "line": 543, "column": 28 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 18689, "end": 18694, "loc": { "start": { "line": 543, "column": 31 }, "end": { "line": 543, "column": 36 } }, "value": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 18710, "end": 19265, "loc": { "start": { "line": 546, "column": 4 }, "end": { "line": 560, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 18721, "end": 18841, "loc": { "start": { "line": 547, "column": 6 }, "end": { "line": 549, "column": 49 } }, "left": { "type": "LogicalExpression", "start": 18722, "end": 18786, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 548, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 18722, "end": 18750, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 35 } }, "left": { "type": "Identifier", "start": 18722, "end": 18735, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 20 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18740, "end": 18750, "loc": { "start": { "line": 547, "column": 25 }, "end": { "line": 547, "column": 35 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 18761, "end": 18786, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 31 } }, "left": { "type": "Identifier", "start": 18761, "end": 18774, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18779, "end": 18786, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } }, "extra": { "parenthesized": true, "parenStart": 18721 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 18800, "end": 18841, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18801, "end": 18841, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 49 } }, "object": { "type": "MemberExpression", "start": 18801, "end": 18817, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 25 } }, "object": { "type": "Identifier", "start": 18801, "end": 18809, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 17 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 18810, "end": 18817, "loc": { "start": { "line": 549, "column": 18 }, "end": { "line": 549, "column": 25 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18818, "end": 18841, "loc": { "start": { "line": 549, "column": 26 }, "end": { "line": 549, "column": 49 }, "identifierName": "disableCaretPositioning" }, "name": "disableCaretPositioning" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 18848, "end": 19265, "loc": { "start": { "line": 550, "column": 5 }, "end": { "line": 560, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19015, "end": 19068, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 19015, "end": 19067, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19015, "end": 19037, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 30 } }, "object": { "type": "Identifier", "start": 19015, "end": 19023, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 16 }, "identifierName": "instance" }, "name": "instance", "leadingComments": null }, "property": { "type": "Identifier", "start": 19024, "end": 19037, "loc": { "start": { "line": 555, "column": 17 }, "end": { "line": 555, "column": 30 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 19040, "end": 19067, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 60 } }, "object": { "type": "MemberExpression", "start": 19040, "end": 19052, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 45 } }, "object": { "type": "Identifier", "start": 19040, "end": 19045, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 38 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 19046, "end": 19052, "loc": { "start": { "line": 555, "column": 39 }, "end": { "line": 555, "column": 45 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 19053, "end": 19067, "loc": { "start": { "line": 555, "column": 46 }, "end": { "line": 555, "column": 60 }, "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": 18857, "end": 19005, "loc": { "start": { "line": 551, "column": 6 }, "end": { "line": 554, "column": 9 } } } ] }, { "type": "IfStatement", "start": 19080, "end": 19253, "loc": { "start": { "line": 557, "column": 8 }, "end": { "line": 559, "column": 7 } }, "test": { "type": "MemberExpression", "start": 19083, "end": 19105, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 33 } }, "object": { "type": "MemberExpression", "start": 19083, "end": 19099, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 27 } }, "object": { "type": "Identifier", "start": 19083, "end": 19091, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 19 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 19092, "end": 19099, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19100, "end": 19105, "loc": { "start": { "line": 557, "column": 28 }, "end": { "line": 557, "column": 33 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 19106, "end": 19253, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 559, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 19119, "end": 19244, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 135 } }, "expression": { "type": "CallExpression", "start": 19119, "end": 19243, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 134 } }, "callee": { "type": "MemberExpression", "start": 19119, "end": 19130, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 21 } }, "object": { "type": "Identifier", "start": 19119, "end": 19126, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 19127, "end": 19130, "loc": { "start": { "line": 558, "column": 18 }, "end": { "line": 558, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19131, "end": 19143, "loc": { "start": { "line": 558, "column": 22 }, "end": { "line": 558, "column": 34 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 19145, "end": 19172, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 63 } }, "object": { "type": "MemberExpression", "start": 19145, "end": 19157, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 48 } }, "object": { "type": "Identifier", "start": 19145, "end": 19150, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 41 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 19151, "end": 19157, "loc": { "start": { "line": 558, "column": 42 }, "end": { "line": 558, "column": 48 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 19158, "end": 19172, "loc": { "start": { "line": 558, "column": 49 }, "end": { "line": 558, "column": 63 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 19174, "end": 19208, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 19174, "end": 19206, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 97 } }, "object": { "type": "MemberExpression", "start": 19174, "end": 19194, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 85 } }, "object": { "type": "MemberExpression", "start": 19174, "end": 19186, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 77 } }, "object": { "type": "Identifier", "start": 19174, "end": 19179, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 70 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 19180, "end": 19186, "loc": { "start": { "line": 558, "column": 71 }, "end": { "line": 558, "column": 77 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 19187, "end": 19194, "loc": { "start": { "line": 558, "column": 78 }, "end": { "line": 558, "column": 85 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 19195, "end": 19206, "loc": { "start": { "line": 558, "column": 86 }, "end": { "line": 558, "column": 97 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] }, { "type": "TemplateLiteral", "start": 19210, "end": 19242, "loc": { "start": { "line": 558, "column": 101 }, "end": { "line": 558, "column": 133 } }, "expressions": [ { "type": "MemberExpression", "start": 19214, "end": 19239, "loc": { "start": { "line": 558, "column": 105 }, "end": { "line": 558, "column": 130 } }, "object": { "type": "Identifier", "start": 19214, "end": 19222, "loc": { "start": { "line": 558, "column": 105 }, "end": { "line": 558, "column": 113 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 19223, "end": 19239, "loc": { "start": { "line": 558, "column": 114 }, "end": { "line": 558, "column": 130 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19211, "end": 19212, "loc": { "start": { "line": 558, "column": 102 }, "end": { "line": 558, "column": 103 } }, "value": { "raw": "(", "cooked": "(" }, "tail": false }, { "type": "TemplateElement", "start": 19240, "end": 19241, "loc": { "start": { "line": 558, "column": 131 }, "end": { "line": 558, "column": 132 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } } ], "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": 18326, "end": 18438, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "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": 19285, "end": 19405, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 566, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19409, "end": 19669, "loc": { "start": { "line": 567, "column": 2 }, "end": { "line": 579, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19409, "end": 19415, "loc": { "start": { "line": 567, "column": 2 }, "end": { "line": 567, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19417, "end": 19669, "loc": { "start": { "line": 567, "column": 10 }, "end": { "line": 579, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19424, "end": 19513, "loc": { "start": { "line": 568, "column": 4 }, "end": { "line": 570, "column": 5 } }, "test": { "type": "MemberExpression", "start": 19427, "end": 19445, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 25 } }, "object": { "type": "MemberExpression", "start": 19427, "end": 19439, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 19 } }, "object": { "type": "ThisExpression", "start": 19427, "end": 19431, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 11 } } }, "property": { "type": "Identifier", "start": 19432, "end": 19439, "loc": { "start": { "line": 568, "column": 12 }, "end": { "line": 568, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19440, "end": 19445, "loc": { "start": { "line": 568, "column": 20 }, "end": { "line": 568, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 19446, "end": 19513, "loc": { "start": { "line": 568, "column": 26 }, "end": { "line": 570, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19455, "end": 19506, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 57 } }, "expression": { "type": "CallExpression", "start": 19455, "end": 19506, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 19455, "end": 19466, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 17 } }, "object": { "type": "Identifier", "start": 19455, "end": 19462, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 19463, "end": 19466, "loc": { "start": { "line": 569, "column": 14 }, "end": { "line": 569, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 19467, "end": 19505, "loc": { "start": { "line": 569, "column": 18 }, "end": { "line": 569, "column": 56 } }, "expressions": [ { "type": "MemberExpression", "start": 19470, "end": 19491, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 42 } }, "object": { "type": "ThisExpression", "start": 19470, "end": 19474, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 25 } } }, "property": { "type": "Identifier", "start": 19475, "end": 19491, "loc": { "start": { "line": 569, "column": 26 }, "end": { "line": 569, "column": 42 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19468, "end": 19468, "loc": { "start": { "line": 569, "column": 19 }, "end": { "line": 569, "column": 19 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 19492, "end": 19504, "loc": { "start": { "line": 569, "column": 43 }, "end": { "line": 569, "column": 55 } }, "value": { "raw": " Initialized", "cooked": " Initialized" }, "tail": true } ] } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 19521, "end": 19556, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 574, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19562, "end": 19581, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 23 } }, "expression": { "type": "CallExpression", "start": 19562, "end": 19580, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 19562, "end": 19578, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19562, "end": 19566, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19567, "end": 19578, "loc": { "start": { "line": 575, "column": 9 }, "end": { "line": 575, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 19521, "end": 19556, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 574, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19589, "end": 19664, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 578, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 19592, "end": 19633, "loc": { "start": { "line": 577, "column": 7 }, "end": { "line": 577, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 19592, "end": 19618, "loc": { "start": { "line": 577, "column": 7 }, "end": { "line": 577, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19599, "end": 19618, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 33 } }, "object": { "type": "MemberExpression", "start": 19599, "end": 19611, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19599, "end": 19603, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 18 } } }, "property": { "type": "Identifier", "start": 19604, "end": 19611, "loc": { "start": { "line": 577, "column": 19 }, "end": { "line": 577, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19612, "end": 19618, "loc": { "start": { "line": 577, "column": 27 }, "end": { "line": 577, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19623, "end": 19633, "loc": { "start": { "line": 577, "column": 38 }, "end": { "line": 577, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19642, "end": 19664, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 28 } }, "expression": { "type": "CallExpression", "start": 19642, "end": 19663, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 19642, "end": 19661, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 25 } }, "object": { "type": "MemberExpression", "start": 19642, "end": 19654, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19642, "end": 19646, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 10 } } }, "property": { "type": "Identifier", "start": 19647, "end": 19654, "loc": { "start": { "line": 578, "column": 11 }, "end": { "line": 578, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19655, "end": 19661, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "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": 19285, "end": 19405, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 566, "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": 19675, "end": 19793, "loc": { "start": { "line": 581, "column": 2 }, "end": { "line": 583, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19797, "end": 19898, "loc": { "start": { "line": 584, "column": 2 }, "end": { "line": 587, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19797, "end": 19805, "loc": { "start": { "line": 584, "column": 2 }, "end": { "line": 584, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19807, "end": 19898, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 587, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19814, "end": 19893, "loc": { "start": { "line": 585, "column": 4 }, "end": { "line": 586, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 19817, "end": 19860, "loc": { "start": { "line": 585, "column": 7 }, "end": { "line": 585, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 19817, "end": 19845, "loc": { "start": { "line": 585, "column": 7 }, "end": { "line": 585, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19824, "end": 19845, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19824, "end": 19836, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19824, "end": 19828, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 18 } } }, "property": { "type": "Identifier", "start": 19829, "end": 19836, "loc": { "start": { "line": 585, "column": 19 }, "end": { "line": 585, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19837, "end": 19845, "loc": { "start": { "line": 585, "column": 27 }, "end": { "line": 585, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19850, "end": 19860, "loc": { "start": { "line": 585, "column": 40 }, "end": { "line": 585, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19869, "end": 19893, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 30 } }, "expression": { "type": "CallExpression", "start": 19869, "end": 19892, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 19869, "end": 19890, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 27 } }, "object": { "type": "MemberExpression", "start": 19869, "end": 19881, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19869, "end": 19873, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } } }, "property": { "type": "Identifier", "start": 19874, "end": 19881, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19882, "end": 19890, "loc": { "start": { "line": 586, "column": 19 }, "end": { "line": 586, "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": 19675, "end": 19793, "loc": { "start": { "line": 581, "column": 2 }, "end": { "line": 583, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19903, "end": 19982, "loc": { "start": { "line": 589, "column": 1 }, "end": { "line": 591, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 19986, "end": 20108, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 595, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19986, "end": 20001, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 592, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20003, "end": 20108, "loc": { "start": { "line": 592, "column": 19 }, "end": { "line": 595, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20010, "end": 20103, "loc": { "start": { "line": 593, "column": 4 }, "end": { "line": 594, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 20013, "end": 20063, "loc": { "start": { "line": 593, "column": 7 }, "end": { "line": 593, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 20013, "end": 20048, "loc": { "start": { "line": 593, "column": 7 }, "end": { "line": 593, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 20020, "end": 20048, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 42 } }, "object": { "type": "MemberExpression", "start": 20020, "end": 20032, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20020, "end": 20024, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 18 } } }, "property": { "type": "Identifier", "start": 20025, "end": 20032, "loc": { "start": { "line": 593, "column": 19 }, "end": { "line": 593, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20033, "end": 20048, "loc": { "start": { "line": 593, "column": 27 }, "end": { "line": 593, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 20053, "end": 20063, "loc": { "start": { "line": 593, "column": 47 }, "end": { "line": 593, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 20072, "end": 20103, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 37 } }, "expression": { "type": "CallExpression", "start": 20072, "end": 20102, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 20072, "end": 20100, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 34 } }, "object": { "type": "MemberExpression", "start": 20072, "end": 20084, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20072, "end": 20076, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 10 } } }, "property": { "type": "Identifier", "start": 20077, "end": 20084, "loc": { "start": { "line": 594, "column": 11 }, "end": { "line": 594, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20085, "end": 20100, "loc": { "start": { "line": 594, "column": 19 }, "end": { "line": 594, "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": 19903, "end": 19982, "loc": { "start": { "line": 589, "column": 1 }, "end": { "line": 591, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 20114, "end": 20146, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 599, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20150, "end": 20299, "loc": { "start": { "line": 600, "column": 2 }, "end": { "line": 605, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20150, "end": 20164, "loc": { "start": { "line": 600, "column": 2 }, "end": { "line": 600, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20167, "end": 20299, "loc": { "start": { "line": 600, "column": 19 }, "end": { "line": 605, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20168, "end": 20172, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 20174, "end": 20186, "loc": { "start": { "line": 600, "column": 26 }, "end": { "line": 600, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 20191, "end": 20299, "loc": { "start": { "line": 600, "column": 43 }, "end": { "line": 605, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20198, "end": 20253, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 602, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 20201, "end": 20220, "loc": { "start": { "line": 601, "column": 7 }, "end": { "line": 601, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 20202, "end": 20220, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20202, "end": 20214, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20202, "end": 20206, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 12 } } }, "property": { "type": "Identifier", "start": 20207, "end": 20214, "loc": { "start": { "line": 601, "column": 13 }, "end": { "line": 601, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20215, "end": 20219, "loc": { "start": { "line": 601, "column": 21 }, "end": { "line": 601, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 20229, "end": 20253, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 20229, "end": 20252, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20229, "end": 20247, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 24 } }, "object": { "type": "MemberExpression", "start": 20229, "end": 20241, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20229, "end": 20233, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 10 } } }, "property": { "type": "Identifier", "start": 20234, "end": 20241, "loc": { "start": { "line": 602, "column": 11 }, "end": { "line": 602, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20242, "end": 20246, "loc": { "start": { "line": 602, "column": 19 }, "end": { "line": 602, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 20250, "end": 20252, "loc": { "start": { "line": 602, "column": 27 }, "end": { "line": 602, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 20261, "end": 20294, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 37 } }, "expression": { "type": "CallExpression", "start": 20261, "end": 20293, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 36 } }, "callee": { "type": "Identifier", "start": 20261, "end": 20273, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 20274, "end": 20292, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 35 } }, "object": { "type": "MemberExpression", "start": 20274, "end": 20286, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20274, "end": 20278, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 21 } } }, "property": { "type": "Identifier", "start": 20279, "end": 20286, "loc": { "start": { "line": 604, "column": 22 }, "end": { "line": 604, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20287, "end": 20291, "loc": { "start": { "line": 604, "column": 30 }, "end": { "line": 604, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 20114, "end": 20146, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 599, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 20305, "end": 20334, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20338, "end": 20979, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 629, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20338, "end": 20349, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 610, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20351, "end": 20979, "loc": { "start": { "line": 610, "column": 15 }, "end": { "line": 629, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20358, "end": 20974, "loc": { "start": { "line": 611, "column": 4 }, "end": { "line": 628, "column": 5 } }, "test": { "type": "CallExpression", "start": 20361, "end": 20396, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 20361, "end": 20374, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 20 } }, "object": { "type": "Identifier", "start": 20361, "end": 20366, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 20367, "end": 20374, "loc": { "start": { "line": 611, "column": 13 }, "end": { "line": 611, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20375, "end": 20395, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20375, "end": 20387, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 33 } }, "object": { "type": "ThisExpression", "start": 20375, "end": 20379, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 25 } } }, "property": { "type": "Identifier", "start": 20380, "end": 20387, "loc": { "start": { "line": 611, "column": 26 }, "end": { "line": 611, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20388, "end": 20395, "loc": { "start": { "line": 611, "column": 34 }, "end": { "line": 611, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 20397, "end": 20974, "loc": { "start": { "line": 611, "column": 43 }, "end": { "line": 628, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20406, "end": 20826, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 622, "column": 9 } }, "expression": { "type": "CallExpression", "start": 20406, "end": 20825, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 622, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 20406, "end": 20434, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 34 } }, "object": { "type": "MemberExpression", "start": 20406, "end": 20426, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20406, "end": 20418, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20406, "end": 20410, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 10 } } }, "property": { "type": "Identifier", "start": 20411, "end": 20418, "loc": { "start": { "line": 612, "column": 11 }, "end": { "line": 612, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20419, "end": 20426, "loc": { "start": { "line": 612, "column": 19 }, "end": { "line": 612, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20427, "end": 20434, "loc": { "start": { "line": 612, "column": 27 }, "end": { "line": 612, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20435, "end": 20824, "loc": { "start": { "line": 612, "column": 35 }, "end": { "line": 622, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20435, "end": 20441, "loc": { "start": { "line": 612, "column": 35 }, "end": { "line": 612, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 20445, "end": 20824, "loc": { "start": { "line": 612, "column": 45 }, "end": { "line": 622, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 20456, "end": 20482, "loc": { "start": { "line": 613, "column": 8 }, "end": { "line": 613, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20460, "end": 20481, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 33 } }, "id": { "type": "Identifier", "start": 20460, "end": 20466, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 20469, "end": 20481, "loc": { "start": { "line": 613, "column": 21 }, "end": { "line": 613, "column": 33 } }, "callee": { "type": "Identifier", "start": 20473, "end": 20479, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 20494, "end": 20520, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 34 } } } ] }, { "type": "IfStatement", "start": 20530, "end": 20785, "loc": { "start": { "line": 616, "column": 8 }, "end": { "line": 619, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 20533, "end": 20598, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 76 } }, "left": { "type": "MemberExpression", "start": 20533, "end": 20556, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 34 } }, "object": { "type": "MemberExpression", "start": 20533, "end": 20551, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 29 } }, "object": { "type": "Identifier", "start": 20533, "end": 20539, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 20540, "end": 20551, "loc": { "start": { "line": 616, "column": 18 }, "end": { "line": 616, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20552, "end": 20556, "loc": { "start": { "line": 616, "column": 30 }, "end": { "line": 616, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 20560, "end": 20598, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 76 } }, "left": { "type": "MemberExpression", "start": 20560, "end": 20583, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 61 } }, "object": { "type": "MemberExpression", "start": 20560, "end": 20578, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 56 } }, "object": { "type": "Identifier", "start": 20560, "end": 20566, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20567, "end": 20578, "loc": { "start": { "line": 616, "column": 45 }, "end": { "line": 616, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20579, "end": 20583, "loc": { "start": { "line": 616, "column": 57 }, "end": { "line": 616, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 20588, "end": 20598, "loc": { "start": { "line": 616, "column": 66 }, "end": { "line": 616, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20599, "end": 20785, "loc": { "start": { "line": 616, "column": 77 }, "end": { "line": 619, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20612, "end": 20689, "loc": { "start": { "line": 617, "column": 10 }, "end": { "line": 617, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20616, "end": 20688, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 86 } }, "id": { "type": "Identifier", "start": 20616, "end": 20624, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 20627, "end": 20688, "loc": { "start": { "line": 617, "column": 25 }, "end": { "line": 617, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 20637, "end": 20686, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 20637, "end": 20661, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 59 } }, "object": { "type": "MemberExpression", "start": 20637, "end": 20651, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 49 } }, "object": { "type": "ThisExpression", "start": 20637, "end": 20641, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 39 } } }, "property": { "type": "Identifier", "start": 20642, "end": 20651, "loc": { "start": { "line": 617, "column": 40 }, "end": { "line": 617, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 20652, "end": 20661, "loc": { "start": { "line": 617, "column": 50 }, "end": { "line": 617, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20662, "end": 20685, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 83 } }, "object": { "type": "MemberExpression", "start": 20662, "end": 20680, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 78 } }, "object": { "type": "Identifier", "start": 20662, "end": 20668, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20669, "end": 20680, "loc": { "start": { "line": 617, "column": 67 }, "end": { "line": 617, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20681, "end": 20685, "loc": { "start": { "line": 617, "column": 79 }, "end": { "line": 617, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 20628, "end": 20635, "loc": { "start": { "line": 617, "column": 26 }, "end": { "line": 617, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 20687, "end": 20687, "loc": { "start": { "line": 617, "column": 85 }, "end": { "line": 617, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 20701, "end": 20774, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 20701, "end": 20773, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20701, "end": 20727, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 36 } }, "object": { "type": "ThisExpression", "start": 20701, "end": 20705, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 14 } } }, "property": { "type": "Identifier", "start": 20706, "end": 20727, "loc": { "start": { "line": 618, "column": 15 }, "end": { "line": 618, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20730, "end": 20773, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 82 } }, "left": { "type": "MemberExpression", "start": 20730, "end": 20756, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 65 } }, "object": { "type": "ThisExpression", "start": 20730, "end": 20734, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 43 } } }, "property": { "type": "Identifier", "start": 20735, "end": 20756, "loc": { "start": { "line": 618, "column": 44 }, "end": { "line": 618, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 20759, "end": 20773, "loc": { "start": { "line": 618, "column": 68 }, "end": { "line": 618, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 20763, "end": 20771, "loc": { "start": { "line": 618, "column": 72 }, "end": { "line": 618, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 20760, "end": 20761, "loc": { "start": { "line": 618, "column": 69 }, "end": { "line": 618, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20772, "end": 20772, "loc": { "start": { "line": 618, "column": 81 }, "end": { "line": 618, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 20494, "end": 20520, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 20797, "end": 20815, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 26 } }, "expression": { "type": "CallExpression", "start": 20797, "end": 20814, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 20797, "end": 20808, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 19 } }, "object": { "type": "Identifier", "start": 20797, "end": 20803, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20804, "end": 20808, "loc": { "start": { "line": 621, "column": 15 }, "end": { "line": 621, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 20809, "end": 20813, "loc": { "start": { "line": 621, "column": 20 }, "end": { "line": 621, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 20836, "end": 20912, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 20836, "end": 20911, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20836, "end": 20862, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 32 } }, "object": { "type": "ThisExpression", "start": 20836, "end": 20840, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 10 } } }, "property": { "type": "Identifier", "start": 20841, "end": 20862, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20865, "end": 20911, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 81 } }, "left": { "type": "MemberExpression", "start": 20865, "end": 20891, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20865, "end": 20869, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 39 } } }, "property": { "type": "Identifier", "start": 20870, "end": 20891, "loc": { "start": { "line": 624, "column": 40 }, "end": { "line": 624, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 20894, "end": 20911, "loc": { "start": { "line": 624, "column": 64 }, "end": { "line": 624, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 20922, "end": 20936, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 20 } }, "expression": { "type": "CallExpression", "start": 20922, "end": 20935, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 20922, "end": 20933, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 17 } }, "object": { "type": "ThisExpression", "start": 20922, "end": 20926, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 10 } } }, "property": { "type": "Identifier", "start": 20927, "end": 20933, "loc": { "start": { "line": 626, "column": 11 }, "end": { "line": 626, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 20944, "end": 20967, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 29 } }, "expression": { "type": "CallExpression", "start": 20944, "end": 20966, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 20944, "end": 20964, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20944, "end": 20948, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 10 } } }, "property": { "type": "Identifier", "start": 20949, "end": 20964, "loc": { "start": { "line": 627, "column": 11 }, "end": { "line": 627, "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": 20305, "end": 20334, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20985, "end": 21017, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 633, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 21021, "end": 21153, "loc": { "start": { "line": 634, "column": 2 }, "end": { "line": 639, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21021, "end": 21034, "loc": { "start": { "line": 634, "column": 2 }, "end": { "line": 634, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 21037, "end": 21153, "loc": { "start": { "line": 634, "column": 18 }, "end": { "line": 639, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21038, "end": 21042, "loc": { "start": { "line": 634, "column": 19 }, "end": { "line": 634, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 21044, "end": 21048, "loc": { "start": { "line": 634, "column": 25 }, "end": { "line": 634, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 21053, "end": 21153, "loc": { "start": { "line": 634, "column": 34 }, "end": { "line": 639, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 21060, "end": 21104, "loc": { "start": { "line": 635, "column": 4 }, "end": { "line": 636, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 21063, "end": 21082, "loc": { "start": { "line": 635, "column": 7 }, "end": { "line": 635, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 21064, "end": 21082, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 26 } }, "object": { "type": "MemberExpression", "start": 21064, "end": 21076, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 20 } }, "object": { "type": "ThisExpression", "start": 21064, "end": 21068, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 12 } } }, "property": { "type": "Identifier", "start": 21069, "end": 21076, "loc": { "start": { "line": 635, "column": 13 }, "end": { "line": 635, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 21077, "end": 21081, "loc": { "start": { "line": 635, "column": 21 }, "end": { "line": 635, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 21091, "end": 21104, "loc": { "start": { "line": 636, "column": 6 }, "end": { "line": 636, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 21098, "end": 21103, "loc": { "start": { "line": 636, "column": 13 }, "end": { "line": 636, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 21116, "end": 21148, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 638, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 21123, "end": 21147, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 35 } }, "object": { "type": "MemberExpression", "start": 21123, "end": 21141, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 29 } }, "object": { "type": "MemberExpression", "start": 21123, "end": 21135, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21123, "end": 21127, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 15 } } }, "property": { "type": "Identifier", "start": 21128, "end": 21135, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 21136, "end": 21140, "loc": { "start": { "line": 638, "column": 24 }, "end": { "line": 638, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 21142, "end": 21146, "loc": { "start": { "line": 638, "column": 30 }, "end": { "line": 638, "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": 20985, "end": 21017, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 633, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 21159, "end": 21190, "loc": { "start": { "line": 641, "column": 2 }, "end": { "line": 643, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 21194, "end": 21262, "loc": { "start": { "line": 644, "column": 2 }, "end": { "line": 646, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21194, "end": 21208, "loc": { "start": { "line": 644, "column": 2 }, "end": { "line": 644, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 21211, "end": 21262, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 646, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 21217, "end": 21262, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 646, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 21224, "end": 21257, "loc": { "start": { "line": 645, "column": 4 }, "end": { "line": 645, "column": 37 } }, "argument": { "type": "CallExpression", "start": 21231, "end": 21256, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 21231, "end": 21242, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 22 } }, "object": { "type": "Identifier", "start": 21231, "end": 21237, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 21238, "end": 21242, "loc": { "start": { "line": 645, "column": 18 }, "end": { "line": 645, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21243, "end": 21255, "loc": { "start": { "line": 645, "column": 23 }, "end": { "line": 645, "column": 35 } }, "object": { "type": "ThisExpression", "start": 21243, "end": 21247, "loc": { "start": { "line": 645, "column": 23 }, "end": { "line": 645, "column": 27 } } }, "property": { "type": "Identifier", "start": 21248, "end": 21255, "loc": { "start": { "line": 645, "column": 28 }, "end": { "line": 645, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 21159, "end": 21190, "loc": { "start": { "line": 641, "column": 2 }, "end": { "line": 643, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 21268, "end": 21324, "loc": { "start": { "line": 648, "column": 2 }, "end": { "line": 650, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 21328, "end": 26322, "loc": { "start": { "line": 651, "column": 2 }, "end": { "line": 812, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21328, "end": 21334, "loc": { "start": { "line": 651, "column": 2 }, "end": { "line": 651, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 21336, "end": 26322, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 812, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 21384, "end": 21397, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 17 } }, "expression": { "type": "CallExpression", "start": 21384, "end": 21396, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 21384, "end": 21394, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 14 } }, "object": { "type": "ThisExpression", "start": 21384, "end": 21388, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21389, "end": 21394, "loc": { "start": { "line": 655, "column": 9 }, "end": { "line": 655, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 21343, "end": 21378, "loc": { "start": { "line": 652, "column": 4 }, "end": { "line": 654, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 21405, "end": 21505, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 657, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21409, "end": 21504, "loc": { "start": { "line": 657, "column": 8 }, "end": { "line": 657, "column": 103 } }, "id": { "type": "Identifier", "start": 21409, "end": 21420, "loc": { "start": { "line": 657, "column": 8 }, "end": { "line": 657, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 21423, "end": 21504, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 103 } }, "test": { "type": "MemberExpression", "start": 21423, "end": 21442, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 41 } }, "object": { "type": "MemberExpression", "start": 21423, "end": 21435, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21423, "end": 21427, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 26 } } }, "property": { "type": "Identifier", "start": 21428, "end": 21435, "loc": { "start": { "line": 657, "column": 27 }, "end": { "line": 657, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21436, "end": 21442, "loc": { "start": { "line": 657, "column": 35 }, "end": { "line": 657, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 21445, "end": 21463, "loc": { "start": { "line": 657, "column": 44 }, "end": { "line": 657, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 21466, "end": 21504, "loc": { "start": { "line": 657, "column": 65 }, "end": { "line": 657, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 21479, "end": 21502, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 101 } }, "object": { "type": "MemberExpression", "start": 21479, "end": 21491, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 90 } }, "object": { "type": "ThisExpression", "start": 21479, "end": 21483, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 82 } } }, "property": { "type": "Identifier", "start": 21484, "end": 21491, "loc": { "start": { "line": 657, "column": 83 }, "end": { "line": 657, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21492, "end": 21502, "loc": { "start": { "line": 657, "column": 91 }, "end": { "line": 657, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21467, "end": 21477, "loc": { "start": { "line": 657, "column": 66 }, "end": { "line": 657, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 21503, "end": 21503, "loc": { "start": { "line": 657, "column": 102 }, "end": { "line": 657, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21511, "end": 21581, "loc": { "start": { "line": 658, "column": 4 }, "end": { "line": 658, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21515, "end": 21580, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 73 } }, "id": { "type": "Identifier", "start": 21515, "end": 21521, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 21524, "end": 21580, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 73 } }, "left": { "type": "MemberExpression", "start": 21524, "end": 21543, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 36 } }, "object": { "type": "MemberExpression", "start": 21524, "end": 21536, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 29 } }, "object": { "type": "ThisExpression", "start": 21524, "end": 21528, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 21 } } }, "property": { "type": "Identifier", "start": 21529, "end": 21536, "loc": { "start": { "line": 658, "column": 22 }, "end": { "line": 658, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21537, "end": 21543, "loc": { "start": { "line": 658, "column": 30 }, "end": { "line": 658, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 21547, "end": 21580, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 21547, "end": 21578, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 71 } }, "object": { "type": "Identifier", "start": 21547, "end": 21561, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 21562, "end": 21578, "loc": { "start": { "line": 658, "column": 55 }, "end": { "line": 658, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21587, "end": 21644, "loc": { "start": { "line": 659, "column": 4 }, "end": { "line": 659, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21591, "end": 21644, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 61 } }, "id": { "type": "Identifier", "start": 21591, "end": 21605, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 22 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "init": { "type": "LogicalExpression", "start": 21608, "end": 21644, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 61 } }, "left": { "type": "MemberExpression", "start": 21608, "end": 21635, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 52 } }, "object": { "type": "MemberExpression", "start": 21608, "end": 21620, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 37 } }, "object": { "type": "ThisExpression", "start": 21608, "end": 21612, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 29 } } }, "property": { "type": "Identifier", "start": 21613, "end": 21620, "loc": { "start": { "line": 659, "column": 30 }, "end": { "line": 659, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21621, "end": 21635, "loc": { "start": { "line": 659, "column": 38 }, "end": { "line": 659, "column": 52 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "computed": false }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 21639, "end": 21644, "loc": { "start": { "line": 659, "column": 56 }, "end": { "line": 659, "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": 21652, "end": 21704, "loc": { "start": { "line": 661, "column": 4 }, "end": { "line": 663, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 21710, "end": 21738, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 664, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21714, "end": 21737, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 31 } }, "id": { "type": "Identifier", "start": 21714, "end": 21732, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 21735, "end": 21737, "loc": { "start": { "line": 664, "column": 29 }, "end": { "line": 664, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21652, "end": 21704, "loc": { "start": { "line": 661, "column": 4 }, "end": { "line": 663, "column": 7 } } } ] }, { "type": "IfStatement", "start": 21744, "end": 22883, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 693, "column": 5 } }, "test": { "type": "CallExpression", "start": 21747, "end": 21786, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 21747, "end": 21760, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 20 } }, "object": { "type": "Identifier", "start": 21747, "end": 21752, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 21753, "end": 21760, "loc": { "start": { "line": 665, "column": 13 }, "end": { "line": 665, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21761, "end": 21785, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 45 } }, "object": { "type": "MemberExpression", "start": 21761, "end": 21773, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 33 } }, "object": { "type": "ThisExpression", "start": 21761, "end": 21765, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 25 } } }, "property": { "type": "Identifier", "start": 21766, "end": 21773, "loc": { "start": { "line": 665, "column": 26 }, "end": { "line": 665, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21774, "end": 21785, "loc": { "start": { "line": 665, "column": 34 }, "end": { "line": 665, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 21787, "end": 22883, "loc": { "start": { "line": 665, "column": 47 }, "end": { "line": 693, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 21796, "end": 22876, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 692, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21796, "end": 22875, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 692, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21796, "end": 21828, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 38 } }, "object": { "type": "MemberExpression", "start": 21796, "end": 21820, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21796, "end": 21808, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 18 } }, "object": { "type": "ThisExpression", "start": 21796, "end": 21800, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 10 } } }, "property": { "type": "Identifier", "start": 21801, "end": 21808, "loc": { "start": { "line": 666, "column": 11 }, "end": { "line": 666, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21809, "end": 21820, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 21821, "end": 21828, "loc": { "start": { "line": 666, "column": 31 }, "end": { "line": 666, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21829, "end": 22874, "loc": { "start": { "line": 666, "column": 39 }, "end": { "line": 692, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21829, "end": 21837, "loc": { "start": { "line": 666, "column": 39 }, "end": { "line": 666, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 21841, "end": 22874, "loc": { "start": { "line": 666, "column": 51 }, "end": { "line": 692, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 21852, "end": 22865, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 691, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 21855, "end": 21889, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 45 } }, "left": { "type": "MemberExpression", "start": 21855, "end": 21871, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 27 } }, "object": { "type": "Identifier", "start": 21855, "end": 21863, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21864, "end": 21871, "loc": { "start": { "line": 667, "column": 20 }, "end": { "line": 667, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 21875, "end": 21889, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 45 } }, "object": { "type": "Identifier", "start": 21875, "end": 21883, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21884, "end": 21889, "loc": { "start": { "line": 667, "column": 40 }, "end": { "line": 667, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 21890, "end": 22731, "loc": { "start": { "line": 667, "column": 46 }, "end": { "line": 689, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 21903, "end": 21920, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21907, "end": 21919, "loc": { "start": { "line": 668, "column": 14 }, "end": { "line": 668, "column": 26 } }, "id": { "type": "Identifier", "start": 21907, "end": 21919, "loc": { "start": { "line": 668, "column": 14 }, "end": { "line": 668, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 21934, "end": 22045, "loc": { "start": { "line": 670, "column": 10 }, "end": { "line": 672, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 21937, "end": 21973, "loc": { "start": { "line": 670, "column": 13 }, "end": { "line": 670, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 21937, "end": 21960, "loc": { "start": { "line": 670, "column": 13 }, "end": { "line": 670, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 21944, "end": 21960, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 36 } }, "object": { "type": "Identifier", "start": 21944, "end": 21952, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21953, "end": 21960, "loc": { "start": { "line": 670, "column": 29 }, "end": { "line": 670, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 21965, "end": 21973, "loc": { "start": { "line": 670, "column": 41 }, "end": { "line": 670, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 21974, "end": 22045, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 672, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21989, "end": 22032, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 21989, "end": 22031, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 21989, "end": 22001, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 22004, "end": 22031, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 22004, "end": 22026, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 49 } }, "object": { "type": "MemberExpression", "start": 22004, "end": 22020, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 43 } }, "object": { "type": "Identifier", "start": 22004, "end": 22012, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22013, "end": 22020, "loc": { "start": { "line": 671, "column": 36 }, "end": { "line": 671, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 22021, "end": 22026, "loc": { "start": { "line": 671, "column": 44 }, "end": { "line": 671, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22027, "end": 22030, "loc": { "start": { "line": 671, "column": 50 }, "end": { "line": 671, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 22059, "end": 22720, "loc": { "start": { "line": 674, "column": 10 }, "end": { "line": 688, "column": 11 } }, "test": { "type": "Identifier", "start": 22062, "end": 22074, "loc": { "start": { "line": 674, "column": 13 }, "end": { "line": 674, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 22075, "end": 22720, "loc": { "start": { "line": 674, "column": 26 }, "end": { "line": 688, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 22090, "end": 22707, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 687, "column": 15 } }, "expression": { "type": "CallExpression", "start": 22090, "end": 22706, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 687, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 22090, "end": 22110, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 32 } }, "object": { "type": "Identifier", "start": 22090, "end": 22102, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 22103, "end": 22110, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22111, "end": 22705, "loc": { "start": { "line": 675, "column": 33 }, "end": { "line": 687, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22111, "end": 22122, "loc": { "start": { "line": 675, "column": 33 }, "end": { "line": 675, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 22126, "end": 22705, "loc": { "start": { "line": 675, "column": 48 }, "end": { "line": 687, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 22143, "end": 22193, "loc": { "start": { "line": 676, "column": 14 }, "end": { "line": 676, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22147, "end": 22192, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 63 } }, "id": { "type": "Identifier", "start": 22147, "end": 22158, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 22161, "end": 22192, "loc": { "start": { "line": 676, "column": 32 }, "end": { "line": 676, "column": 63 } }, "object": { "type": "Identifier", "start": 22161, "end": 22179, "loc": { "start": { "line": 676, "column": 32 }, "end": { "line": 676, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22180, "end": 22191, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 22211, "end": 22250, "loc": { "start": { "line": 678, "column": 14 }, "end": { "line": 678, "column": 53 } } } ] }, { "type": "IfStatement", "start": 22266, "end": 22690, "loc": { "start": { "line": 679, "column": 14 }, "end": { "line": 686, "column": 15 } }, "test": { "type": "Identifier", "start": 22269, "end": 22280, "loc": { "start": { "line": 679, "column": 17 }, "end": { "line": 679, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 22281, "end": 22599, "loc": { "start": { "line": 679, "column": 29 }, "end": { "line": 684, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 22401, "end": 22582, "loc": { "start": { "line": 681, "column": 16 }, "end": { "line": 683, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 22404, "end": 22472, "loc": { "start": { "line": 681, "column": 19 }, "end": { "line": 681, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 22405, "end": 22472, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 22405, "end": 22432, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 47 } }, "object": { "type": "MemberExpression", "start": 22405, "end": 22419, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 34 } }, "object": { "type": "ThisExpression", "start": 22405, "end": 22409, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22410, "end": 22419, "loc": { "start": { "line": 681, "column": 25 }, "end": { "line": 681, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22420, "end": 22432, "loc": { "start": { "line": 681, "column": 35 }, "end": { "line": 681, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 22433, "end": 22455, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 22433, "end": 22450, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 65 } }, "object": { "type": "Identifier", "start": 22433, "end": 22444, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 22445, "end": 22450, "loc": { "start": { "line": 681, "column": 60 }, "end": { "line": 681, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22451, "end": 22454, "loc": { "start": { "line": 681, "column": 66 }, "end": { "line": 681, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 22457, "end": 22471, "loc": { "start": { "line": 681, "column": 72 }, "end": { "line": 681, "column": 86 } }, "object": { "type": "Identifier", "start": 22457, "end": 22465, "loc": { "start": { "line": 681, "column": 72 }, "end": { "line": 681, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22466, "end": 22471, "loc": { "start": { "line": 681, "column": 81 }, "end": { "line": 681, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 22473, "end": 22582, "loc": { "start": { "line": 681, "column": 88 }, "end": { "line": 683, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 22494, "end": 22563, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 22494, "end": 22562, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22494, "end": 22525, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 49 } }, "object": { "type": "Identifier", "start": 22494, "end": 22512, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22513, "end": 22524, "loc": { "start": { "line": 682, "column": 37 }, "end": { "line": 682, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 22528, "end": 22562, "loc": { "start": { "line": 682, "column": 52 }, "end": { "line": 682, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 22531, "end": 22542, "loc": { "start": { "line": 682, "column": 55 }, "end": { "line": 682, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 22546, "end": 22560, "loc": { "start": { "line": 682, "column": 70 }, "end": { "line": 682, "column": 84 } }, "object": { "type": "Identifier", "start": 22546, "end": 22554, "loc": { "start": { "line": 682, "column": 70 }, "end": { "line": 682, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22555, "end": 22560, "loc": { "start": { "line": 682, "column": 79 }, "end": { "line": 682, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22529, "end": 22529, "loc": { "start": { "line": 682, "column": 53 }, "end": { "line": 682, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22543, "end": 22544, "loc": { "start": { "line": 682, "column": 67 }, "end": { "line": 682, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22561, "end": 22561, "loc": { "start": { "line": 682, "column": 85 }, "end": { "line": 682, "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": 22300, "end": 22383, "loc": { "start": { "line": 680, "column": 16 }, "end": { "line": 680, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22605, "end": 22690, "loc": { "start": { "line": 684, "column": 21 }, "end": { "line": 686, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 22624, "end": 22673, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 22624, "end": 22672, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22624, "end": 22655, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 47 } }, "object": { "type": "Identifier", "start": 22624, "end": 22642, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22643, "end": 22654, "loc": { "start": { "line": 685, "column": 35 }, "end": { "line": 685, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 22658, "end": 22672, "loc": { "start": { "line": 685, "column": 50 }, "end": { "line": 685, "column": 64 } }, "object": { "type": "Identifier", "start": 22658, "end": 22666, "loc": { "start": { "line": 685, "column": 50 }, "end": { "line": 685, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22667, "end": 22672, "loc": { "start": { "line": 685, "column": 59 }, "end": { "line": 685, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 22211, "end": 22250, "loc": { "start": { "line": 678, "column": 14 }, "end": { "line": 678, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22737, "end": 22865, "loc": { "start": { "line": 689, "column": 15 }, "end": { "line": 691, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 22750, "end": 22854, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 114 } }, "expression": { "type": "CallExpression", "start": 22750, "end": 22854, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 22750, "end": 22762, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 22 } }, "object": { "type": "Identifier", "start": 22750, "end": 22757, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 22758, "end": 22762, "loc": { "start": { "line": 690, "column": 18 }, "end": { "line": 690, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 22763, "end": 22853, "loc": { "start": { "line": 690, "column": 23 }, "end": { "line": 690, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 22764, "end": 22852, "loc": { "start": { "line": 690, "column": 24 }, "end": { "line": 690, "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": 22891, "end": 22957, "loc": { "start": { "line": 695, "column": 4 }, "end": { "line": 697, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22963, "end": 23063, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 22963, "end": 23062, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22963, "end": 22989, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22963, "end": 22979, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 20 } }, "object": { "type": "ThisExpression", "start": 22963, "end": 22967, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22968, "end": 22979, "loc": { "start": { "line": 698, "column": 9 }, "end": { "line": 698, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22980, "end": 22989, "loc": { "start": { "line": 698, "column": 21 }, "end": { "line": 698, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 22993, "end": 23062, "loc": { "start": { "line": 698, "column": 34 }, "end": { "line": 698, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 22997, "end": 23015, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22997, "end": 23009, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 50 } }, "object": { "type": "ThisExpression", "start": 22997, "end": 23001, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 42 } } }, "property": { "type": "Identifier", "start": 23002, "end": 23009, "loc": { "start": { "line": 698, "column": 43 }, "end": { "line": 698, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23010, "end": 23015, "loc": { "start": { "line": 698, "column": 51 }, "end": { "line": 698, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 23019, "end": 23030, "loc": { "start": { "line": 698, "column": 60 }, "end": { "line": 698, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 23034, "end": 23060, "loc": { "start": { "line": 698, "column": 75 }, "end": { "line": 698, "column": 101 } }, "object": { "type": "ThisExpression", "start": 23034, "end": 23038, "loc": { "start": { "line": 698, "column": 75 }, "end": { "line": 698, "column": 79 } } }, "property": { "type": "Identifier", "start": 23039, "end": 23060, "loc": { "start": { "line": 698, "column": 80 }, "end": { "line": 698, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22994, "end": 22995, "loc": { "start": { "line": 698, "column": 35 }, "end": { "line": 698, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 23016, "end": 23017, "loc": { "start": { "line": 698, "column": 57 }, "end": { "line": 698, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 23031, "end": 23032, "loc": { "start": { "line": 698, "column": 72 }, "end": { "line": 698, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 23061, "end": 23061, "loc": { "start": { "line": 698, "column": 102 }, "end": { "line": 698, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22891, "end": 22957, "loc": { "start": { "line": 695, "column": 4 }, "end": { "line": 697, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 23071, "end": 23118, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 702, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 23124, "end": 25866, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 787, "column": 7 } }, "expression": { "type": "CallExpression", "start": 23124, "end": 25865, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 787, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 23124, "end": 23163, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 43 } }, "object": { "type": "MemberExpression", "start": 23124, "end": 23155, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 35 } }, "object": { "type": "Identifier", "start": 23124, "end": 23130, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 23131, "end": 23154, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23131, "end": 23143, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 23 } }, "object": { "type": "ThisExpression", "start": 23131, "end": 23135, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 15 } } }, "property": { "type": "Identifier", "start": 23136, "end": 23143, "loc": { "start": { "line": 703, "column": 16 }, "end": { "line": 703, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23144, "end": 23154, "loc": { "start": { "line": 703, "column": 24 }, "end": { "line": 703, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 23156, "end": 23163, "loc": { "start": { "line": 703, "column": 36 }, "end": { "line": 703, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 23164, "end": 25864, "loc": { "start": { "line": 703, "column": 44 }, "end": { "line": 787, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23165, "end": 23168, "loc": { "start": { "line": 703, "column": 45 }, "end": { "line": 703, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 23170, "end": 23176, "loc": { "start": { "line": 703, "column": 50 }, "end": { "line": 703, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 23181, "end": 25864, "loc": { "start": { "line": 703, "column": 61 }, "end": { "line": 787, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 23190, "end": 23220, "loc": { "start": { "line": 704, "column": 6 }, "end": { "line": 704, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23194, "end": 23219, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 35 } }, "id": { "type": "Identifier", "start": 23194, "end": 23202, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 23205, "end": 23219, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 23205, "end": 23214, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 30 } }, "object": { "type": "Identifier", "start": 23205, "end": 23208, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 23209, "end": 23214, "loc": { "start": { "line": 704, "column": 25 }, "end": { "line": 704, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23215, "end": 23218, "loc": { "start": { "line": 704, "column": 31 }, "end": { "line": 704, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 23230, "end": 23273, "loc": { "start": { "line": 706, "column": 6 }, "end": { "line": 708, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 23281, "end": 23324, "loc": { "start": { "line": 709, "column": 6 }, "end": { "line": 709, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23285, "end": 23323, "loc": { "start": { "line": 709, "column": 10 }, "end": { "line": 709, "column": 48 } }, "id": { "type": "Identifier", "start": 23285, "end": 23291, "loc": { "start": { "line": 709, "column": 10 }, "end": { "line": 709, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23294, "end": 23323, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 23294, "end": 23316, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 41 } }, "object": { "type": "Identifier", "start": 23294, "end": 23302, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23303, "end": 23316, "loc": { "start": { "line": 709, "column": 28 }, "end": { "line": 709, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23317, "end": 23322, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "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": 23230, "end": 23273, "loc": { "start": { "line": 706, "column": 6 }, "end": { "line": 708, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23332, "end": 23361, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 23332, "end": 23360, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 23332, "end": 23348, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 22 } }, "object": { "type": "Identifier", "start": 23332, "end": 23338, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 23339, "end": 23348, "loc": { "start": { "line": 710, "column": 13 }, "end": { "line": 710, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 23352, "end": 23360, "loc": { "start": { "line": 710, "column": 26 }, "end": { "line": 710, "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": 23371, "end": 23432, "loc": { "start": { "line": 712, "column": 6 }, "end": { "line": 714, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23440, "end": 25752, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 781, "column": 9 } }, "expression": { "type": "CallExpression", "start": 23440, "end": 25751, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 781, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 23440, "end": 23456, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 715, "column": 22 } }, "object": { "type": "Identifier", "start": 23440, "end": 23448, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 715, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 23449, "end": 23456, "loc": { "start": { "line": 715, "column": 15 }, "end": { "line": 715, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 23457, "end": 25750, "loc": { "start": { "line": 715, "column": 23 }, "end": { "line": 781, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23458, "end": 23464, "loc": { "start": { "line": 715, "column": 24 }, "end": { "line": 715, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 23466, "end": 23472, "loc": { "start": { "line": 715, "column": 32 }, "end": { "line": 715, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 23477, "end": 25750, "loc": { "start": { "line": 715, "column": 43 }, "end": { "line": 781, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 23488, "end": 23544, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23492, "end": 23543, "loc": { "start": { "line": 716, "column": 12 }, "end": { "line": 716, "column": 63 } }, "id": { "type": "Identifier", "start": 23492, "end": 23503, "loc": { "start": { "line": 716, "column": 12 }, "end": { "line": 716, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 23506, "end": 23543, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 23506, "end": 23535, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 55 } }, "object": { "type": "MemberExpression", "start": 23506, "end": 23520, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 40 } }, "object": { "type": "ThisExpression", "start": 23506, "end": 23510, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 30 } } }, "property": { "type": "Identifier", "start": 23511, "end": 23520, "loc": { "start": { "line": 716, "column": 31 }, "end": { "line": 716, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 23521, "end": 23535, "loc": { "start": { "line": 716, "column": 41 }, "end": { "line": 716, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23536, "end": 23542, "loc": { "start": { "line": 716, "column": 56 }, "end": { "line": 716, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 23554, "end": 23604, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 717, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23558, "end": 23603, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 57 } }, "id": { "type": "Identifier", "start": 23558, "end": 23574, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 23577, "end": 23603, "loc": { "start": { "line": 717, "column": 31 }, "end": { "line": 717, "column": 57 } }, "object": { "type": "Identifier", "start": 23577, "end": 23595, "loc": { "start": { "line": 717, "column": 31 }, "end": { "line": 717, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 23596, "end": 23602, "loc": { "start": { "line": 717, "column": 50 }, "end": { "line": 717, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 23614, "end": 23731, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23618, "end": 23730, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 124 } }, "id": { "type": "Identifier", "start": 23618, "end": 23635, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 23638, "end": 23730, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 23638, "end": 23673, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 67 } }, "object": { "type": "MemberExpression", "start": 23638, "end": 23652, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 46 } }, "object": { "type": "ThisExpression", "start": 23638, "end": 23642, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 36 } } }, "property": { "type": "Identifier", "start": 23643, "end": 23652, "loc": { "start": { "line": 718, "column": 37 }, "end": { "line": 718, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 23653, "end": 23673, "loc": { "start": { "line": 718, "column": 47 }, "end": { "line": 718, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23674, "end": 23680, "loc": { "start": { "line": 718, "column": 68 }, "end": { "line": 718, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 23682, "end": 23702, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 96 } }, "object": { "type": "MemberExpression", "start": 23682, "end": 23694, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 88 } }, "object": { "type": "ThisExpression", "start": 23682, "end": 23686, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 80 } } }, "property": { "type": "Identifier", "start": 23687, "end": 23694, "loc": { "start": { "line": 718, "column": 81 }, "end": { "line": 718, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23695, "end": 23702, "loc": { "start": { "line": 718, "column": 89 }, "end": { "line": 718, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 23704, "end": 23729, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 123 } }, "object": { "type": "MemberExpression", "start": 23704, "end": 23716, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 110 } }, "object": { "type": "ThisExpression", "start": 23704, "end": 23708, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 102 } } }, "property": { "type": "Identifier", "start": 23709, "end": 23716, "loc": { "start": { "line": 718, "column": 103 }, "end": { "line": 718, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23717, "end": 23729, "loc": { "start": { "line": 718, "column": 111 }, "end": { "line": 718, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23743, "end": 23787, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 722, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23797, "end": 23843, "loc": { "start": { "line": 723, "column": 8 }, "end": { "line": 723, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23801, "end": 23842, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 53 } }, "id": { "type": "Identifier", "start": 23801, "end": 23810, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23813, "end": 23842, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 23813, "end": 23835, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 46 } }, "object": { "type": "Identifier", "start": 23813, "end": 23821, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23822, "end": 23835, "loc": { "start": { "line": 723, "column": 33 }, "end": { "line": 723, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23836, "end": 23841, "loc": { "start": { "line": 723, "column": 47 }, "end": { "line": 723, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23743, "end": 23787, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 722, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23853, "end": 23950, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 23853, "end": 23949, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 23853, "end": 23872, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 27 } }, "object": { "type": "Identifier", "start": 23853, "end": 23862, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23863, "end": 23872, "loc": { "start": { "line": 724, "column": 18 }, "end": { "line": 724, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 23876, "end": 23949, "loc": { "start": { "line": 724, "column": 31 }, "end": { "line": 724, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 23889, "end": 23900, "loc": { "start": { "line": 724, "column": 44 }, "end": { "line": 724, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 23903, "end": 23947, "loc": { "start": { "line": 724, "column": 58 }, "end": { "line": 724, "column": 102 } }, "test": { "type": "Identifier", "start": 23903, "end": 23919, "loc": { "start": { "line": 724, "column": 58 }, "end": { "line": 724, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 23922, "end": 23942, "loc": { "start": { "line": 724, "column": 77 }, "end": { "line": 724, "column": 97 } }, "left": { "type": "StringLiteral", "start": 23922, "end": 23925, "loc": { "start": { "line": 724, "column": 77 }, "end": { "line": 724, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 23926, "end": 23942, "loc": { "start": { "line": 724, "column": 81 }, "end": { "line": 724, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 23945, "end": 23947, "loc": { "start": { "line": 724, "column": 100 }, "end": { "line": 724, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 23877, "end": 23887, "loc": { "start": { "line": 724, "column": 32 }, "end": { "line": 724, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 23901, "end": 23901, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23948, "end": 23948, "loc": { "start": { "line": 724, "column": 103 }, "end": { "line": 724, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "IfStatement", "start": 23970, "end": 24636, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 742, "column": 9 } }, "test": { "type": "Identifier", "start": 23974, "end": 23988, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 26 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "consequent": { "type": "BlockStatement", "start": 23990, "end": 24296, "loc": { "start": { "line": 726, "column": 28 }, "end": { "line": 733, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 24003, "end": 24148, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 730, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 24003, "end": 24148, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 730, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24003, "end": 24025, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 727, "column": 32 } }, "object": { "type": "Identifier", "start": 24003, "end": 24012, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 727, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24013, "end": 24025, "loc": { "start": { "line": 727, "column": 20 }, "end": { "line": 727, "column": 32 }, "identifierName": "ontouchstart" }, "name": "ontouchstart" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24028, "end": 24148, "loc": { "start": { "line": 727, "column": 35 }, "end": { "line": 730, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 24029, "end": 24030, "loc": { "start": { "line": 727, "column": 36 }, "end": { "line": 727, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 24035, "end": 24148, "loc": { "start": { "line": 727, "column": 42 }, "end": { "line": 730, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 24050, "end": 24083, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 45 } }, "expression": { "type": "CallExpression", "start": 24050, "end": 24082, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 24050, "end": 24074, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 36 } }, "object": { "type": "ThisExpression", "start": 24050, "end": 24054, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 16 } } }, "property": { "type": "Identifier", "start": 24055, "end": 24074, "loc": { "start": { "line": 728, "column": 17 }, "end": { "line": 728, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24075, "end": 24081, "loc": { "start": { "line": 728, "column": 37 }, "end": { "line": 728, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 24097, "end": 24135, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 50 } }, "expression": { "type": "CallExpression", "start": 24097, "end": 24134, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 24097, "end": 24123, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24097, "end": 24101, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 16 } } }, "property": { "type": "Identifier", "start": 24102, "end": 24123, "loc": { "start": { "line": 729, "column": 17 }, "end": { "line": 729, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24124, "end": 24130, "loc": { "start": { "line": 729, "column": 39 }, "end": { "line": 729, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 24132, "end": 24133, "loc": { "start": { "line": 729, "column": 47 }, "end": { "line": 729, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 24160, "end": 24215, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 24160, "end": 24214, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24160, "end": 24180, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 30 } }, "object": { "type": "Identifier", "start": 24160, "end": 24169, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24170, "end": 24180, "loc": { "start": { "line": 731, "column": 20 }, "end": { "line": 731, "column": 30 }, "identifierName": "ontouchend" }, "name": "ontouchend" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24183, "end": 24214, "loc": { "start": { "line": 731, "column": 33 }, "end": { "line": 731, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 24183, "end": 24184, "loc": { "start": { "line": 731, "column": 33 }, "end": { "line": 731, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 24188, "end": 24214, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 24188, "end": 24212, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 62 } }, "object": { "type": "ThisExpression", "start": 24188, "end": 24192, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 42 } } }, "property": { "type": "Identifier", "start": 24193, "end": 24212, "loc": { "start": { "line": 731, "column": 43 }, "end": { "line": 731, "column": 62 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } }, { "type": "ExpressionStatement", "start": 24227, "end": 24285, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 24227, "end": 24284, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24227, "end": 24250, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 33 } }, "object": { "type": "Identifier", "start": 24227, "end": 24236, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24237, "end": 24250, "loc": { "start": { "line": 732, "column": 20 }, "end": { "line": 732, "column": 33 }, "identifierName": "ontouchcancel" }, "name": "ontouchcancel" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24253, "end": 24284, "loc": { "start": { "line": 732, "column": 36 }, "end": { "line": 732, "column": 67 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 24253, "end": 24254, "loc": { "start": { "line": 732, "column": 36 }, "end": { "line": 732, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 24258, "end": 24284, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 24258, "end": 24282, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 65 } }, "object": { "type": "ThisExpression", "start": 24258, "end": 24262, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 45 } } }, "property": { "type": "Identifier", "start": 24263, "end": 24282, "loc": { "start": { "line": 732, "column": 46 }, "end": { "line": 732, "column": 65 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 24302, "end": 24636, "loc": { "start": { "line": 733, "column": 15 }, "end": { "line": 742, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 24315, "end": 24441, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 737, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 24315, "end": 24441, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 737, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24315, "end": 24332, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 734, "column": 27 } }, "object": { "type": "Identifier", "start": 24315, "end": 24324, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 734, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24325, "end": 24332, "loc": { "start": { "line": 734, "column": 20 }, "end": { "line": 734, "column": 27 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24335, "end": 24441, "loc": { "start": { "line": 734, "column": 30 }, "end": { "line": 737, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 24341, "end": 24441, "loc": { "start": { "line": 734, "column": 36 }, "end": { "line": 737, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 24356, "end": 24381, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 24356, "end": 24380, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24356, "end": 24372, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 28 } }, "object": { "type": "ThisExpression", "start": 24356, "end": 24360, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 16 } } }, "property": { "type": "Identifier", "start": 24361, "end": 24372, "loc": { "start": { "line": 735, "column": 17 }, "end": { "line": 735, "column": 28 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 24375, "end": 24380, "loc": { "start": { "line": 735, "column": 31 }, "end": { "line": 735, "column": 36 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 24395, "end": 24428, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 45 } }, "expression": { "type": "CallExpression", "start": 24395, "end": 24427, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 24395, "end": 24419, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 36 } }, "object": { "type": "ThisExpression", "start": 24395, "end": 24399, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 16 } } }, "property": { "type": "Identifier", "start": 24400, "end": 24419, "loc": { "start": { "line": 736, "column": 17 }, "end": { "line": 736, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24420, "end": 24426, "loc": { "start": { "line": 736, "column": 37 }, "end": { "line": 736, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 24453, "end": 24625, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 741, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 24453, "end": 24625, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 741, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24453, "end": 24474, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 738, "column": 31 } }, "object": { "type": "Identifier", "start": 24453, "end": 24462, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 738, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24463, "end": 24474, "loc": { "start": { "line": 738, "column": 20 }, "end": { "line": 738, "column": 31 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24477, "end": 24625, "loc": { "start": { "line": 738, "column": 34 }, "end": { "line": 741, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 24478, "end": 24479, "loc": { "start": { "line": 738, "column": 35 }, "end": { "line": 738, "column": 36 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 24484, "end": 24625, "loc": { "start": { "line": 738, "column": 41 }, "end": { "line": 741, "column": 11 } }, "body": [ { "type": "IfStatement", "start": 24499, "end": 24560, "loc": { "start": { "line": 739, "column": 12 }, "end": { "line": 739, "column": 73 } }, "test": { "type": "MemberExpression", "start": 24503, "end": 24539, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 52 } }, "object": { "type": "MemberExpression", "start": 24503, "end": 24515, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 28 } }, "object": { "type": "ThisExpression", "start": 24503, "end": 24507, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 20 } } }, "property": { "type": "Identifier", "start": 24508, "end": 24515, "loc": { "start": { "line": 739, "column": 21 }, "end": { "line": 739, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 24516, "end": 24539, "loc": { "start": { "line": 739, "column": 29 }, "end": { "line": 739, "column": 52 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 24541, "end": 24560, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 73 } }, "expression": { "type": "CallExpression", "start": 24541, "end": 24559, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 24541, "end": 24557, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 70 } }, "object": { "type": "Identifier", "start": 24541, "end": 24542, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 55 }, "identifierName": "e" }, "name": "e" }, "property": { "type": "Identifier", "start": 24543, "end": 24557, "loc": { "start": { "line": 739, "column": 56 }, "end": { "line": 739, "column": 70 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 24574, "end": 24612, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 50 } }, "expression": { "type": "CallExpression", "start": 24574, "end": 24611, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 24574, "end": 24600, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24574, "end": 24578, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 16 } } }, "property": { "type": "Identifier", "start": 24579, "end": 24600, "loc": { "start": { "line": 740, "column": 17 }, "end": { "line": 740, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24601, "end": 24607, "loc": { "start": { "line": 740, "column": 39 }, "end": { "line": 740, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 24609, "end": 24610, "loc": { "start": { "line": 740, "column": 47 }, "end": { "line": 740, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24656, "end": 24702, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 746, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24712, "end": 24757, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 53 } }, "expression": { "type": "CallExpression", "start": 24712, "end": 24756, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 24712, "end": 24734, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 30 } }, "object": { "type": "Identifier", "start": 24712, "end": 24721, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24722, "end": 24734, "loc": { "start": { "line": 747, "column": 18 }, "end": { "line": 747, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 24735, "end": 24747, "loc": { "start": { "line": 747, "column": 31 }, "end": { "line": 747, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 24749, "end": 24755, "loc": { "start": { "line": 747, "column": 45 }, "end": { "line": 747, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24656, "end": 24702, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 746, "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": 24769, "end": 24924, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 752, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 24934, "end": 25000, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 753, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24938, "end": 24999, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 73 } }, "id": { "type": "Identifier", "start": 24938, "end": 24947, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 24950, "end": 24999, "loc": { "start": { "line": 753, "column": 24 }, "end": { "line": 753, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 24953, "end": 24976, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 50 } }, "object": { "type": "MemberExpression", "start": 24953, "end": 24965, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 39 } }, "object": { "type": "ThisExpression", "start": 24953, "end": 24957, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 31 } } }, "property": { "type": "Identifier", "start": 24958, "end": 24965, "loc": { "start": { "line": 753, "column": 32 }, "end": { "line": 753, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 24966, "end": 24976, "loc": { "start": { "line": 753, "column": 40 }, "end": { "line": 753, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 24981, "end": 24987, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 24991, "end": 24997, "loc": { "start": { "line": 753, "column": 65 }, "end": { "line": 753, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 24951, "end": 24951, "loc": { "start": { "line": 753, "column": 25 }, "end": { "line": 753, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 24977, "end": 24979, "loc": { "start": { "line": 753, "column": 51 }, "end": { "line": 753, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 24988, "end": 24989, "loc": { "start": { "line": 753, "column": 62 }, "end": { "line": 753, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 24998, "end": 24998, "loc": { "start": { "line": 753, "column": 72 }, "end": { "line": 753, "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": 24769, "end": 24924, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 752, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25010, "end": 25061, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 59 } }, "expression": { "type": "CallExpression", "start": 25010, "end": 25060, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 25010, "end": 25032, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 30 } }, "object": { "type": "Identifier", "start": 25010, "end": 25019, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 25020, "end": 25032, "loc": { "start": { "line": 754, "column": 18 }, "end": { "line": 754, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25033, "end": 25048, "loc": { "start": { "line": 754, "column": 31 }, "end": { "line": 754, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 25050, "end": 25059, "loc": { "start": { "line": 754, "column": 48 }, "end": { "line": 754, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 25073, "end": 25122, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 758, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25132, "end": 25195, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 71 } }, "expression": { "type": "CallExpression", "start": 25132, "end": 25194, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 25132, "end": 25154, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 30 } }, "object": { "type": "Identifier", "start": 25132, "end": 25141, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 25142, "end": 25154, "loc": { "start": { "line": 759, "column": 18 }, "end": { "line": 759, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 25155, "end": 25174, "loc": { "start": { "line": 759, "column": 31 }, "end": { "line": 759, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 25176, "end": 25193, "loc": { "start": { "line": 759, "column": 52 }, "end": { "line": 759, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 25073, "end": 25122, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 758, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 25207, "end": 25265, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 25275, "end": 25326, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25279, "end": 25325, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 58 } }, "id": { "type": "Identifier", "start": 25279, "end": 25292, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 25295, "end": 25325, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 25295, "end": 25317, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 50 } }, "object": { "type": "Identifier", "start": 25295, "end": 25303, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 25304, "end": 25317, "loc": { "start": { "line": 764, "column": 37 }, "end": { "line": 764, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25318, "end": 25324, "loc": { "start": { "line": 764, "column": 51 }, "end": { "line": 764, "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": 25207, "end": 25265, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25336, "end": 25380, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 25336, "end": 25379, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25336, "end": 25359, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 31 } }, "object": { "type": "Identifier", "start": 25336, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 25350, "end": 25359, "loc": { "start": { "line": 765, "column": 22 }, "end": { "line": 765, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 25362, "end": 25379, "loc": { "start": { "line": 765, "column": 34 }, "end": { "line": 765, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 25390, "end": 25427, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 45 } }, "expression": { "type": "CallExpression", "start": 25390, "end": 25426, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 25390, "end": 25411, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 29 } }, "object": { "type": "Identifier", "start": 25390, "end": 25399, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 25400, "end": 25411, "loc": { "start": { "line": 766, "column": 18 }, "end": { "line": 766, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25412, "end": 25425, "loc": { "start": { "line": 766, "column": 30 }, "end": { "line": 766, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 25439, "end": 25492, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 770, "column": 11 } } } ] }, { "type": "IfStatement", "start": 25502, "end": 25579, "loc": { "start": { "line": 771, "column": 8 }, "end": { "line": 772, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 25505, "end": 25533, "loc": { "start": { "line": 771, "column": 11 }, "end": { "line": 771, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 25506, "end": 25533, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 39 } }, "object": { "type": "MemberExpression", "start": 25506, "end": 25525, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 31 } }, "object": { "type": "ThisExpression", "start": 25506, "end": 25510, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25511, "end": 25525, "loc": { "start": { "line": 771, "column": 17 }, "end": { "line": 771, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 25526, "end": 25532, "loc": { "start": { "line": 771, "column": 32 }, "end": { "line": 771, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 25546, "end": 25579, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 25546, "end": 25578, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25546, "end": 25573, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 37 } }, "object": { "type": "MemberExpression", "start": 25546, "end": 25565, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 29 } }, "object": { "type": "ThisExpression", "start": 25546, "end": 25550, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 14 } } }, "property": { "type": "Identifier", "start": 25551, "end": 25565, "loc": { "start": { "line": 772, "column": 15 }, "end": { "line": 772, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25566, "end": 25572, "loc": { "start": { "line": 772, "column": 30 }, "end": { "line": 772, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 25576, "end": 25578, "loc": { "start": { "line": 772, "column": 40 }, "end": { "line": 772, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 25439, "end": 25492, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 770, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25591, "end": 25635, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 52 } }, "expression": { "type": "CallExpression", "start": 25591, "end": 25634, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 25591, "end": 25623, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 40 } }, "object": { "type": "MemberExpression", "start": 25591, "end": 25618, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 35 } }, "object": { "type": "MemberExpression", "start": 25591, "end": 25610, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 27 } }, "object": { "type": "ThisExpression", "start": 25591, "end": 25595, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 12 } } }, "property": { "type": "Identifier", "start": 25596, "end": 25610, "loc": { "start": { "line": 774, "column": 13 }, "end": { "line": 774, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25611, "end": 25617, "loc": { "start": { "line": 774, "column": 28 }, "end": { "line": 774, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 25619, "end": 25623, "loc": { "start": { "line": 774, "column": 36 }, "end": { "line": 774, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25624, "end": 25633, "loc": { "start": { "line": 774, "column": 41 }, "end": { "line": 774, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25647, "end": 25699, "loc": { "start": { "line": 776, "column": 8 }, "end": { "line": 778, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25709, "end": 25739, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 38 } }, "expression": { "type": "CallExpression", "start": 25709, "end": 25738, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 25709, "end": 25727, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 26 } }, "object": { "type": "Identifier", "start": 25709, "end": 25715, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 25716, "end": 25727, "loc": { "start": { "line": 779, "column": 15 }, "end": { "line": 779, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25728, "end": 25737, "loc": { "start": { "line": 779, "column": 27 }, "end": { "line": 779, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25647, "end": 25699, "loc": { "start": { "line": 776, "column": 8 }, "end": { "line": 778, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 23371, "end": 23432, "loc": { "start": { "line": 712, "column": 6 }, "end": { "line": 714, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25762, "end": 25812, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 785, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 25820, "end": 25857, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 43 } }, "expression": { "type": "CallExpression", "start": 25820, "end": 25856, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 25820, "end": 25848, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 34 } }, "object": { "type": "MemberExpression", "start": 25820, "end": 25836, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 22 } }, "object": { "type": "ThisExpression", "start": 25820, "end": 25824, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25825, "end": 25836, "loc": { "start": { "line": 786, "column": 11 }, "end": { "line": 786, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 25837, "end": 25848, "loc": { "start": { "line": 786, "column": 23 }, "end": { "line": 786, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25849, "end": 25855, "loc": { "start": { "line": 786, "column": 35 }, "end": { "line": 786, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25762, "end": 25812, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 785, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 23071, "end": 23118, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 702, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25874, "end": 25911, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 791, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 25917, "end": 25933, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 20 } }, "expression": { "type": "CallExpression", "start": 25917, "end": 25932, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 25917, "end": 25930, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 17 } }, "object": { "type": "ThisExpression", "start": 25917, "end": 25921, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25922, "end": 25930, "loc": { "start": { "line": 792, "column": 9 }, "end": { "line": 792, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25874, "end": 25911, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 791, "column": 7 } } } ] }, { "type": "IfStatement", "start": 25941, "end": 26317, "loc": { "start": { "line": 794, "column": 4 }, "end": { "line": 811, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 25944, "end": 25961, "loc": { "start": { "line": 794, "column": 7 }, "end": { "line": 794, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 25945, "end": 25961, "loc": { "start": { "line": 794, "column": 8 }, "end": { "line": 794, "column": 24 } }, "object": { "type": "ThisExpression", "start": 25945, "end": 25949, "loc": { "start": { "line": 794, "column": 8 }, "end": { "line": 794, "column": 12 } } }, "property": { "type": "Identifier", "start": 25950, "end": 25961, "loc": { "start": { "line": 794, "column": 13 }, "end": { "line": 794, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 25962, "end": 26317, "loc": { "start": { "line": 794, "column": 25 }, "end": { "line": 811, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 26061, "end": 26085, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 26061, "end": 26084, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26061, "end": 26077, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 22 } }, "object": { "type": "ThisExpression", "start": 26061, "end": 26065, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 26066, "end": 26077, "loc": { "start": { "line": 798, "column": 11 }, "end": { "line": 798, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 26080, "end": 26084, "loc": { "start": { "line": 798, "column": 25 }, "end": { "line": 798, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25971, "end": 26053, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 797, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 26095, "end": 26136, "loc": { "start": { "line": 800, "column": 6 }, "end": { "line": 802, "column": 9 } } } ] }, { "type": "IfStatement", "start": 26144, "end": 26239, "loc": { "start": { "line": 803, "column": 6 }, "end": { "line": 805, "column": 7 } }, "test": { "type": "UnaryExpression", "start": 26148, "end": 26163, "loc": { "start": { "line": 803, "column": 10 }, "end": { "line": 803, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 26149, "end": 26163, "loc": { "start": { "line": 803, "column": 11 }, "end": { "line": 803, "column": 25 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 26165, "end": 26239, "loc": { "start": { "line": 803, "column": 27 }, "end": { "line": 805, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 26176, "end": 26230, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 26176, "end": 26229, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26176, "end": 26194, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 26 } }, "object": { "type": "Identifier", "start": 26176, "end": 26184, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 26185, "end": 26194, "loc": { "start": { "line": 804, "column": 17 }, "end": { "line": 804, "column": 26 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 26197, "end": 26229, "loc": { "start": { "line": 804, "column": 29 }, "end": { "line": 804, "column": 61 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 26203, "end": 26229, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 26203, "end": 26227, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 59 } }, "object": { "type": "ThisExpression", "start": 26203, "end": 26207, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 39 } } }, "property": { "type": "Identifier", "start": 26208, "end": 26227, "loc": { "start": { "line": 804, "column": 40 }, "end": { "line": 804, "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": 26095, "end": 26136, "loc": { "start": { "line": 800, "column": 6 }, "end": { "line": 802, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 26249, "end": 26288, "loc": { "start": { "line": 807, "column": 6 }, "end": { "line": 809, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 26296, "end": 26310, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 20 } }, "expression": { "type": "CallExpression", "start": 26296, "end": 26309, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 26296, "end": 26307, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 17 } }, "object": { "type": "ThisExpression", "start": 26296, "end": 26300, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 26301, "end": 26307, "loc": { "start": { "line": 810, "column": 11 }, "end": { "line": 810, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 26249, "end": 26288, "loc": { "start": { "line": 807, "column": 6 }, "end": { "line": 809, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 21268, "end": 21324, "loc": { "start": { "line": 648, "column": 2 }, "end": { "line": 650, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 26329, "end": 26359, "loc": { "start": { "line": 815, "column": 0 }, "end": { "line": 815, "column": 30 } }, "declaration": { "type": "Identifier", "start": 26344, "end": 26358, "loc": { "start": { "line": 815, "column": 15 }, "end": { "line": 815, "column": 29 }, "identifierName": "SimpleKeyboard" }, "name": "SimpleKeyboard" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 26329, "end": 26359, "loc": { "start": { "line": 815, "column": 0 }, "end": { "line": 815, "column": 30 } }, "declaration": { "type": "ClassDeclaration", "start": 367, "end": 26325, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 813, "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": 26325, "loc": { "start": { "line": 15, "column": 21 }, "end": { "line": 813, "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": 18320, "loc": { "start": { "line": 508, "column": 2 }, "end": { "line": 530, "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": 18320, "loc": { "start": { "line": 508, "column": 15 }, "end": { "line": 530, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 17693, "end": 17719, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 17693, "end": 17718, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17693, "end": 17711, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 22 } }, "object": { "type": "ThisExpression", "start": 17693, "end": 17697, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 17698, "end": 17711, "loc": { "start": { "line": 512, "column": 9 }, "end": { "line": 512, "column": 22 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 17714, "end": 17718, "loc": { "start": { "line": 512, "column": 25 }, "end": { "line": 512, "column": 29 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Only first instance should insall the caret handling events\r\n ", "start": 17607, "end": 17687, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 511, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 17725, "end": 17789, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 68 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17729, "end": 17788, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 67 } }, "id": { "type": "Identifier", "start": 17729, "end": 17752, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 31 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" }, "init": { "type": "MemberExpression", "start": 17755, "end": 17788, "loc": { "start": { "line": 513, "column": 34 }, "end": { "line": 513, "column": 67 } }, "object": { "type": "Identifier", "start": 17755, "end": 17761, "loc": { "start": { "line": 513, "column": 34 }, "end": { "line": 513, "column": 40 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "StringLiteral", "start": 17762, "end": 17787, "loc": { "start": { "line": 513, "column": 41 }, "end": { "line": 513, "column": 66 } }, "extra": { "rawValue": "SimpleKeyboardInstances", "raw": "'SimpleKeyboardInstances'" }, "value": "SimpleKeyboardInstances" }, "computed": true } } ], "kind": "let" }, { "type": "IfStatement", "start": 17797, "end": 18315, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 529, "column": 3 } }, "test": { "type": "LogicalExpression", "start": 17808, "end": 17990, "loc": { "start": { "line": 516, "column": 6 }, "end": { "line": 520, "column": 30 } }, "left": { "type": "LogicalExpression", "start": 17819, "end": 17946, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 518, "column": 99 } }, "left": { "type": "Identifier", "start": 17819, "end": 17842, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 31 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 17855, "end": 17946, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 99 } }, "left": { "type": "MemberExpression", "start": 17855, "end": 17894, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 47 } }, "object": { "type": "CallExpression", "start": 17855, "end": 17891, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 17855, "end": 17866, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 19 } }, "object": { "type": "Identifier", "start": 17855, "end": 17861, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 14 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 17862, "end": 17866, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 19 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 17867, "end": 17890, "loc": { "start": { "line": 518, "column": 20 }, "end": { "line": 518, "column": 43 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" } ] }, "property": { "type": "NumericLiteral", "start": 17892, "end": 17893, "loc": { "start": { "line": 518, "column": 45 }, "end": { "line": 518, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "operator": "===", "right": { "type": "CallExpression", "start": 17899, "end": 17946, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 17899, "end": 17923, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 76 } }, "object": { "type": "MemberExpression", "start": 17899, "end": 17913, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 66 } }, "object": { "type": "ThisExpression", "start": 17899, "end": 17903, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 56 } } }, "property": { "type": "Identifier", "start": 17904, "end": 17913, "loc": { "start": { "line": 518, "column": 57 }, "end": { "line": 518, "column": 66 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 17914, "end": 17923, "loc": { "start": { "line": 518, "column": 67 }, "end": { "line": 518, "column": 76 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 17924, "end": 17945, "loc": { "start": { "line": 518, "column": 77 }, "end": { "line": 518, "column": 98 } }, "object": { "type": "ThisExpression", "start": 17924, "end": 17928, "loc": { "start": { "line": 518, "column": 77 }, "end": { "line": 518, "column": 81 } } }, "property": { "type": "Identifier", "start": 17929, "end": 17945, "loc": { "start": { "line": 518, "column": 82 }, "end": { "line": 518, "column": 98 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ] } }, "extra": { "parenthesized": true, "parenStart": 17808 } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 17966, "end": 17990, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 30 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 17967, "end": 17990, "loc": { "start": { "line": 520, "column": 7 }, "end": { "line": 520, "column": 30 }, "identifierName": "simpleKeyboardInstances" }, "name": "simpleKeyboardInstances" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 17997, "end": 18315, "loc": { "start": { "line": 521, "column": 5 }, "end": { "line": 529, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 18004, "end": 18108, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 524, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18007, "end": 18025, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 25 } }, "object": { "type": "MemberExpression", "start": 18007, "end": 18019, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 19 } }, "object": { "type": "ThisExpression", "start": 18007, "end": 18011, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 11 } } }, "property": { "type": "Identifier", "start": 18012, "end": 18019, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18020, "end": 18025, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18026, "end": 18108, "loc": { "start": { "line": 522, "column": 26 }, "end": { "line": 524, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18037, "end": 18101, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 72 } }, "expression": { "type": "CallExpression", "start": 18037, "end": 18101, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 18037, "end": 18048, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 19 } }, "object": { "type": "Identifier", "start": 18037, "end": 18044, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 18045, "end": 18048, "loc": { "start": { "line": 523, "column": 16 }, "end": { "line": 523, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 18049, "end": 18100, "loc": { "start": { "line": 523, "column": 20 }, "end": { "line": 523, "column": 71 } }, "expressions": [ { "type": "MemberExpression", "start": 18076, "end": 18097, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 68 } }, "object": { "type": "ThisExpression", "start": 18076, "end": 18080, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 51 } } }, "property": { "type": "Identifier", "start": 18081, "end": 18097, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 68 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 18050, "end": 18074, "loc": { "start": { "line": 523, "column": 21 }, "end": { "line": 523, "column": 45 } }, "value": { "raw": "Caret handling started (", "cooked": "Caret handling started (" }, "tail": false }, { "type": "TemplateElement", "start": 18098, "end": 18099, "loc": { "start": { "line": 523, "column": 69 }, "end": { "line": 523, "column": 70 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 18116, "end": 18175, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 63 } }, "expression": { "type": "CallExpression", "start": 18116, "end": 18174, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 18116, "end": 18141, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 29 } }, "object": { "type": "Identifier", "start": 18116, "end": 18124, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18125, "end": 18141, "loc": { "start": { "line": 526, "column": 13 }, "end": { "line": 526, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18142, "end": 18149, "loc": { "start": { "line": 526, "column": 30 }, "end": { "line": 526, "column": 37 } }, "extra": { "rawValue": "keyup", "raw": "\"keyup\"" }, "value": "keyup" }, { "type": "MemberExpression", "start": 18151, "end": 18173, "loc": { "start": { "line": 526, "column": 39 }, "end": { "line": 526, "column": 61 } }, "object": { "type": "ThisExpression", "start": 18151, "end": 18155, "loc": { "start": { "line": 526, "column": 39 }, "end": { "line": 526, "column": 43 } } }, "property": { "type": "Identifier", "start": 18156, "end": 18173, "loc": { "start": { "line": 526, "column": 44 }, "end": { "line": 526, "column": 61 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 18181, "end": 18242, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 65 } }, "expression": { "type": "CallExpression", "start": 18181, "end": 18241, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 18181, "end": 18206, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 29 } }, "object": { "type": "Identifier", "start": 18181, "end": 18189, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18190, "end": 18206, "loc": { "start": { "line": 527, "column": 13 }, "end": { "line": 527, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18207, "end": 18216, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 39 } }, "extra": { "rawValue": "mouseup", "raw": "\"mouseup\"" }, "value": "mouseup" }, { "type": "MemberExpression", "start": 18218, "end": 18240, "loc": { "start": { "line": 527, "column": 41 }, "end": { "line": 527, "column": 63 } }, "object": { "type": "ThisExpression", "start": 18218, "end": 18222, "loc": { "start": { "line": 527, "column": 41 }, "end": { "line": 527, "column": 45 } } }, "property": { "type": "Identifier", "start": 18223, "end": 18240, "loc": { "start": { "line": 527, "column": 46 }, "end": { "line": 527, "column": 63 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 18248, "end": 18310, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 66 } }, "expression": { "type": "CallExpression", "start": 18248, "end": 18309, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 18248, "end": 18273, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 29 } }, "object": { "type": "Identifier", "start": 18248, "end": 18256, "loc": { "start": { "line": 528, "column": 4 }, "end": { "line": 528, "column": 12 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 18257, "end": 18273, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 29 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 18274, "end": 18284, "loc": { "start": { "line": 528, "column": 30 }, "end": { "line": 528, "column": 40 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "MemberExpression", "start": 18286, "end": 18308, "loc": { "start": { "line": 528, "column": 42 }, "end": { "line": 528, "column": 64 } }, "object": { "type": "ThisExpression", "start": 18286, "end": 18290, "loc": { "start": { "line": 528, "column": 42 }, "end": { "line": 528, "column": 46 } } }, "property": { "type": "Identifier", "start": 18291, "end": 18308, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 64 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler" }, "computed": false } ] } } ], "directives": [] }, "alternate": null } ], "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": 18326, "end": 18438, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 18442, "end": 19279, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 562, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 18442, "end": 18459, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "column": 19 }, "identifierName": "caretEventHandler" }, "name": "caretEventHandler", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18460, "end": 18465, "loc": { "start": { "line": 535, "column": 20 }, "end": { "line": 535, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 18466, "end": 19279, "loc": { "start": { "line": 535, "column": 26 }, "end": { "line": 562, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 18473, "end": 18491, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 536, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18477, "end": 18490, "loc": { "start": { "line": 536, "column": 8 }, "end": { "line": 536, "column": 21 } }, "id": { "type": "Identifier", "start": 18477, "end": 18490, "loc": { "start": { "line": 536, "column": 8 }, "end": { "line": 536, "column": 21 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 18497, "end": 18588, "loc": { "start": { "line": 537, "column": 4 }, "end": { "line": 539, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18500, "end": 18520, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 27 } }, "object": { "type": "MemberExpression", "start": 18500, "end": 18512, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 19 } }, "object": { "type": "Identifier", "start": 18500, "end": 18505, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 12 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18506, "end": 18512, "loc": { "start": { "line": 537, "column": 13 }, "end": { "line": 537, "column": 19 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18513, "end": 18520, "loc": { "start": { "line": 537, "column": 20 }, "end": { "line": 537, "column": 27 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18521, "end": 18588, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 539, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18530, "end": 18581, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 18530, "end": 18580, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 18530, "end": 18543, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "right": { "type": "CallExpression", "start": 18546, "end": 18580, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 18546, "end": 18578, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 54 } }, "object": { "type": "MemberExpression", "start": 18546, "end": 18566, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 42 } }, "object": { "type": "MemberExpression", "start": 18546, "end": 18558, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 34 } }, "object": { "type": "Identifier", "start": 18546, "end": 18551, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 27 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 18552, "end": 18558, "loc": { "start": { "line": 538, "column": 28 }, "end": { "line": 538, "column": 34 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 18559, "end": 18566, "loc": { "start": { "line": 538, "column": 35 }, "end": { "line": 538, "column": 42 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 18567, "end": 18578, "loc": { "start": { "line": 538, "column": 43 }, "end": { "line": 538, "column": 54 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 18596, "end": 19274, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 561, "column": 7 } }, "expression": { "type": "CallExpression", "start": 18596, "end": 19273, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 561, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 18596, "end": 18609, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 17 } }, "object": { "type": "ThisExpression", "start": 18596, "end": 18600, "loc": { "start": { "line": 541, "column": 4 }, "end": { "line": 541, "column": 8 } } }, "property": { "type": "Identifier", "start": 18601, "end": 18609, "loc": { "start": { "line": 541, "column": 9 }, "end": { "line": 541, "column": 17 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 18610, "end": 19272, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 561, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 18610, "end": 18618, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 26 }, "identifierName": "instance" }, "name": "instance" } ], "body": { "type": "BlockStatement", "start": 18622, "end": 19272, "loc": { "start": { "line": 541, "column": 30 }, "end": { "line": 561, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 18631, "end": 18702, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 544, "column": 5 } }, "test": { "type": "MemberExpression", "start": 18634, "end": 18654, "loc": { "start": { "line": 542, "column": 9 }, "end": { "line": 542, "column": 29 } }, "object": { "type": "Identifier", "start": 18634, "end": 18642, "loc": { "start": { "line": 542, "column": 9 }, "end": { "line": 542, "column": 17 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 18643, "end": 18654, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 29 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 18655, "end": 18702, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 544, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 18666, "end": 18695, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 18666, "end": 18694, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 18666, "end": 18686, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 28 } }, "object": { "type": "Identifier", "start": 18666, "end": 18674, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 16 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 18675, "end": 18686, "loc": { "start": { "line": 543, "column": 17 }, "end": { "line": 543, "column": 28 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 18689, "end": 18694, "loc": { "start": { "line": 543, "column": 31 }, "end": { "line": 543, "column": 36 } }, "value": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 18710, "end": 19265, "loc": { "start": { "line": 546, "column": 4 }, "end": { "line": 560, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 18721, "end": 18841, "loc": { "start": { "line": 547, "column": 6 }, "end": { "line": 549, "column": 49 } }, "left": { "type": "LogicalExpression", "start": 18722, "end": 18786, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 548, "column": 31 } }, "left": { "type": "BinaryExpression", "start": 18722, "end": 18750, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 35 } }, "left": { "type": "Identifier", "start": 18722, "end": 18735, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 20 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18740, "end": 18750, "loc": { "start": { "line": 547, "column": 25 }, "end": { "line": 547, "column": 35 } }, "extra": { "rawValue": "textarea", "raw": "\"textarea\"" }, "value": "textarea" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 18761, "end": 18786, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 31 } }, "left": { "type": "Identifier", "start": 18761, "end": 18774, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 19 }, "identifierName": "targetTagName" }, "name": "targetTagName" }, "operator": "===", "right": { "type": "StringLiteral", "start": 18779, "end": 18786, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 31 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" } }, "extra": { "parenthesized": true, "parenStart": 18721 } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 18800, "end": 18841, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 49 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 18801, "end": 18841, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 49 } }, "object": { "type": "MemberExpression", "start": 18801, "end": 18817, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 25 } }, "object": { "type": "Identifier", "start": 18801, "end": 18809, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 17 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 18810, "end": 18817, "loc": { "start": { "line": 549, "column": 18 }, "end": { "line": 549, "column": 25 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 18818, "end": 18841, "loc": { "start": { "line": 549, "column": 26 }, "end": { "line": 549, "column": 49 }, "identifierName": "disableCaretPositioning" }, "name": "disableCaretPositioning" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 18848, "end": 19265, "loc": { "start": { "line": 550, "column": 5 }, "end": { "line": 560, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19015, "end": 19068, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 19015, "end": 19067, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19015, "end": 19037, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 30 } }, "object": { "type": "Identifier", "start": 19015, "end": 19023, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 16 }, "identifierName": "instance" }, "name": "instance", "leadingComments": null }, "property": { "type": "Identifier", "start": 19024, "end": 19037, "loc": { "start": { "line": 555, "column": 17 }, "end": { "line": 555, "column": 30 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 19040, "end": 19067, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 60 } }, "object": { "type": "MemberExpression", "start": 19040, "end": 19052, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 45 } }, "object": { "type": "Identifier", "start": 19040, "end": 19045, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 38 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 19046, "end": 19052, "loc": { "start": { "line": 555, "column": 39 }, "end": { "line": 555, "column": 45 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 19053, "end": 19067, "loc": { "start": { "line": 555, "column": 46 }, "end": { "line": 555, "column": 60 }, "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": 18857, "end": 19005, "loc": { "start": { "line": 551, "column": 6 }, "end": { "line": 554, "column": 9 } } } ] }, { "type": "IfStatement", "start": 19080, "end": 19253, "loc": { "start": { "line": 557, "column": 8 }, "end": { "line": 559, "column": 7 } }, "test": { "type": "MemberExpression", "start": 19083, "end": 19105, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 33 } }, "object": { "type": "MemberExpression", "start": 19083, "end": 19099, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 27 } }, "object": { "type": "Identifier", "start": 19083, "end": 19091, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 19 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 19092, "end": 19099, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 27 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19100, "end": 19105, "loc": { "start": { "line": 557, "column": 28 }, "end": { "line": 557, "column": 33 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 19106, "end": 19253, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 559, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 19119, "end": 19244, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 135 } }, "expression": { "type": "CallExpression", "start": 19119, "end": 19243, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 134 } }, "callee": { "type": "MemberExpression", "start": 19119, "end": 19130, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 21 } }, "object": { "type": "Identifier", "start": 19119, "end": 19126, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 19127, "end": 19130, "loc": { "start": { "line": 558, "column": 18 }, "end": { "line": 558, "column": 21 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 19131, "end": 19143, "loc": { "start": { "line": 558, "column": 22 }, "end": { "line": 558, "column": 34 } }, "extra": { "rawValue": "Caret at: ", "raw": "'Caret at: '" }, "value": "Caret at: " }, { "type": "MemberExpression", "start": 19145, "end": 19172, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 63 } }, "object": { "type": "MemberExpression", "start": 19145, "end": 19157, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 48 } }, "object": { "type": "Identifier", "start": 19145, "end": 19150, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 41 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 19151, "end": 19157, "loc": { "start": { "line": 558, "column": 42 }, "end": { "line": 558, "column": 48 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 19158, "end": 19172, "loc": { "start": { "line": 558, "column": 49 }, "end": { "line": 558, "column": 63 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false }, { "type": "CallExpression", "start": 19174, "end": 19208, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 19174, "end": 19206, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 97 } }, "object": { "type": "MemberExpression", "start": 19174, "end": 19194, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 85 } }, "object": { "type": "MemberExpression", "start": 19174, "end": 19186, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 77 } }, "object": { "type": "Identifier", "start": 19174, "end": 19179, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 70 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 19180, "end": 19186, "loc": { "start": { "line": 558, "column": 71 }, "end": { "line": 558, "column": 77 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 19187, "end": 19194, "loc": { "start": { "line": 558, "column": 78 }, "end": { "line": 558, "column": 85 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "property": { "type": "Identifier", "start": 19195, "end": 19206, "loc": { "start": { "line": 558, "column": 86 }, "end": { "line": 558, "column": 97 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] }, { "type": "TemplateLiteral", "start": 19210, "end": 19242, "loc": { "start": { "line": 558, "column": 101 }, "end": { "line": 558, "column": 133 } }, "expressions": [ { "type": "MemberExpression", "start": 19214, "end": 19239, "loc": { "start": { "line": 558, "column": 105 }, "end": { "line": 558, "column": 130 } }, "object": { "type": "Identifier", "start": 19214, "end": 19222, "loc": { "start": { "line": 558, "column": 105 }, "end": { "line": 558, "column": 113 }, "identifierName": "instance" }, "name": "instance" }, "property": { "type": "Identifier", "start": 19223, "end": 19239, "loc": { "start": { "line": 558, "column": 114 }, "end": { "line": 558, "column": 130 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19211, "end": 19212, "loc": { "start": { "line": 558, "column": 102 }, "end": { "line": 558, "column": 103 } }, "value": { "raw": "(", "cooked": "(" }, "tail": false }, { "type": "TemplateElement", "start": 19240, "end": 19241, "loc": { "start": { "line": 558, "column": 131 }, "end": { "line": 558, "column": 132 } }, "value": { "raw": ")", "cooked": ")" }, "tail": true } ] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } } ], "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": 18326, "end": 18438, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "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": 19285, "end": 19405, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 566, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19409, "end": 19669, "loc": { "start": { "line": 567, "column": 2 }, "end": { "line": 579, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19409, "end": 19415, "loc": { "start": { "line": 567, "column": 2 }, "end": { "line": 567, "column": 8 }, "identifierName": "onInit" }, "name": "onInit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19417, "end": 19669, "loc": { "start": { "line": 567, "column": 10 }, "end": { "line": 579, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19424, "end": 19513, "loc": { "start": { "line": 568, "column": 4 }, "end": { "line": 570, "column": 5 } }, "test": { "type": "MemberExpression", "start": 19427, "end": 19445, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 25 } }, "object": { "type": "MemberExpression", "start": 19427, "end": 19439, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 19 } }, "object": { "type": "ThisExpression", "start": 19427, "end": 19431, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 11 } } }, "property": { "type": "Identifier", "start": 19432, "end": 19439, "loc": { "start": { "line": 568, "column": 12 }, "end": { "line": 568, "column": 19 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19440, "end": 19445, "loc": { "start": { "line": 568, "column": 20 }, "end": { "line": 568, "column": 25 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 19446, "end": 19513, "loc": { "start": { "line": 568, "column": 26 }, "end": { "line": 570, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 19455, "end": 19506, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 57 } }, "expression": { "type": "CallExpression", "start": 19455, "end": 19506, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 19455, "end": 19466, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 17 } }, "object": { "type": "Identifier", "start": 19455, "end": 19462, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 19463, "end": 19466, "loc": { "start": { "line": 569, "column": 14 }, "end": { "line": 569, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 19467, "end": 19505, "loc": { "start": { "line": 569, "column": 18 }, "end": { "line": 569, "column": 56 } }, "expressions": [ { "type": "MemberExpression", "start": 19470, "end": 19491, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 42 } }, "object": { "type": "ThisExpression", "start": 19470, "end": 19474, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 25 } } }, "property": { "type": "Identifier", "start": 19475, "end": 19491, "loc": { "start": { "line": 569, "column": 26 }, "end": { "line": 569, "column": 42 }, "identifierName": "keyboardDOMClass" }, "name": "keyboardDOMClass" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 19468, "end": 19468, "loc": { "start": { "line": 569, "column": 19 }, "end": { "line": 569, "column": 19 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 19492, "end": 19504, "loc": { "start": { "line": 569, "column": 43 }, "end": { "line": 569, "column": 55 } }, "value": { "raw": " Initialized", "cooked": " Initialized" }, "tail": true } ] } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 19521, "end": 19556, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 574, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 19562, "end": 19581, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 23 } }, "expression": { "type": "CallExpression", "start": 19562, "end": 19580, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 19562, "end": 19578, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 20 } }, "object": { "type": "ThisExpression", "start": 19562, "end": 19566, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 19567, "end": 19578, "loc": { "start": { "line": 575, "column": 9 }, "end": { "line": 575, "column": 20 }, "identifierName": "handleCaret" }, "name": "handleCaret" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 19521, "end": 19556, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 574, "column": 7 } } } ] }, { "type": "IfStatement", "start": 19589, "end": 19664, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 578, "column": 28 } }, "test": { "type": "BinaryExpression", "start": 19592, "end": 19633, "loc": { "start": { "line": 577, "column": 7 }, "end": { "line": 577, "column": 48 } }, "left": { "type": "UnaryExpression", "start": 19592, "end": 19618, "loc": { "start": { "line": 577, "column": 7 }, "end": { "line": 577, "column": 33 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19599, "end": 19618, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 33 } }, "object": { "type": "MemberExpression", "start": 19599, "end": 19611, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19599, "end": 19603, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 18 } } }, "property": { "type": "Identifier", "start": 19604, "end": 19611, "loc": { "start": { "line": 577, "column": 19 }, "end": { "line": 577, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19612, "end": 19618, "loc": { "start": { "line": 577, "column": 27 }, "end": { "line": 577, "column": 33 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19623, "end": 19633, "loc": { "start": { "line": 577, "column": 38 }, "end": { "line": 577, "column": 48 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19642, "end": 19664, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 28 } }, "expression": { "type": "CallExpression", "start": 19642, "end": 19663, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 19642, "end": 19661, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 25 } }, "object": { "type": "MemberExpression", "start": 19642, "end": 19654, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19642, "end": 19646, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 10 } } }, "property": { "type": "Identifier", "start": 19647, "end": 19654, "loc": { "start": { "line": 578, "column": 11 }, "end": { "line": 578, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19655, "end": 19661, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "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": 19285, "end": 19405, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 566, "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": 19675, "end": 19793, "loc": { "start": { "line": 581, "column": 2 }, "end": { "line": 583, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 19797, "end": 19898, "loc": { "start": { "line": 584, "column": 2 }, "end": { "line": 587, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19797, "end": 19805, "loc": { "start": { "line": 584, "column": 2 }, "end": { "line": 584, "column": 10 }, "identifierName": "onRender" }, "name": "onRender", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 19807, "end": 19898, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 587, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 19814, "end": 19893, "loc": { "start": { "line": 585, "column": 4 }, "end": { "line": 586, "column": 30 } }, "test": { "type": "BinaryExpression", "start": 19817, "end": 19860, "loc": { "start": { "line": 585, "column": 7 }, "end": { "line": 585, "column": 50 } }, "left": { "type": "UnaryExpression", "start": 19817, "end": 19845, "loc": { "start": { "line": 585, "column": 7 }, "end": { "line": 585, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 19824, "end": 19845, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 35 } }, "object": { "type": "MemberExpression", "start": 19824, "end": 19836, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 26 } }, "object": { "type": "ThisExpression", "start": 19824, "end": 19828, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 18 } } }, "property": { "type": "Identifier", "start": 19829, "end": 19836, "loc": { "start": { "line": 585, "column": 19 }, "end": { "line": 585, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19837, "end": 19845, "loc": { "start": { "line": 585, "column": 27 }, "end": { "line": 585, "column": 35 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 19850, "end": 19860, "loc": { "start": { "line": 585, "column": 40 }, "end": { "line": 585, "column": 50 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 19869, "end": 19893, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 30 } }, "expression": { "type": "CallExpression", "start": 19869, "end": 19892, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 19869, "end": 19890, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 27 } }, "object": { "type": "MemberExpression", "start": 19869, "end": 19881, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 18 } }, "object": { "type": "ThisExpression", "start": 19869, "end": 19873, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } } }, "property": { "type": "Identifier", "start": 19874, "end": 19881, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 19882, "end": 19890, "loc": { "start": { "line": 586, "column": 19 }, "end": { "line": 586, "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": 19675, "end": 19793, "loc": { "start": { "line": 581, "column": 2 }, "end": { "line": 583, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19903, "end": 19982, "loc": { "start": { "line": 589, "column": 1 }, "end": { "line": 591, "column": 4 } } } ] }, { "type": "ClassMethod", "start": 19986, "end": 20108, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 595, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 19986, "end": 20001, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 592, "column": 17 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20003, "end": 20108, "loc": { "start": { "line": 592, "column": 19 }, "end": { "line": 595, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20010, "end": 20103, "loc": { "start": { "line": 593, "column": 4 }, "end": { "line": 594, "column": 37 } }, "test": { "type": "BinaryExpression", "start": 20013, "end": 20063, "loc": { "start": { "line": 593, "column": 7 }, "end": { "line": 593, "column": 57 } }, "left": { "type": "UnaryExpression", "start": 20013, "end": 20048, "loc": { "start": { "line": 593, "column": 7 }, "end": { "line": 593, "column": 42 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 20020, "end": 20048, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 42 } }, "object": { "type": "MemberExpression", "start": 20020, "end": 20032, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20020, "end": 20024, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 18 } } }, "property": { "type": "Identifier", "start": 20025, "end": 20032, "loc": { "start": { "line": 593, "column": 19 }, "end": { "line": 593, "column": 26 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20033, "end": 20048, "loc": { "start": { "line": 593, "column": 27 }, "end": { "line": 593, "column": 42 }, "identifierName": "onModulesLoaded" }, "name": "onModulesLoaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 20053, "end": 20063, "loc": { "start": { "line": 593, "column": 47 }, "end": { "line": 593, "column": 57 } }, "extra": { "rawValue": "function", "raw": "\"function\"" }, "value": "function" } }, "consequent": { "type": "ExpressionStatement", "start": 20072, "end": 20103, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 37 } }, "expression": { "type": "CallExpression", "start": 20072, "end": 20102, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 20072, "end": 20100, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 34 } }, "object": { "type": "MemberExpression", "start": 20072, "end": 20084, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20072, "end": 20076, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 10 } } }, "property": { "type": "Identifier", "start": 20077, "end": 20084, "loc": { "start": { "line": 594, "column": 11 }, "end": { "line": 594, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20085, "end": 20100, "loc": { "start": { "line": 594, "column": 19 }, "end": { "line": 594, "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": 19903, "end": 19982, "loc": { "start": { "line": 589, "column": 1 }, "end": { "line": 591, "column": 4 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 20114, "end": 20146, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 599, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 20150, "end": 20299, "loc": { "start": { "line": 600, "column": 2 }, "end": { "line": 605, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20150, "end": 20164, "loc": { "start": { "line": 600, "column": 2 }, "end": { "line": 600, "column": 16 }, "identifierName": "registerModule" }, "name": "registerModule", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 20167, "end": 20299, "loc": { "start": { "line": 600, "column": 19 }, "end": { "line": 605, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20168, "end": 20172, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 24 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 20174, "end": 20186, "loc": { "start": { "line": 600, "column": 26 }, "end": { "line": 600, "column": 38 }, "identifierName": "initCallback" }, "name": "initCallback" } ], "body": { "type": "BlockStatement", "start": 20191, "end": 20299, "loc": { "start": { "line": 600, "column": 43 }, "end": { "line": 605, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20198, "end": 20253, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 602, "column": 30 } }, "test": { "type": "UnaryExpression", "start": 20201, "end": 20220, "loc": { "start": { "line": 601, "column": 7 }, "end": { "line": 601, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 20202, "end": 20220, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20202, "end": 20214, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 20 } }, "object": { "type": "ThisExpression", "start": 20202, "end": 20206, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 12 } } }, "property": { "type": "Identifier", "start": 20207, "end": 20214, "loc": { "start": { "line": 601, "column": 13 }, "end": { "line": 601, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20215, "end": 20219, "loc": { "start": { "line": 601, "column": 21 }, "end": { "line": 601, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 20229, "end": 20253, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 20229, "end": 20252, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20229, "end": 20247, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 24 } }, "object": { "type": "MemberExpression", "start": 20229, "end": 20241, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20229, "end": 20233, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 10 } } }, "property": { "type": "Identifier", "start": 20234, "end": 20241, "loc": { "start": { "line": 602, "column": 11 }, "end": { "line": 602, "column": 18 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20242, "end": 20246, "loc": { "start": { "line": 602, "column": 19 }, "end": { "line": 602, "column": 23 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 20250, "end": 20252, "loc": { "start": { "line": 602, "column": 27 }, "end": { "line": 602, "column": 29 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 20261, "end": 20294, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 37 } }, "expression": { "type": "CallExpression", "start": 20261, "end": 20293, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 36 } }, "callee": { "type": "Identifier", "start": 20261, "end": 20273, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 16 }, "identifierName": "initCallback" }, "name": "initCallback" }, "arguments": [ { "type": "MemberExpression", "start": 20274, "end": 20292, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 35 } }, "object": { "type": "MemberExpression", "start": 20274, "end": 20286, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 29 } }, "object": { "type": "ThisExpression", "start": 20274, "end": 20278, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 21 } } }, "property": { "type": "Identifier", "start": 20279, "end": 20286, "loc": { "start": { "line": 604, "column": 22 }, "end": { "line": 604, "column": 29 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20287, "end": 20291, "loc": { "start": { "line": 604, "column": 30 }, "end": { "line": 604, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 20114, "end": 20146, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 599, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 20305, "end": 20334, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 20338, "end": 20979, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 629, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 20338, "end": 20349, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 610, "column": 13 }, "identifierName": "loadModules" }, "name": "loadModules", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 20351, "end": 20979, "loc": { "start": { "line": 610, "column": 15 }, "end": { "line": 629, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 20358, "end": 20974, "loc": { "start": { "line": 611, "column": 4 }, "end": { "line": 628, "column": 5 } }, "test": { "type": "CallExpression", "start": 20361, "end": 20396, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 20361, "end": 20374, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 20 } }, "object": { "type": "Identifier", "start": 20361, "end": 20366, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 20367, "end": 20374, "loc": { "start": { "line": 611, "column": 13 }, "end": { "line": 611, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20375, "end": 20395, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 41 } }, "object": { "type": "MemberExpression", "start": 20375, "end": 20387, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 33 } }, "object": { "type": "ThisExpression", "start": 20375, "end": 20379, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 25 } } }, "property": { "type": "Identifier", "start": 20380, "end": 20387, "loc": { "start": { "line": 611, "column": 26 }, "end": { "line": 611, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20388, "end": 20395, "loc": { "start": { "line": 611, "column": 34 }, "end": { "line": 611, "column": 41 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 20397, "end": 20974, "loc": { "start": { "line": 611, "column": 43 }, "end": { "line": 628, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 20406, "end": 20826, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 622, "column": 9 } }, "expression": { "type": "CallExpression", "start": 20406, "end": 20825, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 622, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 20406, "end": 20434, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 34 } }, "object": { "type": "MemberExpression", "start": 20406, "end": 20426, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 26 } }, "object": { "type": "MemberExpression", "start": 20406, "end": 20418, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 18 } }, "object": { "type": "ThisExpression", "start": 20406, "end": 20410, "loc": { "start": { "line": 612, "column": 6 }, "end": { "line": 612, "column": 10 } } }, "property": { "type": "Identifier", "start": 20411, "end": 20418, "loc": { "start": { "line": 612, "column": 11 }, "end": { "line": 612, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 20419, "end": 20426, "loc": { "start": { "line": 612, "column": 19 }, "end": { "line": 612, "column": 26 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 20427, "end": 20434, "loc": { "start": { "line": 612, "column": 27 }, "end": { "line": 612, "column": 34 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 20435, "end": 20824, "loc": { "start": { "line": 612, "column": 35 }, "end": { "line": 622, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 20435, "end": 20441, "loc": { "start": { "line": 612, "column": 35 }, "end": { "line": 612, "column": 41 }, "identifierName": "Module" }, "name": "Module" } ], "body": { "type": "BlockStatement", "start": 20445, "end": 20824, "loc": { "start": { "line": 612, "column": 45 }, "end": { "line": 622, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 20456, "end": 20482, "loc": { "start": { "line": 613, "column": 8 }, "end": { "line": 613, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20460, "end": 20481, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 33 } }, "id": { "type": "Identifier", "start": 20460, "end": 20466, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 18 }, "identifierName": "module" }, "name": "module" }, "init": { "type": "NewExpression", "start": 20469, "end": 20481, "loc": { "start": { "line": 613, "column": 21 }, "end": { "line": 613, "column": 33 } }, "callee": { "type": "Identifier", "start": 20473, "end": 20479, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 31 }, "identifierName": "Module" }, "name": "Module" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 20494, "end": 20520, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 34 } } } ] }, { "type": "IfStatement", "start": 20530, "end": 20785, "loc": { "start": { "line": 616, "column": 8 }, "end": { "line": 619, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 20533, "end": 20598, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 76 } }, "left": { "type": "MemberExpression", "start": 20533, "end": 20556, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 34 } }, "object": { "type": "MemberExpression", "start": 20533, "end": 20551, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 29 } }, "object": { "type": "Identifier", "start": 20533, "end": 20539, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 17 }, "identifierName": "module" }, "name": "module", "leadingComments": null }, "property": { "type": "Identifier", "start": 20540, "end": 20551, "loc": { "start": { "line": 616, "column": 18 }, "end": { "line": 616, "column": 29 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 20552, "end": 20556, "loc": { "start": { "line": 616, "column": 30 }, "end": { "line": 616, "column": 34 }, "identifierName": "name" }, "name": "name" }, "computed": false, "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 20560, "end": 20598, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 76 } }, "left": { "type": "MemberExpression", "start": 20560, "end": 20583, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 61 } }, "object": { "type": "MemberExpression", "start": 20560, "end": 20578, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 56 } }, "object": { "type": "Identifier", "start": 20560, "end": 20566, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 44 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20567, "end": 20578, "loc": { "start": { "line": 616, "column": 45 }, "end": { "line": 616, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20579, "end": 20583, "loc": { "start": { "line": 616, "column": 57 }, "end": { "line": 616, "column": 61 }, "identifierName": "name" }, "name": "name" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 20588, "end": 20598, "loc": { "start": { "line": 616, "column": 66 }, "end": { "line": 616, "column": 76 } }, "extra": { "rawValue": "Function", "raw": "\"Function\"" }, "value": "Function" } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 20599, "end": 20785, "loc": { "start": { "line": 616, "column": 77 }, "end": { "line": 619, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 20612, "end": 20689, "loc": { "start": { "line": 617, "column": 10 }, "end": { "line": 617, "column": 87 } }, "declarations": [ { "type": "VariableDeclarator", "start": 20616, "end": 20688, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 86 } }, "id": { "type": "Identifier", "start": 20616, "end": 20624, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 22 }, "identifierName": "classStr" }, "name": "classStr" }, "init": { "type": "TemplateLiteral", "start": 20627, "end": 20688, "loc": { "start": { "line": 617, "column": 25 }, "end": { "line": 617, "column": 86 } }, "expressions": [ { "type": "CallExpression", "start": 20637, "end": 20686, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 20637, "end": 20661, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 59 } }, "object": { "type": "MemberExpression", "start": 20637, "end": 20651, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 49 } }, "object": { "type": "ThisExpression", "start": 20637, "end": 20641, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 39 } } }, "property": { "type": "Identifier", "start": 20642, "end": 20651, "loc": { "start": { "line": 617, "column": 40 }, "end": { "line": 617, "column": 49 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 20652, "end": 20661, "loc": { "start": { "line": 617, "column": 50 }, "end": { "line": 617, "column": 59 }, "identifierName": "camelCase" }, "name": "camelCase" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 20662, "end": 20685, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 83 } }, "object": { "type": "MemberExpression", "start": 20662, "end": 20680, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 78 } }, "object": { "type": "Identifier", "start": 20662, "end": 20668, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 66 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20669, "end": 20680, "loc": { "start": { "line": 617, "column": 67 }, "end": { "line": 617, "column": 78 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "property": { "type": "Identifier", "start": 20681, "end": 20685, "loc": { "start": { "line": 617, "column": 79 }, "end": { "line": 617, "column": 83 }, "identifierName": "name" }, "name": "name" }, "computed": false } ] } ], "quasis": [ { "type": "TemplateElement", "start": 20628, "end": 20635, "loc": { "start": { "line": 617, "column": 26 }, "end": { "line": 617, "column": 33 } }, "value": { "raw": "module-", "cooked": "module-" }, "tail": false }, { "type": "TemplateElement", "start": 20687, "end": 20687, "loc": { "start": { "line": 617, "column": 85 }, "end": { "line": 617, "column": 85 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 20701, "end": 20774, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 20701, "end": 20773, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20701, "end": 20727, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 36 } }, "object": { "type": "ThisExpression", "start": 20701, "end": 20705, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 14 } } }, "property": { "type": "Identifier", "start": 20706, "end": 20727, "loc": { "start": { "line": 618, "column": 15 }, "end": { "line": 618, "column": 36 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20730, "end": 20773, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 82 } }, "left": { "type": "MemberExpression", "start": 20730, "end": 20756, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 65 } }, "object": { "type": "ThisExpression", "start": 20730, "end": 20734, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 43 } } }, "property": { "type": "Identifier", "start": 20735, "end": 20756, "loc": { "start": { "line": 618, "column": 44 }, "end": { "line": 618, "column": 65 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "TemplateLiteral", "start": 20759, "end": 20773, "loc": { "start": { "line": 618, "column": 68 }, "end": { "line": 618, "column": 82 } }, "expressions": [ { "type": "Identifier", "start": 20763, "end": 20771, "loc": { "start": { "line": 618, "column": 72 }, "end": { "line": 618, "column": 80 }, "identifierName": "classStr" }, "name": "classStr" } ], "quasis": [ { "type": "TemplateElement", "start": 20760, "end": 20761, "loc": { "start": { "line": 618, "column": 69 }, "end": { "line": 618, "column": 70 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 20772, "end": 20772, "loc": { "start": { "line": 618, "column": 81 }, "end": { "line": 618, "column": 81 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 20494, "end": 20520, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 20797, "end": 20815, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 26 } }, "expression": { "type": "CallExpression", "start": 20797, "end": 20814, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 20797, "end": 20808, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 19 } }, "object": { "type": "Identifier", "start": 20797, "end": 20803, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 14 }, "identifierName": "module" }, "name": "module" }, "property": { "type": "Identifier", "start": 20804, "end": 20808, "loc": { "start": { "line": 621, "column": 15 }, "end": { "line": 621, "column": 19 }, "identifierName": "init" }, "name": "init" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 20809, "end": 20813, "loc": { "start": { "line": 621, "column": 20 }, "end": { "line": 621, "column": 24 } } } ] } } ], "directives": [] } } ] } }, { "type": "ExpressionStatement", "start": 20836, "end": 20912, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 82 } }, "expression": { "type": "AssignmentExpression", "start": 20836, "end": 20911, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 81 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 20836, "end": 20862, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 32 } }, "object": { "type": "ThisExpression", "start": 20836, "end": 20840, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 10 } } }, "property": { "type": "Identifier", "start": 20841, "end": 20862, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 32 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 20865, "end": 20911, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 81 } }, "left": { "type": "MemberExpression", "start": 20865, "end": 20891, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 61 } }, "object": { "type": "ThisExpression", "start": 20865, "end": 20869, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 39 } } }, "property": { "type": "Identifier", "start": 20870, "end": 20891, "loc": { "start": { "line": 624, "column": 40 }, "end": { "line": 624, "column": 61 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 20894, "end": 20911, "loc": { "start": { "line": 624, "column": 64 }, "end": { "line": 624, "column": 81 } }, "extra": { "rawValue": " modules-loaded", "raw": "' modules-loaded'" }, "value": " modules-loaded" } } } }, { "type": "ExpressionStatement", "start": 20922, "end": 20936, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 20 } }, "expression": { "type": "CallExpression", "start": 20922, "end": 20935, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 20922, "end": 20933, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 17 } }, "object": { "type": "ThisExpression", "start": 20922, "end": 20926, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 10 } } }, "property": { "type": "Identifier", "start": 20927, "end": 20933, "loc": { "start": { "line": 626, "column": 11 }, "end": { "line": 626, "column": 17 }, "identifierName": "render" }, "name": "render" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 20944, "end": 20967, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 29 } }, "expression": { "type": "CallExpression", "start": 20944, "end": 20966, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 28 } }, "callee": { "type": "MemberExpression", "start": 20944, "end": 20964, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 26 } }, "object": { "type": "ThisExpression", "start": 20944, "end": 20948, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 10 } } }, "property": { "type": "Identifier", "start": 20949, "end": 20964, "loc": { "start": { "line": 627, "column": 11 }, "end": { "line": 627, "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": 20305, "end": 20334, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20985, "end": 21017, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 633, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 21021, "end": 21153, "loc": { "start": { "line": 634, "column": 2 }, "end": { "line": 639, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21021, "end": 21034, "loc": { "start": { "line": 634, "column": 2 }, "end": { "line": 634, "column": 15 }, "identifierName": "getModuleProp" }, "name": "getModuleProp", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 21037, "end": 21153, "loc": { "start": { "line": 634, "column": 18 }, "end": { "line": 639, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21038, "end": 21042, "loc": { "start": { "line": 634, "column": 19 }, "end": { "line": 634, "column": 23 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 21044, "end": 21048, "loc": { "start": { "line": 634, "column": 25 }, "end": { "line": 634, "column": 29 }, "identifierName": "prop" }, "name": "prop" } ], "body": { "type": "BlockStatement", "start": 21053, "end": 21153, "loc": { "start": { "line": 634, "column": 34 }, "end": { "line": 639, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 21060, "end": 21104, "loc": { "start": { "line": 635, "column": 4 }, "end": { "line": 636, "column": 19 } }, "test": { "type": "UnaryExpression", "start": 21063, "end": 21082, "loc": { "start": { "line": 635, "column": 7 }, "end": { "line": 635, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 21064, "end": 21082, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 26 } }, "object": { "type": "MemberExpression", "start": 21064, "end": 21076, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 20 } }, "object": { "type": "ThisExpression", "start": 21064, "end": 21068, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 12 } } }, "property": { "type": "Identifier", "start": 21069, "end": 21076, "loc": { "start": { "line": 635, "column": 13 }, "end": { "line": 635, "column": 20 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 21077, "end": 21081, "loc": { "start": { "line": 635, "column": 21 }, "end": { "line": 635, "column": 25 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ReturnStatement", "start": 21091, "end": 21104, "loc": { "start": { "line": 636, "column": 6 }, "end": { "line": 636, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 21098, "end": 21103, "loc": { "start": { "line": 636, "column": 13 }, "end": { "line": 636, "column": 18 } }, "value": false } }, "alternate": null }, { "type": "ReturnStatement", "start": 21116, "end": 21148, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 638, "column": 36 } }, "argument": { "type": "MemberExpression", "start": 21123, "end": 21147, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 35 } }, "object": { "type": "MemberExpression", "start": 21123, "end": 21141, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 29 } }, "object": { "type": "MemberExpression", "start": 21123, "end": 21135, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 23 } }, "object": { "type": "ThisExpression", "start": 21123, "end": 21127, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 15 } } }, "property": { "type": "Identifier", "start": 21128, "end": 21135, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 23 }, "identifierName": "modules" }, "name": "modules" }, "computed": false }, "property": { "type": "Identifier", "start": 21136, "end": 21140, "loc": { "start": { "line": 638, "column": 24 }, "end": { "line": 638, "column": 28 }, "identifierName": "name" }, "name": "name" }, "computed": true }, "property": { "type": "Identifier", "start": 21142, "end": 21146, "loc": { "start": { "line": 638, "column": 30 }, "end": { "line": 638, "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": 20985, "end": 21017, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 633, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 21159, "end": 21190, "loc": { "start": { "line": 641, "column": 2 }, "end": { "line": 643, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 21194, "end": 21262, "loc": { "start": { "line": 644, "column": 2 }, "end": { "line": 646, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21194, "end": 21208, "loc": { "start": { "line": 644, "column": 2 }, "end": { "line": 644, "column": 16 }, "identifierName": "getModulesList" }, "name": "getModulesList", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 21211, "end": 21262, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 646, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 21217, "end": 21262, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 646, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 21224, "end": 21257, "loc": { "start": { "line": 645, "column": 4 }, "end": { "line": 645, "column": 37 } }, "argument": { "type": "CallExpression", "start": 21231, "end": 21256, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 21231, "end": 21242, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 22 } }, "object": { "type": "Identifier", "start": 21231, "end": 21237, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 17 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 21238, "end": 21242, "loc": { "start": { "line": 645, "column": 18 }, "end": { "line": 645, "column": 22 }, "identifierName": "keys" }, "name": "keys" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21243, "end": 21255, "loc": { "start": { "line": 645, "column": 23 }, "end": { "line": 645, "column": 35 } }, "object": { "type": "ThisExpression", "start": 21243, "end": 21247, "loc": { "start": { "line": 645, "column": 23 }, "end": { "line": 645, "column": 27 } } }, "property": { "type": "Identifier", "start": 21248, "end": 21255, "loc": { "start": { "line": 645, "column": 28 }, "end": { "line": 645, "column": 35 }, "identifierName": "modules" }, "name": "modules" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 21159, "end": 21190, "loc": { "start": { "line": 641, "column": 2 }, "end": { "line": 643, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 21268, "end": 21324, "loc": { "start": { "line": 648, "column": 2 }, "end": { "line": 650, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 21328, "end": 26322, "loc": { "start": { "line": 651, "column": 2 }, "end": { "line": 812, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 21328, "end": 21334, "loc": { "start": { "line": 651, "column": 2 }, "end": { "line": 651, "column": 8 }, "identifierName": "render" }, "name": "render", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 21336, "end": 26322, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 812, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 21384, "end": 21397, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 17 } }, "expression": { "type": "CallExpression", "start": 21384, "end": 21396, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 16 } }, "callee": { "type": "MemberExpression", "start": 21384, "end": 21394, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 14 } }, "object": { "type": "ThisExpression", "start": 21384, "end": 21388, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 21389, "end": 21394, "loc": { "start": { "line": 655, "column": 9 }, "end": { "line": 655, "column": 14 }, "identifierName": "clear" }, "name": "clear" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 21343, "end": 21378, "loc": { "start": { "line": 652, "column": 4 }, "end": { "line": 654, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 21405, "end": 21505, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 657, "column": 104 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21409, "end": 21504, "loc": { "start": { "line": 657, "column": 8 }, "end": { "line": 657, "column": 103 } }, "id": { "type": "Identifier", "start": 21409, "end": 21420, "loc": { "start": { "line": 657, "column": 8 }, "end": { "line": 657, "column": 19 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, "init": { "type": "ConditionalExpression", "start": 21423, "end": 21504, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 103 } }, "test": { "type": "MemberExpression", "start": 21423, "end": 21442, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 41 } }, "object": { "type": "MemberExpression", "start": 21423, "end": 21435, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 34 } }, "object": { "type": "ThisExpression", "start": 21423, "end": 21427, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 26 } } }, "property": { "type": "Identifier", "start": 21428, "end": 21435, "loc": { "start": { "line": 657, "column": 27 }, "end": { "line": 657, "column": 34 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21436, "end": 21442, "loc": { "start": { "line": 657, "column": 35 }, "end": { "line": 657, "column": 41 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "consequent": { "type": "StringLiteral", "start": 21445, "end": 21463, "loc": { "start": { "line": 657, "column": 44 }, "end": { "line": 657, "column": 62 } }, "extra": { "rawValue": "hg-layout-custom", "raw": "\"hg-layout-custom\"" }, "value": "hg-layout-custom" }, "alternate": { "type": "TemplateLiteral", "start": 21466, "end": 21504, "loc": { "start": { "line": 657, "column": 65 }, "end": { "line": 657, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 21479, "end": 21502, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 101 } }, "object": { "type": "MemberExpression", "start": 21479, "end": 21491, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 90 } }, "object": { "type": "ThisExpression", "start": 21479, "end": 21483, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 82 } } }, "property": { "type": "Identifier", "start": 21484, "end": 21491, "loc": { "start": { "line": 657, "column": 83 }, "end": { "line": 657, "column": 90 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21492, "end": 21502, "loc": { "start": { "line": 657, "column": 91 }, "end": { "line": 657, "column": 101 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 21467, "end": 21477, "loc": { "start": { "line": 657, "column": 66 }, "end": { "line": 657, "column": 76 } }, "value": { "raw": "hg-layout-", "cooked": "hg-layout-" }, "tail": false }, { "type": "TemplateElement", "start": 21503, "end": 21503, "loc": { "start": { "line": 657, "column": 102 }, "end": { "line": 657, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21511, "end": 21581, "loc": { "start": { "line": 658, "column": 4 }, "end": { "line": 658, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21515, "end": 21580, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 73 } }, "id": { "type": "Identifier", "start": 21515, "end": 21521, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 14 }, "identifierName": "layout" }, "name": "layout" }, "init": { "type": "LogicalExpression", "start": 21524, "end": 21580, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 73 } }, "left": { "type": "MemberExpression", "start": 21524, "end": 21543, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 36 } }, "object": { "type": "MemberExpression", "start": 21524, "end": 21536, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 29 } }, "object": { "type": "ThisExpression", "start": 21524, "end": 21528, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 21 } } }, "property": { "type": "Identifier", "start": 21529, "end": 21536, "loc": { "start": { "line": 658, "column": 22 }, "end": { "line": 658, "column": 29 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21537, "end": 21543, "loc": { "start": { "line": 658, "column": 30 }, "end": { "line": 658, "column": 36 }, "identifierName": "layout" }, "name": "layout" }, "computed": false }, "operator": "||", "right": { "type": "CallExpression", "start": 21547, "end": 21580, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 21547, "end": 21578, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 71 } }, "object": { "type": "Identifier", "start": 21547, "end": 21561, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 54 }, "identifierName": "KeyboardLayout" }, "name": "KeyboardLayout" }, "property": { "type": "Identifier", "start": 21562, "end": 21578, "loc": { "start": { "line": 658, "column": 55 }, "end": { "line": 658, "column": 71 }, "identifierName": "getDefaultLayout" }, "name": "getDefaultLayout" }, "computed": false }, "arguments": [] } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 21587, "end": 21644, "loc": { "start": { "line": 659, "column": 4 }, "end": { "line": 659, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21591, "end": 21644, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 61 } }, "id": { "type": "Identifier", "start": 21591, "end": 21605, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 22 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "init": { "type": "LogicalExpression", "start": 21608, "end": 21644, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 61 } }, "left": { "type": "MemberExpression", "start": 21608, "end": 21635, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 52 } }, "object": { "type": "MemberExpression", "start": 21608, "end": 21620, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 37 } }, "object": { "type": "ThisExpression", "start": 21608, "end": 21612, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 29 } } }, "property": { "type": "Identifier", "start": 21613, "end": 21620, "loc": { "start": { "line": 659, "column": 30 }, "end": { "line": 659, "column": 37 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21621, "end": 21635, "loc": { "start": { "line": 659, "column": 38 }, "end": { "line": 659, "column": 52 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "computed": false }, "operator": "||", "right": { "type": "BooleanLiteral", "start": 21639, "end": 21644, "loc": { "start": { "line": 659, "column": 56 }, "end": { "line": 659, "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": 21652, "end": 21704, "loc": { "start": { "line": 661, "column": 4 }, "end": { "line": 663, "column": 7 } } } ] }, { "type": "VariableDeclaration", "start": 21710, "end": 21738, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 664, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21714, "end": 21737, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 31 } }, "id": { "type": "Identifier", "start": 21714, "end": 21732, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 26 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed", "leadingComments": null }, "init": { "type": "ObjectExpression", "start": 21735, "end": 21737, "loc": { "start": { "line": 664, "column": 29 }, "end": { "line": 664, "column": 31 } }, "properties": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21652, "end": 21704, "loc": { "start": { "line": 661, "column": 4 }, "end": { "line": 663, "column": 7 } } } ] }, { "type": "IfStatement", "start": 21744, "end": 22883, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 693, "column": 5 } }, "test": { "type": "CallExpression", "start": 21747, "end": 21786, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 21747, "end": 21760, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 20 } }, "object": { "type": "Identifier", "start": 21747, "end": 21752, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 12 }, "identifierName": "Array" }, "name": "Array" }, "property": { "type": "Identifier", "start": 21753, "end": 21760, "loc": { "start": { "line": 665, "column": 13 }, "end": { "line": 665, "column": 20 }, "identifierName": "isArray" }, "name": "isArray" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 21761, "end": 21785, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 45 } }, "object": { "type": "MemberExpression", "start": 21761, "end": 21773, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 33 } }, "object": { "type": "ThisExpression", "start": 21761, "end": 21765, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 25 } } }, "property": { "type": "Identifier", "start": 21766, "end": 21773, "loc": { "start": { "line": 665, "column": 26 }, "end": { "line": 665, "column": 33 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21774, "end": 21785, "loc": { "start": { "line": 665, "column": 34 }, "end": { "line": 665, "column": 45 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 21787, "end": 22883, "loc": { "start": { "line": 665, "column": 47 }, "end": { "line": 693, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 21796, "end": 22876, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 692, "column": 9 } }, "expression": { "type": "CallExpression", "start": 21796, "end": 22875, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 692, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 21796, "end": 21828, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 38 } }, "object": { "type": "MemberExpression", "start": 21796, "end": 21820, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 30 } }, "object": { "type": "MemberExpression", "start": 21796, "end": 21808, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 18 } }, "object": { "type": "ThisExpression", "start": 21796, "end": 21800, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 10 } } }, "property": { "type": "Identifier", "start": 21801, "end": 21808, "loc": { "start": { "line": 666, "column": 11 }, "end": { "line": 666, "column": 18 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 21809, "end": 21820, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "column": 30 }, "identifierName": "buttonTheme" }, "name": "buttonTheme" }, "computed": false }, "property": { "type": "Identifier", "start": 21821, "end": 21828, "loc": { "start": { "line": 666, "column": 31 }, "end": { "line": 666, "column": 38 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 21829, "end": 22874, "loc": { "start": { "line": 666, "column": 39 }, "end": { "line": 692, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 21829, "end": 21837, "loc": { "start": { "line": 666, "column": 39 }, "end": { "line": 666, "column": 47 }, "identifierName": "themeObj" }, "name": "themeObj" } ], "body": { "type": "BlockStatement", "start": 21841, "end": 22874, "loc": { "start": { "line": 666, "column": 51 }, "end": { "line": 692, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 21852, "end": 22865, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 691, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 21855, "end": 21889, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 45 } }, "left": { "type": "MemberExpression", "start": 21855, "end": 21871, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 27 } }, "object": { "type": "Identifier", "start": 21855, "end": 21863, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 19 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21864, "end": 21871, "loc": { "start": { "line": 667, "column": 20 }, "end": { "line": 667, "column": 27 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "operator": "&&", "right": { "type": "MemberExpression", "start": 21875, "end": 21889, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 45 } }, "object": { "type": "Identifier", "start": 21875, "end": 21883, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 39 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21884, "end": 21889, "loc": { "start": { "line": 667, "column": 40 }, "end": { "line": 667, "column": 45 }, "identifierName": "class" }, "name": "class" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 21890, "end": 22731, "loc": { "start": { "line": 667, "column": 46 }, "end": { "line": 689, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 21903, "end": 21920, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 21907, "end": 21919, "loc": { "start": { "line": 668, "column": 14 }, "end": { "line": 668, "column": 26 } }, "id": { "type": "Identifier", "start": 21907, "end": 21919, "loc": { "start": { "line": 668, "column": 14 }, "end": { "line": 668, "column": 26 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 21934, "end": 22045, "loc": { "start": { "line": 670, "column": 10 }, "end": { "line": 672, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 21937, "end": 21973, "loc": { "start": { "line": 670, "column": 13 }, "end": { "line": 670, "column": 49 } }, "left": { "type": "UnaryExpression", "start": 21937, "end": 21960, "loc": { "start": { "line": 670, "column": 13 }, "end": { "line": 670, "column": 36 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 21944, "end": 21960, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 36 } }, "object": { "type": "Identifier", "start": 21944, "end": 21952, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 28 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 21953, "end": 21960, "loc": { "start": { "line": 670, "column": 29 }, "end": { "line": 670, "column": 36 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 21965, "end": 21973, "loc": { "start": { "line": 670, "column": 41 }, "end": { "line": 670, "column": 49 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 21974, "end": 22045, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 672, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 21989, "end": 22032, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 21989, "end": 22031, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 21989, "end": 22001, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "right": { "type": "CallExpression", "start": 22004, "end": 22031, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 22004, "end": 22026, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 49 } }, "object": { "type": "MemberExpression", "start": 22004, "end": 22020, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 43 } }, "object": { "type": "Identifier", "start": 22004, "end": 22012, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 35 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22013, "end": 22020, "loc": { "start": { "line": 671, "column": 36 }, "end": { "line": 671, "column": 43 }, "identifierName": "buttons" }, "name": "buttons" }, "computed": false }, "property": { "type": "Identifier", "start": 22021, "end": 22026, "loc": { "start": { "line": 671, "column": 44 }, "end": { "line": 671, "column": 49 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22027, "end": 22030, "loc": { "start": { "line": 671, "column": 50 }, "end": { "line": 671, "column": 53 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 22059, "end": 22720, "loc": { "start": { "line": 674, "column": 10 }, "end": { "line": 688, "column": 11 } }, "test": { "type": "Identifier", "start": 22062, "end": 22074, "loc": { "start": { "line": 674, "column": 13 }, "end": { "line": 674, "column": 25 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "consequent": { "type": "BlockStatement", "start": 22075, "end": 22720, "loc": { "start": { "line": 674, "column": 26 }, "end": { "line": 688, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 22090, "end": 22707, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 687, "column": 15 } }, "expression": { "type": "CallExpression", "start": 22090, "end": 22706, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 687, "column": 14 } }, "callee": { "type": "MemberExpression", "start": 22090, "end": 22110, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 32 } }, "object": { "type": "Identifier", "start": 22090, "end": 22102, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 24 }, "identifierName": "themeButtons" }, "name": "themeButtons" }, "property": { "type": "Identifier", "start": 22103, "end": 22110, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 32 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 22111, "end": 22705, "loc": { "start": { "line": 675, "column": 33 }, "end": { "line": 687, "column": 13 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 22111, "end": 22122, "loc": { "start": { "line": 675, "column": 33 }, "end": { "line": 675, "column": 44 }, "identifierName": "themeButton" }, "name": "themeButton" } ], "body": { "type": "BlockStatement", "start": 22126, "end": 22705, "loc": { "start": { "line": 675, "column": 48 }, "end": { "line": 687, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 22143, "end": 22193, "loc": { "start": { "line": 676, "column": 14 }, "end": { "line": 676, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 22147, "end": 22192, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 63 } }, "id": { "type": "Identifier", "start": 22147, "end": 22158, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 29 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "init": { "type": "MemberExpression", "start": 22161, "end": 22192, "loc": { "start": { "line": 676, "column": 32 }, "end": { "line": 676, "column": 63 } }, "object": { "type": "Identifier", "start": 22161, "end": 22179, "loc": { "start": { "line": 676, "column": 32 }, "end": { "line": 676, "column": 50 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22180, "end": 22191, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 62 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 22211, "end": 22250, "loc": { "start": { "line": 678, "column": 14 }, "end": { "line": 678, "column": 53 } } } ] }, { "type": "IfStatement", "start": 22266, "end": 22690, "loc": { "start": { "line": 679, "column": 14 }, "end": { "line": 686, "column": 15 } }, "test": { "type": "Identifier", "start": 22269, "end": 22280, "loc": { "start": { "line": 679, "column": 17 }, "end": { "line": 679, "column": 28 }, "identifierName": "themeParsed" }, "name": "themeParsed", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 22281, "end": 22599, "loc": { "start": { "line": 679, "column": 29 }, "end": { "line": 684, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 22401, "end": 22582, "loc": { "start": { "line": 681, "column": 16 }, "end": { "line": 683, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 22404, "end": 22472, "loc": { "start": { "line": 681, "column": 19 }, "end": { "line": 681, "column": 87 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 22405, "end": 22472, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 22405, "end": 22432, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 47 } }, "object": { "type": "MemberExpression", "start": 22405, "end": 22419, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 34 } }, "object": { "type": "ThisExpression", "start": 22405, "end": 22409, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22410, "end": 22419, "loc": { "start": { "line": 681, "column": 25 }, "end": { "line": 681, "column": 34 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22420, "end": 22432, "loc": { "start": { "line": 681, "column": 35 }, "end": { "line": 681, "column": 47 }, "identifierName": "countInArray" }, "name": "countInArray" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "CallExpression", "start": 22433, "end": 22455, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 22433, "end": 22450, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 65 } }, "object": { "type": "Identifier", "start": 22433, "end": 22444, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 59 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, "property": { "type": "Identifier", "start": 22445, "end": 22450, "loc": { "start": { "line": 681, "column": 60 }, "end": { "line": 681, "column": 65 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 22451, "end": 22454, "loc": { "start": { "line": 681, "column": 66 }, "end": { "line": 681, "column": 69 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " } ] }, { "type": "MemberExpression", "start": 22457, "end": 22471, "loc": { "start": { "line": 681, "column": 72 }, "end": { "line": 681, "column": 86 } }, "object": { "type": "Identifier", "start": 22457, "end": 22465, "loc": { "start": { "line": 681, "column": 72 }, "end": { "line": 681, "column": 80 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22466, "end": 22471, "loc": { "start": { "line": 681, "column": 81 }, "end": { "line": 681, "column": 86 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 22473, "end": 22582, "loc": { "start": { "line": 681, "column": 88 }, "end": { "line": 683, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 22494, "end": 22563, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 22494, "end": 22562, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 86 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22494, "end": 22525, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 49 } }, "object": { "type": "Identifier", "start": 22494, "end": 22512, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 36 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22513, "end": 22524, "loc": { "start": { "line": 682, "column": 37 }, "end": { "line": 682, "column": 48 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "TemplateLiteral", "start": 22528, "end": 22562, "loc": { "start": { "line": 682, "column": 52 }, "end": { "line": 682, "column": 86 } }, "expressions": [ { "type": "Identifier", "start": 22531, "end": 22542, "loc": { "start": { "line": 682, "column": 55 }, "end": { "line": 682, "column": 66 }, "identifierName": "themeParsed" }, "name": "themeParsed" }, { "type": "MemberExpression", "start": 22546, "end": 22560, "loc": { "start": { "line": 682, "column": 70 }, "end": { "line": 682, "column": 84 } }, "object": { "type": "Identifier", "start": 22546, "end": 22554, "loc": { "start": { "line": 682, "column": 70 }, "end": { "line": 682, "column": 78 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22555, "end": 22560, "loc": { "start": { "line": 682, "column": 79 }, "end": { "line": 682, "column": 84 }, "identifierName": "class" }, "name": "class" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22529, "end": 22529, "loc": { "start": { "line": 682, "column": 53 }, "end": { "line": 682, "column": 53 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 22543, "end": 22544, "loc": { "start": { "line": 682, "column": 67 }, "end": { "line": 682, "column": 68 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 22561, "end": 22561, "loc": { "start": { "line": 682, "column": 85 }, "end": { "line": 682, "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": 22300, "end": 22383, "loc": { "start": { "line": 680, "column": 16 }, "end": { "line": 680, "column": 99 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22605, "end": 22690, "loc": { "start": { "line": 684, "column": 21 }, "end": { "line": 686, "column": 15 } }, "body": [ { "type": "ExpressionStatement", "start": 22624, "end": 22673, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 22624, "end": 22672, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 22624, "end": 22655, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 47 } }, "object": { "type": "Identifier", "start": 22624, "end": 22642, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 34 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 22643, "end": 22654, "loc": { "start": { "line": 685, "column": 35 }, "end": { "line": 685, "column": 46 }, "identifierName": "themeButton" }, "name": "themeButton" }, "computed": true }, "right": { "type": "MemberExpression", "start": 22658, "end": 22672, "loc": { "start": { "line": 685, "column": 50 }, "end": { "line": 685, "column": 64 } }, "object": { "type": "Identifier", "start": 22658, "end": 22666, "loc": { "start": { "line": 685, "column": 50 }, "end": { "line": 685, "column": 58 }, "identifierName": "themeObj" }, "name": "themeObj" }, "property": { "type": "Identifier", "start": 22667, "end": 22672, "loc": { "start": { "line": 685, "column": 59 }, "end": { "line": 685, "column": 64 }, "identifierName": "class" }, "name": "class" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If the button has already been added", "start": 22211, "end": 22250, "loc": { "start": { "line": 678, "column": 14 }, "end": { "line": 678, "column": 53 } } } ] } ], "directives": [] } } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 22737, "end": 22865, "loc": { "start": { "line": 689, "column": 15 }, "end": { "line": 691, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 22750, "end": 22854, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 114 } }, "expression": { "type": "CallExpression", "start": 22750, "end": 22854, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 114 } }, "callee": { "type": "MemberExpression", "start": 22750, "end": 22762, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 22 } }, "object": { "type": "Identifier", "start": 22750, "end": 22757, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 17 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 22758, "end": 22762, "loc": { "start": { "line": 690, "column": 18 }, "end": { "line": 690, "column": 22 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "TemplateLiteral", "start": 22763, "end": 22853, "loc": { "start": { "line": 690, "column": 23 }, "end": { "line": 690, "column": 113 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 22764, "end": 22852, "loc": { "start": { "line": 690, "column": 24 }, "end": { "line": 690, "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": 22891, "end": 22957, "loc": { "start": { "line": 695, "column": 4 }, "end": { "line": 697, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 22963, "end": 23063, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 22963, "end": 23062, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 103 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 22963, "end": 22989, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 30 } }, "object": { "type": "MemberExpression", "start": 22963, "end": 22979, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 20 } }, "object": { "type": "ThisExpression", "start": 22963, "end": 22967, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 22968, "end": 22979, "loc": { "start": { "line": 698, "column": 9 }, "end": { "line": 698, "column": 20 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 22980, "end": 22989, "loc": { "start": { "line": 698, "column": 21 }, "end": { "line": 698, "column": 30 }, "identifierName": "className" }, "name": "className" }, "computed": false, "leadingComments": null }, "right": { "type": "TemplateLiteral", "start": 22993, "end": 23062, "loc": { "start": { "line": 698, "column": 34 }, "end": { "line": 698, "column": 103 } }, "expressions": [ { "type": "MemberExpression", "start": 22997, "end": 23015, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 56 } }, "object": { "type": "MemberExpression", "start": 22997, "end": 23009, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 50 } }, "object": { "type": "ThisExpression", "start": 22997, "end": 23001, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 42 } } }, "property": { "type": "Identifier", "start": 23002, "end": 23009, "loc": { "start": { "line": 698, "column": 43 }, "end": { "line": 698, "column": 50 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23010, "end": 23015, "loc": { "start": { "line": 698, "column": 51 }, "end": { "line": 698, "column": 56 }, "identifierName": "theme" }, "name": "theme" }, "computed": false }, { "type": "Identifier", "start": 23019, "end": 23030, "loc": { "start": { "line": 698, "column": 60 }, "end": { "line": 698, "column": 71 }, "identifierName": "layoutClass" }, "name": "layoutClass" }, { "type": "MemberExpression", "start": 23034, "end": 23060, "loc": { "start": { "line": 698, "column": 75 }, "end": { "line": 698, "column": 101 } }, "object": { "type": "ThisExpression", "start": 23034, "end": 23038, "loc": { "start": { "line": 698, "column": 75 }, "end": { "line": 698, "column": 79 } } }, "property": { "type": "Identifier", "start": 23039, "end": 23060, "loc": { "start": { "line": 698, "column": 80 }, "end": { "line": 698, "column": 101 }, "identifierName": "keyboardPluginClasses" }, "name": "keyboardPluginClasses" }, "computed": false } ], "quasis": [ { "type": "TemplateElement", "start": 22994, "end": 22995, "loc": { "start": { "line": 698, "column": 35 }, "end": { "line": 698, "column": 36 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 23016, "end": 23017, "loc": { "start": { "line": 698, "column": 57 }, "end": { "line": 698, "column": 58 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 23031, "end": 23032, "loc": { "start": { "line": 698, "column": 72 }, "end": { "line": 698, "column": 73 } }, "value": { "raw": " ", "cooked": " " }, "tail": false }, { "type": "TemplateElement", "start": 23061, "end": 23061, "loc": { "start": { "line": 698, "column": 102 }, "end": { "line": 698, "column": 102 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22891, "end": 22957, "loc": { "start": { "line": 695, "column": 4 }, "end": { "line": 697, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 23071, "end": 23118, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 702, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 23124, "end": 25866, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 787, "column": 7 } }, "expression": { "type": "CallExpression", "start": 23124, "end": 25865, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 787, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 23124, "end": 23163, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 43 } }, "object": { "type": "MemberExpression", "start": 23124, "end": 23155, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 35 } }, "object": { "type": "Identifier", "start": 23124, "end": 23130, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 10 }, "identifierName": "layout" }, "name": "layout", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 23131, "end": 23154, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 34 } }, "object": { "type": "MemberExpression", "start": 23131, "end": 23143, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 23 } }, "object": { "type": "ThisExpression", "start": 23131, "end": 23135, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 15 } } }, "property": { "type": "Identifier", "start": 23136, "end": 23143, "loc": { "start": { "line": 703, "column": 16 }, "end": { "line": 703, "column": 23 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23144, "end": 23154, "loc": { "start": { "line": 703, "column": 24 }, "end": { "line": 703, "column": 34 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 23156, "end": 23163, "loc": { "start": { "line": 703, "column": 36 }, "end": { "line": 703, "column": 43 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 23164, "end": 25864, "loc": { "start": { "line": 703, "column": 44 }, "end": { "line": 787, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23165, "end": 23168, "loc": { "start": { "line": 703, "column": 45 }, "end": { "line": 703, "column": 48 }, "identifierName": "row" }, "name": "row" }, { "type": "Identifier", "start": 23170, "end": 23176, "loc": { "start": { "line": 703, "column": 50 }, "end": { "line": 703, "column": 56 }, "identifierName": "rIndex" }, "name": "rIndex" } ], "body": { "type": "BlockStatement", "start": 23181, "end": 25864, "loc": { "start": { "line": 703, "column": 61 }, "end": { "line": 787, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 23190, "end": 23220, "loc": { "start": { "line": 704, "column": 6 }, "end": { "line": 704, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23194, "end": 23219, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 35 } }, "id": { "type": "Identifier", "start": 23194, "end": 23202, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 18 }, "identifierName": "rowArray" }, "name": "rowArray" }, "init": { "type": "CallExpression", "start": 23205, "end": 23219, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 23205, "end": 23214, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 30 } }, "object": { "type": "Identifier", "start": 23205, "end": 23208, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 24 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 23209, "end": 23214, "loc": { "start": { "line": 704, "column": 25 }, "end": { "line": 704, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23215, "end": 23218, "loc": { "start": { "line": 704, "column": 31 }, "end": { "line": 704, "column": 34 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 23230, "end": 23273, "loc": { "start": { "line": 706, "column": 6 }, "end": { "line": 708, "column": 9 } } } ] }, { "type": "VariableDeclaration", "start": 23281, "end": 23324, "loc": { "start": { "line": 709, "column": 6 }, "end": { "line": 709, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23285, "end": 23323, "loc": { "start": { "line": 709, "column": 10 }, "end": { "line": 709, "column": 48 } }, "id": { "type": "Identifier", "start": 23285, "end": 23291, "loc": { "start": { "line": 709, "column": 10 }, "end": { "line": 709, "column": 16 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23294, "end": 23323, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 23294, "end": 23316, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 41 } }, "object": { "type": "Identifier", "start": 23294, "end": 23302, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 27 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23303, "end": 23316, "loc": { "start": { "line": 709, "column": 28 }, "end": { "line": 709, "column": 41 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23317, "end": 23322, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "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": 23230, "end": 23273, "loc": { "start": { "line": 706, "column": 6 }, "end": { "line": 708, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23332, "end": 23361, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 23332, "end": 23360, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 34 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 23332, "end": 23348, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 22 } }, "object": { "type": "Identifier", "start": 23332, "end": 23338, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 12 }, "identifierName": "rowDOM" }, "name": "rowDOM" }, "property": { "type": "Identifier", "start": 23339, "end": 23348, "loc": { "start": { "line": 710, "column": 13 }, "end": { "line": 710, "column": 22 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "StringLiteral", "start": 23352, "end": 23360, "loc": { "start": { "line": 710, "column": 26 }, "end": { "line": 710, "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": 23371, "end": 23432, "loc": { "start": { "line": 712, "column": 6 }, "end": { "line": 714, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 23440, "end": 25752, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 781, "column": 9 } }, "expression": { "type": "CallExpression", "start": 23440, "end": 25751, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 781, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 23440, "end": 23456, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 715, "column": 22 } }, "object": { "type": "Identifier", "start": 23440, "end": 23448, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 715, "column": 14 }, "identifierName": "rowArray" }, "name": "rowArray", "leadingComments": null }, "property": { "type": "Identifier", "start": 23449, "end": 23456, "loc": { "start": { "line": 715, "column": 15 }, "end": { "line": 715, "column": 22 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 23457, "end": 25750, "loc": { "start": { "line": 715, "column": 23 }, "end": { "line": 781, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 23458, "end": 23464, "loc": { "start": { "line": 715, "column": 24 }, "end": { "line": 715, "column": 30 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 23466, "end": 23472, "loc": { "start": { "line": 715, "column": 32 }, "end": { "line": 715, "column": 38 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "body": { "type": "BlockStatement", "start": 23477, "end": 25750, "loc": { "start": { "line": 715, "column": 43 }, "end": { "line": 781, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 23488, "end": 23544, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23492, "end": 23543, "loc": { "start": { "line": 716, "column": 12 }, "end": { "line": 716, "column": 63 } }, "id": { "type": "Identifier", "start": 23492, "end": 23503, "loc": { "start": { "line": 716, "column": 12 }, "end": { "line": 716, "column": 23 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, "init": { "type": "CallExpression", "start": 23506, "end": 23543, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 23506, "end": 23535, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 55 } }, "object": { "type": "MemberExpression", "start": 23506, "end": 23520, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 40 } }, "object": { "type": "ThisExpression", "start": 23506, "end": 23510, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 30 } } }, "property": { "type": "Identifier", "start": 23511, "end": 23520, "loc": { "start": { "line": 716, "column": 31 }, "end": { "line": 716, "column": 40 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 23521, "end": 23535, "loc": { "start": { "line": 716, "column": 41 }, "end": { "line": 716, "column": 55 }, "identifierName": "getButtonClass" }, "name": "getButtonClass" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23536, "end": 23542, "loc": { "start": { "line": 716, "column": 56 }, "end": { "line": 716, "column": 62 }, "identifierName": "button" }, "name": "button" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 23554, "end": 23604, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 717, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23558, "end": 23603, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 57 } }, "id": { "type": "Identifier", "start": 23558, "end": 23574, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 28 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "init": { "type": "MemberExpression", "start": 23577, "end": 23603, "loc": { "start": { "line": 717, "column": 31 }, "end": { "line": 717, "column": 57 } }, "object": { "type": "Identifier", "start": 23577, "end": 23595, "loc": { "start": { "line": 717, "column": 31 }, "end": { "line": 717, "column": 49 }, "identifierName": "buttonThemesParsed" }, "name": "buttonThemesParsed" }, "property": { "type": "Identifier", "start": 23596, "end": 23602, "loc": { "start": { "line": 717, "column": 50 }, "end": { "line": 717, "column": 56 }, "identifierName": "button" }, "name": "button" }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 23614, "end": 23731, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "column": 125 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23618, "end": 23730, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 124 } }, "id": { "type": "Identifier", "start": 23618, "end": 23635, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 29 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" }, "init": { "type": "CallExpression", "start": 23638, "end": 23730, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 124 } }, "callee": { "type": "MemberExpression", "start": 23638, "end": 23673, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 67 } }, "object": { "type": "MemberExpression", "start": 23638, "end": 23652, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 46 } }, "object": { "type": "ThisExpression", "start": 23638, "end": 23642, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 36 } } }, "property": { "type": "Identifier", "start": 23643, "end": 23652, "loc": { "start": { "line": 718, "column": 37 }, "end": { "line": 718, "column": 46 }, "identifierName": "utilities" }, "name": "utilities" }, "computed": false }, "property": { "type": "Identifier", "start": 23653, "end": 23673, "loc": { "start": { "line": 718, "column": 47 }, "end": { "line": 718, "column": 67 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 23674, "end": 23680, "loc": { "start": { "line": 718, "column": 68 }, "end": { "line": 718, "column": 74 }, "identifierName": "button" }, "name": "button" }, { "type": "MemberExpression", "start": 23682, "end": 23702, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 96 } }, "object": { "type": "MemberExpression", "start": 23682, "end": 23694, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 88 } }, "object": { "type": "ThisExpression", "start": 23682, "end": 23686, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 80 } } }, "property": { "type": "Identifier", "start": 23687, "end": 23694, "loc": { "start": { "line": 718, "column": 81 }, "end": { "line": 718, "column": 88 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23695, "end": 23702, "loc": { "start": { "line": 718, "column": 89 }, "end": { "line": 718, "column": 96 }, "identifierName": "display" }, "name": "display" }, "computed": false }, { "type": "MemberExpression", "start": 23704, "end": 23729, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 123 } }, "object": { "type": "MemberExpression", "start": 23704, "end": 23716, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 110 } }, "object": { "type": "ThisExpression", "start": 23704, "end": 23708, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 102 } } }, "property": { "type": "Identifier", "start": 23709, "end": 23716, "loc": { "start": { "line": 718, "column": 103 }, "end": { "line": 718, "column": 110 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 23717, "end": 23729, "loc": { "start": { "line": 718, "column": 111 }, "end": { "line": 718, "column": 123 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "computed": false } ] } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23743, "end": 23787, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 722, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 23797, "end": 23843, "loc": { "start": { "line": 723, "column": 8 }, "end": { "line": 723, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 23801, "end": 23842, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 53 } }, "id": { "type": "Identifier", "start": 23801, "end": 23810, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 21 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 23813, "end": 23842, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 23813, "end": 23835, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 46 } }, "object": { "type": "Identifier", "start": 23813, "end": 23821, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 32 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 23822, "end": 23835, "loc": { "start": { "line": 723, "column": 33 }, "end": { "line": 723, "column": 46 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 23836, "end": 23841, "loc": { "start": { "line": 723, "column": 47 }, "end": { "line": 723, "column": 52 } }, "extra": { "rawValue": "div", "raw": "'div'" }, "value": "div" } ] }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23743, "end": 23787, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 722, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 23853, "end": 23950, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 105 } }, "expression": { "type": "AssignmentExpression", "start": 23853, "end": 23949, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 104 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 23853, "end": 23872, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 27 } }, "object": { "type": "Identifier", "start": 23853, "end": 23862, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 23863, "end": 23872, "loc": { "start": { "line": 724, "column": 18 }, "end": { "line": 724, "column": 27 }, "identifierName": "className" }, "name": "className" }, "computed": false }, "right": { "type": "TemplateLiteral", "start": 23876, "end": 23949, "loc": { "start": { "line": 724, "column": 31 }, "end": { "line": 724, "column": 104 } }, "expressions": [ { "type": "Identifier", "start": 23889, "end": 23900, "loc": { "start": { "line": 724, "column": 44 }, "end": { "line": 724, "column": 55 }, "identifierName": "fctBtnClass" }, "name": "fctBtnClass" }, { "type": "ConditionalExpression", "start": 23903, "end": 23947, "loc": { "start": { "line": 724, "column": 58 }, "end": { "line": 724, "column": 102 } }, "test": { "type": "Identifier", "start": 23903, "end": 23919, "loc": { "start": { "line": 724, "column": 58 }, "end": { "line": 724, "column": 74 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" }, "consequent": { "type": "BinaryExpression", "start": 23922, "end": 23942, "loc": { "start": { "line": 724, "column": 77 }, "end": { "line": 724, "column": 97 } }, "left": { "type": "StringLiteral", "start": 23922, "end": 23925, "loc": { "start": { "line": 724, "column": 77 }, "end": { "line": 724, "column": 80 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, "operator": "+", "right": { "type": "Identifier", "start": 23926, "end": 23942, "loc": { "start": { "line": 724, "column": 81 }, "end": { "line": 724, "column": 97 }, "identifierName": "buttonThemeClass" }, "name": "buttonThemeClass" } }, "alternate": { "type": "StringLiteral", "start": 23945, "end": 23947, "loc": { "start": { "line": 724, "column": 100 }, "end": { "line": 724, "column": 102 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } } ], "quasis": [ { "type": "TemplateElement", "start": 23877, "end": 23887, "loc": { "start": { "line": 724, "column": 32 }, "end": { "line": 724, "column": 42 } }, "value": { "raw": "hg-button ", "cooked": "hg-button " }, "tail": false }, { "type": "TemplateElement", "start": 23901, "end": 23901, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 56 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 23948, "end": 23948, "loc": { "start": { "line": 724, "column": 103 }, "end": { "line": 724, "column": 103 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, { "type": "IfStatement", "start": 23970, "end": 24636, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 742, "column": 9 } }, "test": { "type": "Identifier", "start": 23974, "end": 23988, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 26 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents" }, "consequent": { "type": "BlockStatement", "start": 23990, "end": 24296, "loc": { "start": { "line": 726, "column": 28 }, "end": { "line": 733, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 24003, "end": 24148, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 730, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 24003, "end": 24148, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 730, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24003, "end": 24025, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 727, "column": 32 } }, "object": { "type": "Identifier", "start": 24003, "end": 24012, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 727, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24013, "end": 24025, "loc": { "start": { "line": 727, "column": 20 }, "end": { "line": 727, "column": 32 }, "identifierName": "ontouchstart" }, "name": "ontouchstart" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24028, "end": 24148, "loc": { "start": { "line": 727, "column": 35 }, "end": { "line": 730, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 24029, "end": 24030, "loc": { "start": { "line": 727, "column": 36 }, "end": { "line": 727, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 24035, "end": 24148, "loc": { "start": { "line": 727, "column": 42 }, "end": { "line": 730, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 24050, "end": 24083, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 45 } }, "expression": { "type": "CallExpression", "start": 24050, "end": 24082, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 24050, "end": 24074, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 36 } }, "object": { "type": "ThisExpression", "start": 24050, "end": 24054, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 16 } } }, "property": { "type": "Identifier", "start": 24055, "end": 24074, "loc": { "start": { "line": 728, "column": 17 }, "end": { "line": 728, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24075, "end": 24081, "loc": { "start": { "line": 728, "column": 37 }, "end": { "line": 728, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } }, { "type": "ExpressionStatement", "start": 24097, "end": 24135, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 50 } }, "expression": { "type": "CallExpression", "start": 24097, "end": 24134, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 24097, "end": 24123, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24097, "end": 24101, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 16 } } }, "property": { "type": "Identifier", "start": 24102, "end": 24123, "loc": { "start": { "line": 729, "column": 17 }, "end": { "line": 729, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24124, "end": 24130, "loc": { "start": { "line": 729, "column": 39 }, "end": { "line": 729, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 24132, "end": 24133, "loc": { "start": { "line": 729, "column": 47 }, "end": { "line": 729, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 24160, "end": 24215, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 24160, "end": 24214, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 64 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24160, "end": 24180, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 30 } }, "object": { "type": "Identifier", "start": 24160, "end": 24169, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24170, "end": 24180, "loc": { "start": { "line": 731, "column": 20 }, "end": { "line": 731, "column": 30 }, "identifierName": "ontouchend" }, "name": "ontouchend" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24183, "end": 24214, "loc": { "start": { "line": 731, "column": 33 }, "end": { "line": 731, "column": 64 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 24183, "end": 24184, "loc": { "start": { "line": 731, "column": 33 }, "end": { "line": 731, "column": 34 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 24188, "end": 24214, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 24188, "end": 24212, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 62 } }, "object": { "type": "ThisExpression", "start": 24188, "end": 24192, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 42 } } }, "property": { "type": "Identifier", "start": 24193, "end": 24212, "loc": { "start": { "line": 731, "column": 43 }, "end": { "line": 731, "column": 62 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } }, { "type": "ExpressionStatement", "start": 24227, "end": 24285, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 24227, "end": 24284, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24227, "end": 24250, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 33 } }, "object": { "type": "Identifier", "start": 24227, "end": 24236, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24237, "end": 24250, "loc": { "start": { "line": 732, "column": 20 }, "end": { "line": 732, "column": 33 }, "identifierName": "ontouchcancel" }, "name": "ontouchcancel" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24253, "end": 24284, "loc": { "start": { "line": 732, "column": 36 }, "end": { "line": 732, "column": 67 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 24253, "end": 24254, "loc": { "start": { "line": 732, "column": 36 }, "end": { "line": 732, "column": 37 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "CallExpression", "start": 24258, "end": 24284, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 24258, "end": 24282, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 65 } }, "object": { "type": "ThisExpression", "start": 24258, "end": 24262, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 45 } } }, "property": { "type": "Identifier", "start": 24263, "end": 24282, "loc": { "start": { "line": 732, "column": 46 }, "end": { "line": 732, "column": 65 }, "identifierName": "handleButtonMouseUp" }, "name": "handleButtonMouseUp" }, "computed": false }, "arguments": [] } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 24302, "end": 24636, "loc": { "start": { "line": 733, "column": 15 }, "end": { "line": 742, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 24315, "end": 24441, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 737, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 24315, "end": 24441, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 737, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24315, "end": 24332, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 734, "column": 27 } }, "object": { "type": "Identifier", "start": 24315, "end": 24324, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 734, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24325, "end": 24332, "loc": { "start": { "line": 734, "column": 20 }, "end": { "line": 734, "column": 27 }, "identifierName": "onclick" }, "name": "onclick" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24335, "end": 24441, "loc": { "start": { "line": 734, "column": 30 }, "end": { "line": 737, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 24341, "end": 24441, "loc": { "start": { "line": 734, "column": 36 }, "end": { "line": 737, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 24356, "end": 24381, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 24356, "end": 24380, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24356, "end": 24372, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 28 } }, "object": { "type": "ThisExpression", "start": 24356, "end": 24360, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 16 } } }, "property": { "type": "Identifier", "start": 24361, "end": 24372, "loc": { "start": { "line": 735, "column": 17 }, "end": { "line": 735, "column": 28 }, "identifierName": "isMouseHold" }, "name": "isMouseHold" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 24375, "end": 24380, "loc": { "start": { "line": 735, "column": 31 }, "end": { "line": 735, "column": 36 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 24395, "end": 24428, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 45 } }, "expression": { "type": "CallExpression", "start": 24395, "end": 24427, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 24395, "end": 24419, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 36 } }, "object": { "type": "ThisExpression", "start": 24395, "end": 24399, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 16 } } }, "property": { "type": "Identifier", "start": 24400, "end": 24419, "loc": { "start": { "line": 736, "column": 17 }, "end": { "line": 736, "column": 36 }, "identifierName": "handleButtonClicked" }, "name": "handleButtonClicked" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24420, "end": 24426, "loc": { "start": { "line": 736, "column": 37 }, "end": { "line": 736, "column": 43 }, "identifierName": "button" }, "name": "button" } ] } } ], "directives": [] } } } }, { "type": "ExpressionStatement", "start": 24453, "end": 24625, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 741, "column": 11 } }, "expression": { "type": "AssignmentExpression", "start": 24453, "end": 24625, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 741, "column": 11 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 24453, "end": 24474, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 738, "column": 31 } }, "object": { "type": "Identifier", "start": 24453, "end": 24462, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 738, "column": 19 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 24463, "end": 24474, "loc": { "start": { "line": 738, "column": 20 }, "end": { "line": 738, "column": 31 }, "identifierName": "onmousedown" }, "name": "onmousedown" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 24477, "end": 24625, "loc": { "start": { "line": 738, "column": 34 }, "end": { "line": 741, "column": 11 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 24478, "end": 24479, "loc": { "start": { "line": 738, "column": 35 }, "end": { "line": 738, "column": 36 }, "identifierName": "e" }, "name": "e" } ], "body": { "type": "BlockStatement", "start": 24484, "end": 24625, "loc": { "start": { "line": 738, "column": 41 }, "end": { "line": 741, "column": 11 } }, "body": [ { "type": "IfStatement", "start": 24499, "end": 24560, "loc": { "start": { "line": 739, "column": 12 }, "end": { "line": 739, "column": 73 } }, "test": { "type": "MemberExpression", "start": 24503, "end": 24539, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 52 } }, "object": { "type": "MemberExpression", "start": 24503, "end": 24515, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 28 } }, "object": { "type": "ThisExpression", "start": 24503, "end": 24507, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 20 } } }, "property": { "type": "Identifier", "start": 24508, "end": 24515, "loc": { "start": { "line": 739, "column": 21 }, "end": { "line": 739, "column": 28 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 24516, "end": 24539, "loc": { "start": { "line": 739, "column": 29 }, "end": { "line": 739, "column": 52 }, "identifierName": "preventMouseDownDefault" }, "name": "preventMouseDownDefault" }, "computed": false }, "consequent": { "type": "ExpressionStatement", "start": 24541, "end": 24560, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 73 } }, "expression": { "type": "CallExpression", "start": 24541, "end": 24559, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 24541, "end": 24557, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 70 } }, "object": { "type": "Identifier", "start": 24541, "end": 24542, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 55 }, "identifierName": "e" }, "name": "e" }, "property": { "type": "Identifier", "start": 24543, "end": 24557, "loc": { "start": { "line": 739, "column": 56 }, "end": { "line": 739, "column": 70 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false }, "arguments": [] } }, "alternate": null }, { "type": "ExpressionStatement", "start": 24574, "end": 24612, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 50 } }, "expression": { "type": "CallExpression", "start": 24574, "end": 24611, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 24574, "end": 24600, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 38 } }, "object": { "type": "ThisExpression", "start": 24574, "end": 24578, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 16 } } }, "property": { "type": "Identifier", "start": 24579, "end": 24600, "loc": { "start": { "line": 740, "column": 17 }, "end": { "line": 740, "column": 38 }, "identifierName": "handleButtonMouseDown" }, "name": "handleButtonMouseDown" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 24601, "end": 24607, "loc": { "start": { "line": 740, "column": 39 }, "end": { "line": 740, "column": 45 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 24609, "end": 24610, "loc": { "start": { "line": 740, "column": 47 }, "end": { "line": 740, "column": 48 }, "identifierName": "e" }, "name": "e" } ] } } ], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24656, "end": 24702, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 746, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 24712, "end": 24757, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 53 } }, "expression": { "type": "CallExpression", "start": 24712, "end": 24756, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 24712, "end": 24734, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 30 } }, "object": { "type": "Identifier", "start": 24712, "end": 24721, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 24722, "end": 24734, "loc": { "start": { "line": 747, "column": 18 }, "end": { "line": 747, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 24735, "end": 24747, "loc": { "start": { "line": 747, "column": 31 }, "end": { "line": 747, "column": 43 } }, "extra": { "rawValue": "data-skBtn", "raw": "\"data-skBtn\"" }, "value": "data-skBtn" }, { "type": "Identifier", "start": 24749, "end": 24755, "loc": { "start": { "line": 747, "column": 45 }, "end": { "line": 747, "column": 51 }, "identifierName": "button" }, "name": "button" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24656, "end": 24702, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 746, "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": 24769, "end": 24924, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 752, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 24934, "end": 25000, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 753, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 24938, "end": 24999, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 73 } }, "id": { "type": "Identifier", "start": 24938, "end": 24947, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 21 }, "identifierName": "buttonUID" }, "name": "buttonUID", "leadingComments": null }, "init": { "type": "TemplateLiteral", "start": 24950, "end": 24999, "loc": { "start": { "line": 753, "column": 24 }, "end": { "line": 753, "column": 73 } }, "expressions": [ { "type": "MemberExpression", "start": 24953, "end": 24976, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 50 } }, "object": { "type": "MemberExpression", "start": 24953, "end": 24965, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 39 } }, "object": { "type": "ThisExpression", "start": 24953, "end": 24957, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 31 } } }, "property": { "type": "Identifier", "start": 24958, "end": 24965, "loc": { "start": { "line": 753, "column": 32 }, "end": { "line": 753, "column": 39 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 24966, "end": 24976, "loc": { "start": { "line": 753, "column": 40 }, "end": { "line": 753, "column": 50 }, "identifierName": "layoutName" }, "name": "layoutName" }, "computed": false }, { "type": "Identifier", "start": 24981, "end": 24987, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 61 }, "identifierName": "rIndex" }, "name": "rIndex" }, { "type": "Identifier", "start": 24991, "end": 24997, "loc": { "start": { "line": 753, "column": 65 }, "end": { "line": 753, "column": 71 }, "identifierName": "bIndex" }, "name": "bIndex" } ], "quasis": [ { "type": "TemplateElement", "start": 24951, "end": 24951, "loc": { "start": { "line": 753, "column": 25 }, "end": { "line": 753, "column": 25 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 24977, "end": 24979, "loc": { "start": { "line": 753, "column": 51 }, "end": { "line": 753, "column": 53 } }, "value": { "raw": "-r", "cooked": "-r" }, "tail": false }, { "type": "TemplateElement", "start": 24988, "end": 24989, "loc": { "start": { "line": 753, "column": 62 }, "end": { "line": 753, "column": 63 } }, "value": { "raw": "b", "cooked": "b" }, "tail": false }, { "type": "TemplateElement", "start": 24998, "end": 24998, "loc": { "start": { "line": 753, "column": 72 }, "end": { "line": 753, "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": 24769, "end": 24924, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 752, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25010, "end": 25061, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 59 } }, "expression": { "type": "CallExpression", "start": 25010, "end": 25060, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 25010, "end": 25032, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 30 } }, "object": { "type": "Identifier", "start": 25010, "end": 25019, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 25020, "end": 25032, "loc": { "start": { "line": 754, "column": 18 }, "end": { "line": 754, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25033, "end": 25048, "loc": { "start": { "line": 754, "column": 31 }, "end": { "line": 754, "column": 46 } }, "extra": { "rawValue": "data-skBtnUID", "raw": "\"data-skBtnUID\"" }, "value": "data-skBtnUID" }, { "type": "Identifier", "start": 25050, "end": 25059, "loc": { "start": { "line": 754, "column": 48 }, "end": { "line": 754, "column": 57 }, "identifierName": "buttonUID" }, "name": "buttonUID" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 25073, "end": 25122, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 758, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25132, "end": 25195, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 71 } }, "expression": { "type": "CallExpression", "start": 25132, "end": 25194, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 25132, "end": 25154, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 30 } }, "object": { "type": "Identifier", "start": 25132, "end": 25141, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 25142, "end": 25154, "loc": { "start": { "line": 759, "column": 18 }, "end": { "line": 759, "column": 30 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 25155, "end": 25174, "loc": { "start": { "line": 759, "column": 31 }, "end": { "line": 759, "column": 50 } }, "extra": { "rawValue": "data-displayLabel", "raw": "\"data-displayLabel\"" }, "value": "data-displayLabel" }, { "type": "Identifier", "start": 25176, "end": 25193, "loc": { "start": { "line": 759, "column": 52 }, "end": { "line": 759, "column": 69 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 25073, "end": 25122, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 758, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 25207, "end": 25265, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 25275, "end": 25326, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", "start": 25279, "end": 25325, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 58 } }, "id": { "type": "Identifier", "start": 25279, "end": 25292, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 25 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM", "leadingComments": null }, "init": { "type": "CallExpression", "start": 25295, "end": 25325, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 25295, "end": 25317, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 50 } }, "object": { "type": "Identifier", "start": 25295, "end": 25303, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 36 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 25304, "end": 25317, "loc": { "start": { "line": 764, "column": 37 }, "end": { "line": 764, "column": 50 }, "identifierName": "createElement" }, "name": "createElement" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 25318, "end": 25324, "loc": { "start": { "line": 764, "column": 51 }, "end": { "line": 764, "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": 25207, "end": 25265, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25336, "end": 25380, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 52 } }, "expression": { "type": "AssignmentExpression", "start": 25336, "end": 25379, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25336, "end": 25359, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 31 } }, "object": { "type": "Identifier", "start": 25336, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 21 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" }, "property": { "type": "Identifier", "start": 25350, "end": 25359, "loc": { "start": { "line": 765, "column": 22 }, "end": { "line": 765, "column": 31 }, "identifierName": "innerHTML" }, "name": "innerHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 25362, "end": 25379, "loc": { "start": { "line": 765, "column": 34 }, "end": { "line": 765, "column": 51 }, "identifierName": "buttonDisplayName" }, "name": "buttonDisplayName" } } }, { "type": "ExpressionStatement", "start": 25390, "end": 25427, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 45 } }, "expression": { "type": "CallExpression", "start": 25390, "end": 25426, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 25390, "end": 25411, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 29 } }, "object": { "type": "Identifier", "start": 25390, "end": 25399, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 17 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" }, "property": { "type": "Identifier", "start": 25400, "end": 25411, "loc": { "start": { "line": 766, "column": 18 }, "end": { "line": 766, "column": 29 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25412, "end": 25425, "loc": { "start": { "line": 766, "column": 30 }, "end": { "line": 766, "column": 43 }, "identifierName": "buttonSpanDOM" }, "name": "buttonSpanDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 25439, "end": 25492, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 770, "column": 11 } } } ] }, { "type": "IfStatement", "start": 25502, "end": 25579, "loc": { "start": { "line": 771, "column": 8 }, "end": { "line": 772, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 25505, "end": 25533, "loc": { "start": { "line": 771, "column": 11 }, "end": { "line": 771, "column": 39 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 25506, "end": 25533, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 39 } }, "object": { "type": "MemberExpression", "start": 25506, "end": 25525, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 31 } }, "object": { "type": "ThisExpression", "start": 25506, "end": 25510, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25511, "end": 25525, "loc": { "start": { "line": 771, "column": 17 }, "end": { "line": 771, "column": 31 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 25526, "end": 25532, "loc": { "start": { "line": 771, "column": 32 }, "end": { "line": 771, "column": 38 }, "identifierName": "button" }, "name": "button" }, "computed": true, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "ExpressionStatement", "start": 25546, "end": 25579, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 25546, "end": 25578, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 25546, "end": 25573, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 37 } }, "object": { "type": "MemberExpression", "start": 25546, "end": 25565, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 29 } }, "object": { "type": "ThisExpression", "start": 25546, "end": 25550, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 14 } } }, "property": { "type": "Identifier", "start": 25551, "end": 25565, "loc": { "start": { "line": 772, "column": 15 }, "end": { "line": 772, "column": 29 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25566, "end": 25572, "loc": { "start": { "line": 772, "column": 30 }, "end": { "line": 772, "column": 36 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 25576, "end": 25578, "loc": { "start": { "line": 772, "column": 40 }, "end": { "line": 772, "column": 42 } }, "elements": [] } } }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 25439, "end": 25492, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 770, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25591, "end": 25635, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 52 } }, "expression": { "type": "CallExpression", "start": 25591, "end": 25634, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 25591, "end": 25623, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 40 } }, "object": { "type": "MemberExpression", "start": 25591, "end": 25618, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 35 } }, "object": { "type": "MemberExpression", "start": 25591, "end": 25610, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 27 } }, "object": { "type": "ThisExpression", "start": 25591, "end": 25595, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 12 } } }, "property": { "type": "Identifier", "start": 25596, "end": 25610, "loc": { "start": { "line": 774, "column": 13 }, "end": { "line": 774, "column": 27 }, "identifierName": "buttonElements" }, "name": "buttonElements" }, "computed": false }, "property": { "type": "Identifier", "start": 25611, "end": 25617, "loc": { "start": { "line": 774, "column": 28 }, "end": { "line": 774, "column": 34 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "property": { "type": "Identifier", "start": 25619, "end": 25623, "loc": { "start": { "line": 774, "column": 36 }, "end": { "line": 774, "column": 40 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 25624, "end": 25633, "loc": { "start": { "line": 774, "column": 41 }, "end": { "line": 774, "column": 50 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25647, "end": 25699, "loc": { "start": { "line": 776, "column": 8 }, "end": { "line": 778, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 25709, "end": 25739, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 38 } }, "expression": { "type": "CallExpression", "start": 25709, "end": 25738, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 25709, "end": 25727, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 26 } }, "object": { "type": "Identifier", "start": 25709, "end": 25715, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 14 }, "identifierName": "rowDOM" }, "name": "rowDOM", "leadingComments": null }, "property": { "type": "Identifier", "start": 25716, "end": 25727, "loc": { "start": { "line": 779, "column": 15 }, "end": { "line": 779, "column": 26 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25728, "end": 25737, "loc": { "start": { "line": 779, "column": 27 }, "end": { "line": 779, "column": 36 }, "identifierName": "buttonDOM" }, "name": "buttonDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25647, "end": 25699, "loc": { "start": { "line": 776, "column": 8 }, "end": { "line": 778, "column": 11 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 23371, "end": 23432, "loc": { "start": { "line": 712, "column": 6 }, "end": { "line": 714, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25762, "end": 25812, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 785, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 25820, "end": 25857, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 43 } }, "expression": { "type": "CallExpression", "start": 25820, "end": 25856, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 25820, "end": 25848, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 34 } }, "object": { "type": "MemberExpression", "start": 25820, "end": 25836, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 22 } }, "object": { "type": "ThisExpression", "start": 25820, "end": 25824, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25825, "end": 25836, "loc": { "start": { "line": 786, "column": 11 }, "end": { "line": 786, "column": 22 }, "identifierName": "keyboardDOM" }, "name": "keyboardDOM" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 25837, "end": 25848, "loc": { "start": { "line": 786, "column": 23 }, "end": { "line": 786, "column": 34 }, "identifierName": "appendChild" }, "name": "appendChild" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 25849, "end": 25855, "loc": { "start": { "line": 786, "column": 35 }, "end": { "line": 786, "column": 41 }, "identifierName": "rowDOM" }, "name": "rowDOM" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25762, "end": 25812, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 785, "column": 9 } } } ] } ], "directives": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 23071, "end": 23118, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 702, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25874, "end": 25911, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 791, "column": 7 } } } ] }, { "type": "ExpressionStatement", "start": 25917, "end": 25933, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 20 } }, "expression": { "type": "CallExpression", "start": 25917, "end": 25932, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 25917, "end": 25930, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 17 } }, "object": { "type": "ThisExpression", "start": 25917, "end": 25921, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 25922, "end": 25930, "loc": { "start": { "line": 792, "column": 9 }, "end": { "line": 792, "column": 17 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25874, "end": 25911, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 791, "column": 7 } } } ] }, { "type": "IfStatement", "start": 25941, "end": 26317, "loc": { "start": { "line": 794, "column": 4 }, "end": { "line": 811, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 25944, "end": 25961, "loc": { "start": { "line": 794, "column": 7 }, "end": { "line": 794, "column": 24 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 25945, "end": 25961, "loc": { "start": { "line": 794, "column": 8 }, "end": { "line": 794, "column": 24 } }, "object": { "type": "ThisExpression", "start": 25945, "end": 25949, "loc": { "start": { "line": 794, "column": 8 }, "end": { "line": 794, "column": 12 } } }, "property": { "type": "Identifier", "start": 25950, "end": 25961, "loc": { "start": { "line": 794, "column": 13 }, "end": { "line": 794, "column": 24 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 25962, "end": 26317, "loc": { "start": { "line": 794, "column": 25 }, "end": { "line": 811, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 26061, "end": 26085, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 26061, "end": 26084, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26061, "end": 26077, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 22 } }, "object": { "type": "ThisExpression", "start": 26061, "end": 26065, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 26066, "end": 26077, "loc": { "start": { "line": 798, "column": 11 }, "end": { "line": 798, "column": 22 }, "identifierName": "initialized" }, "name": "initialized" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 26080, "end": 26084, "loc": { "start": { "line": 798, "column": 25 }, "end": { "line": 798, "column": 29 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25971, "end": 26053, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 797, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 26095, "end": 26136, "loc": { "start": { "line": 800, "column": 6 }, "end": { "line": 802, "column": 9 } } } ] }, { "type": "IfStatement", "start": 26144, "end": 26239, "loc": { "start": { "line": 803, "column": 6 }, "end": { "line": 805, "column": 7 } }, "test": { "type": "UnaryExpression", "start": 26148, "end": 26163, "loc": { "start": { "line": 803, "column": 10 }, "end": { "line": 803, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 26149, "end": 26163, "loc": { "start": { "line": 803, "column": 11 }, "end": { "line": 803, "column": 25 }, "identifierName": "useTouchEvents" }, "name": "useTouchEvents", "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 26165, "end": 26239, "loc": { "start": { "line": 803, "column": 27 }, "end": { "line": 805, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 26176, "end": 26230, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 26176, "end": 26229, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 26176, "end": 26194, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 26 } }, "object": { "type": "Identifier", "start": 26176, "end": 26184, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 26185, "end": 26194, "loc": { "start": { "line": 804, "column": 17 }, "end": { "line": 804, "column": 26 }, "identifierName": "onmouseup" }, "name": "onmouseup" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 26197, "end": 26229, "loc": { "start": { "line": 804, "column": 29 }, "end": { "line": 804, "column": 61 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 26203, "end": 26229, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 26203, "end": 26227, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 59 } }, "object": { "type": "ThisExpression", "start": 26203, "end": 26207, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 39 } } }, "property": { "type": "Identifier", "start": 26208, "end": 26227, "loc": { "start": { "line": 804, "column": 40 }, "end": { "line": 804, "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": 26095, "end": 26136, "loc": { "start": { "line": 800, "column": 6 }, "end": { "line": 802, "column": 9 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 26249, "end": 26288, "loc": { "start": { "line": 807, "column": 6 }, "end": { "line": 809, "column": 9 } } } ] }, { "type": "ExpressionStatement", "start": 26296, "end": 26310, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 20 } }, "expression": { "type": "CallExpression", "start": 26296, "end": 26309, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 26296, "end": 26307, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 17 } }, "object": { "type": "ThisExpression", "start": 26296, "end": 26300, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 10 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 26301, "end": 26307, "loc": { "start": { "line": 810, "column": 11 }, "end": { "line": 810, "column": 17 }, "identifierName": "onInit" }, "name": "onInit" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 26249, "end": 26288, "loc": { "start": { "line": 807, "column": 6 }, "end": { "line": 809, "column": 9 } } } ] } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 21268, "end": 21324, "loc": { "start": { "line": 648, "column": 2 }, "end": { "line": 650, "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 * Only first instance should insall the caret handling events\r\n ", "start": 17607, "end": 17687, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 511, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Called by {@link handleCaret} when an event that warrants a cursor position update is triggered\r\n ", "start": 18326, "end": 18438, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "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": 18857, "end": 19005, "loc": { "start": { "line": 551, "column": 6 }, "end": { "line": 554, "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": 19285, "end": 19405, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 566, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 19521, "end": 19556, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 574, "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": 19675, "end": 19793, "loc": { "start": { "line": 581, "column": 2 }, "end": { "line": 583, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19903, "end": 19982, "loc": { "start": { "line": 589, "column": 1 }, "end": { "line": 591, "column": 4 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 20114, "end": 20146, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 599, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 20305, "end": 20334, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 5 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 20494, "end": 20520, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20985, "end": 21017, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 633, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 21159, "end": 21190, "loc": { "start": { "line": 641, "column": 2 }, "end": { "line": 643, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 21268, "end": 21324, "loc": { "start": { "line": 648, "column": 2 }, "end": { "line": 650, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 21343, "end": 21378, "loc": { "start": { "line": 652, "column": 4 }, "end": { "line": 654, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21652, "end": 21704, "loc": { "start": { "line": 661, "column": 4 }, "end": { "line": 663, "column": 7 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 22211, "end": 22250, "loc": { "start": { "line": 678, "column": 14 }, "end": { "line": 678, "column": 53 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 22300, "end": 22383, "loc": { "start": { "line": 680, "column": 16 }, "end": { "line": 680, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22891, "end": 22957, "loc": { "start": { "line": 695, "column": 4 }, "end": { "line": 697, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 23071, "end": 23118, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 702, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 23230, "end": 23273, "loc": { "start": { "line": 706, "column": 6 }, "end": { "line": 708, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 23371, "end": 23432, "loc": { "start": { "line": 712, "column": 6 }, "end": { "line": 714, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23743, "end": 23787, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 722, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24656, "end": 24702, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 746, "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": 24769, "end": 24924, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 752, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 25073, "end": 25122, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 758, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 25207, "end": 25265, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 25439, "end": 25492, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 770, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25647, "end": 25699, "loc": { "start": { "line": 776, "column": 8 }, "end": { "line": 778, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25762, "end": 25812, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 785, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25874, "end": 25911, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 791, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25971, "end": 26053, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 797, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 26095, "end": 26136, "loc": { "start": { "line": 800, "column": 6 }, "end": { "line": 802, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 26249, "end": 26288, "loc": { "start": { "line": 807, "column": 6 }, "end": { "line": 809, "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": "CommentBlock", "value": "*\r\n * Only first instance should insall the caret handling events\r\n ", "start": 17607, "end": 17687, "loc": { "start": { "line": 509, "column": 4 }, "end": { "line": 511, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 17693, "end": 17697, "loc": { "start": { "line": 512, "column": 4 }, "end": { "line": 512, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17697, "end": 17698, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 17698, "end": 17711, "loc": { "start": { "line": 512, "column": 9 }, "end": { "line": 512, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17712, "end": 17713, "loc": { "start": { "line": 512, "column": 23 }, "end": { "line": 512, "column": 24 } } }, { "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": 17714, "end": 17718, "loc": { "start": { "line": 512, "column": 25 }, "end": { "line": 512, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17718, "end": 17719, "loc": { "start": { "line": 512, "column": 29 }, "end": { "line": 512, "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": 17725, "end": 17728, "loc": { "start": { "line": 513, "column": 4 }, "end": { "line": 513, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstances", "start": 17729, "end": 17752, "loc": { "start": { "line": 513, "column": 8 }, "end": { "line": 513, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17753, "end": 17754, "loc": { "start": { "line": 513, "column": 32 }, "end": { "line": 513, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 17755, "end": 17761, "loc": { "start": { "line": 513, "column": 34 }, "end": { "line": 513, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17761, "end": 17762, "loc": { "start": { "line": 513, "column": 40 }, "end": { "line": 513, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SimpleKeyboardInstances", "start": 17762, "end": 17787, "loc": { "start": { "line": 513, "column": 41 }, "end": { "line": 513, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17787, "end": 17788, "loc": { "start": { "line": 513, "column": 66 }, "end": { "line": 513, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17788, "end": 17789, "loc": { "start": { "line": 513, "column": 67 }, "end": { "line": 513, "column": 68 } } }, { "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": 17797, "end": 17799, "loc": { "start": { "line": 515, "column": 4 }, "end": { "line": 515, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17799, "end": 17800, "loc": { "start": { "line": 515, "column": 6 }, "end": { "line": 515, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17808, "end": 17809, "loc": { "start": { "line": 516, "column": 6 }, "end": { "line": 516, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstances", "start": 17819, "end": 17842, "loc": { "start": { "line": 517, "column": 8 }, "end": { "line": 517, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 17843, "end": 17845, "loc": { "start": { "line": 517, "column": 32 }, "end": { "line": 517, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 17855, "end": 17861, "loc": { "start": { "line": 518, "column": 8 }, "end": { "line": 518, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17861, "end": 17862, "loc": { "start": { "line": 518, "column": 14 }, "end": { "line": 518, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 17862, "end": 17866, "loc": { "start": { "line": 518, "column": 15 }, "end": { "line": 518, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17866, "end": 17867, "loc": { "start": { "line": 518, "column": 19 }, "end": { "line": 518, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstances", "start": 17867, "end": 17890, "loc": { "start": { "line": 518, "column": 20 }, "end": { "line": 518, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17890, "end": 17891, "loc": { "start": { "line": 518, "column": 43 }, "end": { "line": 518, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17891, "end": 17892, "loc": { "start": { "line": 518, "column": 44 }, "end": { "line": 518, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17892, "end": 17893, "loc": { "start": { "line": 518, "column": 45 }, "end": { "line": 518, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17893, "end": 17894, "loc": { "start": { "line": 518, "column": 46 }, "end": { "line": 518, "column": 47 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 17895, "end": 17898, "loc": { "start": { "line": 518, "column": 48 }, "end": { "line": 518, "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": 17899, "end": 17903, "loc": { "start": { "line": 518, "column": 52 }, "end": { "line": 518, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17903, "end": 17904, "loc": { "start": { "line": 518, "column": 56 }, "end": { "line": 518, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 17904, "end": 17913, "loc": { "start": { "line": 518, "column": 57 }, "end": { "line": 518, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17913, "end": 17914, "loc": { "start": { "line": 518, "column": 66 }, "end": { "line": 518, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 17914, "end": 17923, "loc": { "start": { "line": 518, "column": 67 }, "end": { "line": 518, "column": 76 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17923, "end": 17924, "loc": { "start": { "line": 518, "column": 76 }, "end": { "line": 518, "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": 17924, "end": 17928, "loc": { "start": { "line": 518, "column": 77 }, "end": { "line": 518, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17928, "end": 17929, "loc": { "start": { "line": 518, "column": 81 }, "end": { "line": 518, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 17929, "end": 17945, "loc": { "start": { "line": 518, "column": 82 }, "end": { "line": 518, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17945, "end": 17946, "loc": { "start": { "line": 518, "column": 98 }, "end": { "line": 518, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17954, "end": 17955, "loc": { "start": { "line": 519, "column": 6 }, "end": { "line": 519, "column": 7 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 17956, "end": 17958, "loc": { "start": { "line": 519, "column": 8 }, "end": { "line": 519, "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": 17966, "end": 17967, "loc": { "start": { "line": 520, "column": 6 }, "end": { "line": 520, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstances", "start": 17967, "end": 17990, "loc": { "start": { "line": 520, "column": 7 }, "end": { "line": 520, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17996, "end": 17997, "loc": { "start": { "line": 521, "column": 4 }, "end": { "line": 521, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17997, "end": 17998, "loc": { "start": { "line": 521, "column": 5 }, "end": { "line": 521, "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": 18004, "end": 18006, "loc": { "start": { "line": 522, "column": 4 }, "end": { "line": 522, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18006, "end": 18007, "loc": { "start": { "line": 522, "column": 6 }, "end": { "line": 522, "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": 18007, "end": 18011, "loc": { "start": { "line": 522, "column": 7 }, "end": { "line": 522, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18011, "end": 18012, "loc": { "start": { "line": 522, "column": 11 }, "end": { "line": 522, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18012, "end": 18019, "loc": { "start": { "line": 522, "column": 12 }, "end": { "line": 522, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18019, "end": 18020, "loc": { "start": { "line": 522, "column": 19 }, "end": { "line": 522, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 18020, "end": 18025, "loc": { "start": { "line": 522, "column": 20 }, "end": { "line": 522, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18025, "end": 18026, "loc": { "start": { "line": 522, "column": 25 }, "end": { "line": 522, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18026, "end": 18027, "loc": { "start": { "line": 522, "column": 26 }, "end": { "line": 522, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 18037, "end": 18044, "loc": { "start": { "line": 523, "column": 8 }, "end": { "line": 523, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18044, "end": 18045, "loc": { "start": { "line": 523, "column": 15 }, "end": { "line": 523, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 18045, "end": 18048, "loc": { "start": { "line": 523, "column": 16 }, "end": { "line": 523, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18048, "end": 18049, "loc": { "start": { "line": 523, "column": 19 }, "end": { "line": 523, "column": 20 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18049, "end": 18050, "loc": { "start": { "line": 523, "column": 20 }, "end": { "line": 523, "column": 21 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Caret handling started (", "start": 18050, "end": 18074, "loc": { "start": { "line": 523, "column": 21 }, "end": { "line": 523, "column": 45 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18074, "end": 18076, "loc": { "start": { "line": 523, "column": 45 }, "end": { "line": 523, "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": 18076, "end": 18080, "loc": { "start": { "line": 523, "column": 47 }, "end": { "line": 523, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18080, "end": 18081, "loc": { "start": { "line": 523, "column": 51 }, "end": { "line": 523, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 18081, "end": 18097, "loc": { "start": { "line": 523, "column": 52 }, "end": { "line": 523, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18097, "end": 18098, "loc": { "start": { "line": 523, "column": 68 }, "end": { "line": 523, "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": 18098, "end": 18099, "loc": { "start": { "line": 523, "column": 69 }, "end": { "line": 523, "column": 70 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18099, "end": 18100, "loc": { "start": { "line": 523, "column": 70 }, "end": { "line": 523, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18100, "end": 18101, "loc": { "start": { "line": 523, "column": 71 }, "end": { "line": 523, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18107, "end": 18108, "loc": { "start": { "line": 524, "column": 4 }, "end": { "line": 524, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18116, "end": 18124, "loc": { "start": { "line": 526, "column": 4 }, "end": { "line": 526, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18124, "end": 18125, "loc": { "start": { "line": 526, "column": 12 }, "end": { "line": 526, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 18125, "end": 18141, "loc": { "start": { "line": 526, "column": 13 }, "end": { "line": 526, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18141, "end": 18142, "loc": { "start": { "line": 526, "column": 29 }, "end": { "line": 526, "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": 18142, "end": 18149, "loc": { "start": { "line": 526, "column": 30 }, "end": { "line": 526, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18149, "end": 18150, "loc": { "start": { "line": 526, "column": 37 }, "end": { "line": 526, "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": 18151, "end": 18155, "loc": { "start": { "line": 526, "column": 39 }, "end": { "line": 526, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18155, "end": 18156, "loc": { "start": { "line": 526, "column": 43 }, "end": { "line": 526, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 18156, "end": 18173, "loc": { "start": { "line": 526, "column": 44 }, "end": { "line": 526, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18173, "end": 18174, "loc": { "start": { "line": 526, "column": 61 }, "end": { "line": 526, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18174, "end": 18175, "loc": { "start": { "line": 526, "column": 62 }, "end": { "line": 526, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18181, "end": 18189, "loc": { "start": { "line": 527, "column": 4 }, "end": { "line": 527, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18189, "end": 18190, "loc": { "start": { "line": 527, "column": 12 }, "end": { "line": 527, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 18190, "end": 18206, "loc": { "start": { "line": 527, "column": 13 }, "end": { "line": 527, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18206, "end": 18207, "loc": { "start": { "line": 527, "column": 29 }, "end": { "line": 527, "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": 18207, "end": 18216, "loc": { "start": { "line": 527, "column": 30 }, "end": { "line": 527, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18216, "end": 18217, "loc": { "start": { "line": 527, "column": 39 }, "end": { "line": 527, "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": 18218, "end": 18222, "loc": { "start": { "line": 527, "column": 41 }, "end": { "line": 527, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18222, "end": 18223, "loc": { "start": { "line": 527, "column": 45 }, "end": { "line": 527, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 18223, "end": 18240, "loc": { "start": { "line": 527, "column": 46 }, "end": { "line": 527, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18240, "end": 18241, "loc": { "start": { "line": 527, "column": 63 }, "end": { "line": 527, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18241, "end": 18242, "loc": { "start": { "line": 527, "column": 64 }, "end": { "line": 527, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 18248, "end": 18256, "loc": { "start": { "line": 528, "column": 4 }, "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": 18256, "end": 18257, "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": "addEventListener", "start": 18257, "end": 18273, "loc": { "start": { "line": 528, "column": 13 }, "end": { "line": 528, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18273, "end": 18274, "loc": { "start": { "line": 528, "column": 29 }, "end": { "line": 528, "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": 18274, "end": 18284, "loc": { "start": { "line": 528, "column": 30 }, "end": { "line": 528, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18284, "end": 18285, "loc": { "start": { "line": 528, "column": 40 }, "end": { "line": 528, "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": 18286, "end": 18290, "loc": { "start": { "line": 528, "column": 42 }, "end": { "line": 528, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18290, "end": 18291, "loc": { "start": { "line": 528, "column": 46 }, "end": { "line": 528, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 18291, "end": 18308, "loc": { "start": { "line": 528, "column": 47 }, "end": { "line": 528, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18308, "end": 18309, "loc": { "start": { "line": 528, "column": 64 }, "end": { "line": 528, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18309, "end": 18310, "loc": { "start": { "line": 528, "column": 65 }, "end": { "line": 528, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18314, "end": 18315, "loc": { "start": { "line": 529, "column": 2 }, "end": { "line": 529, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18319, "end": 18320, "loc": { "start": { "line": 530, "column": 2 }, "end": { "line": 530, "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": 18326, "end": 18438, "loc": { "start": { "line": 532, "column": 2 }, "end": { "line": 534, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretEventHandler", "start": 18442, "end": 18459, "loc": { "start": { "line": 535, "column": 2 }, "end": { "line": 535, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18459, "end": 18460, "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": "event", "start": 18460, "end": 18465, "loc": { "start": { "line": 535, "column": 20 }, "end": { "line": 535, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18465, "end": 18466, "loc": { "start": { "line": 535, "column": 25 }, "end": { "line": 535, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18466, "end": 18467, "loc": { "start": { "line": 535, "column": 26 }, "end": { "line": 535, "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": 18473, "end": 18476, "loc": { "start": { "line": 536, "column": 4 }, "end": { "line": 536, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18477, "end": 18490, "loc": { "start": { "line": 536, "column": 8 }, "end": { "line": 536, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18490, "end": 18491, "loc": { "start": { "line": 536, "column": 21 }, "end": { "line": 536, "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": 18497, "end": 18499, "loc": { "start": { "line": 537, "column": 4 }, "end": { "line": 537, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18499, "end": 18500, "loc": { "start": { "line": 537, "column": 6 }, "end": { "line": 537, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18500, "end": 18505, "loc": { "start": { "line": 537, "column": 7 }, "end": { "line": 537, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18505, "end": 18506, "loc": { "start": { "line": 537, "column": 12 }, "end": { "line": 537, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18506, "end": 18512, "loc": { "start": { "line": 537, "column": 13 }, "end": { "line": 537, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18512, "end": 18513, "loc": { "start": { "line": 537, "column": 19 }, "end": { "line": 537, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 18513, "end": 18520, "loc": { "start": { "line": 537, "column": 20 }, "end": { "line": 537, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18520, "end": 18521, "loc": { "start": { "line": 537, "column": 27 }, "end": { "line": 537, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18521, "end": 18522, "loc": { "start": { "line": 537, "column": 28 }, "end": { "line": 537, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18530, "end": 18543, "loc": { "start": { "line": 538, "column": 6 }, "end": { "line": 538, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18544, "end": 18545, "loc": { "start": { "line": 538, "column": 20 }, "end": { "line": 538, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 18546, "end": 18551, "loc": { "start": { "line": 538, "column": 22 }, "end": { "line": 538, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18551, "end": 18552, "loc": { "start": { "line": 538, "column": 27 }, "end": { "line": 538, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 18552, "end": 18558, "loc": { "start": { "line": 538, "column": 28 }, "end": { "line": 538, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18558, "end": 18559, "loc": { "start": { "line": 538, "column": 34 }, "end": { "line": 538, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 18559, "end": 18566, "loc": { "start": { "line": 538, "column": 35 }, "end": { "line": 538, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18566, "end": 18567, "loc": { "start": { "line": 538, "column": 42 }, "end": { "line": 538, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 18567, "end": 18578, "loc": { "start": { "line": 538, "column": 43 }, "end": { "line": 538, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18578, "end": 18579, "loc": { "start": { "line": 538, "column": 54 }, "end": { "line": 538, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18579, "end": 18580, "loc": { "start": { "line": 538, "column": 55 }, "end": { "line": 538, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18580, "end": 18581, "loc": { "start": { "line": 538, "column": 56 }, "end": { "line": 538, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18587, "end": 18588, "loc": { "start": { "line": 539, "column": 4 }, "end": { "line": 539, "column": 5 } } }, { "type": { "label": "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": 541, "column": 4 }, "end": { "line": 541, "column": 8 } } }, { "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": 541, "column": 8 }, "end": { "line": 541, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 18601, "end": 18609, "loc": { "start": { "line": 541, "column": 9 }, "end": { "line": 541, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18609, "end": 18610, "loc": { "start": { "line": 541, "column": 17 }, "end": { "line": 541, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 18610, "end": 18618, "loc": { "start": { "line": 541, "column": 18 }, "end": { "line": 541, "column": 26 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18619, "end": 18621, "loc": { "start": { "line": 541, "column": 27 }, "end": { "line": 541, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18622, "end": 18623, "loc": { "start": { "line": 541, "column": 30 }, "end": { "line": 541, "column": 31 } } }, { "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": 18631, "end": 18633, "loc": { "start": { "line": 542, "column": 6 }, "end": { "line": 542, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18633, "end": 18634, "loc": { "start": { "line": 542, "column": 8 }, "end": { "line": 542, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 18634, "end": 18642, "loc": { "start": { "line": 542, "column": 9 }, "end": { "line": 542, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18642, "end": 18643, "loc": { "start": { "line": 542, "column": 17 }, "end": { "line": 542, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 18643, "end": 18654, "loc": { "start": { "line": 542, "column": 18 }, "end": { "line": 542, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18654, "end": 18655, "loc": { "start": { "line": 542, "column": 29 }, "end": { "line": 542, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18655, "end": 18656, "loc": { "start": { "line": 542, "column": 30 }, "end": { "line": 542, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 18666, "end": 18674, "loc": { "start": { "line": 543, "column": 8 }, "end": { "line": 543, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18674, "end": 18675, "loc": { "start": { "line": 543, "column": 16 }, "end": { "line": 543, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 18675, "end": 18686, "loc": { "start": { "line": 543, "column": 17 }, "end": { "line": 543, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18687, "end": 18688, "loc": { "start": { "line": 543, "column": 29 }, "end": { "line": 543, "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": 18689, "end": 18694, "loc": { "start": { "line": 543, "column": 31 }, "end": { "line": 543, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18694, "end": 18695, "loc": { "start": { "line": 543, "column": 36 }, "end": { "line": 543, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18701, "end": 18702, "loc": { "start": { "line": 544, "column": 4 }, "end": { "line": 544, "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": 18710, "end": 18712, "loc": { "start": { "line": 546, "column": 4 }, "end": { "line": 546, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18712, "end": 18713, "loc": { "start": { "line": 546, "column": 6 }, "end": { "line": 546, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18721, "end": 18722, "loc": { "start": { "line": 547, "column": 6 }, "end": { "line": 547, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18722, "end": 18735, "loc": { "start": { "line": 547, "column": 7 }, "end": { "line": 547, "column": 20 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18736, "end": 18739, "loc": { "start": { "line": 547, "column": 21 }, "end": { "line": 547, "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": 18740, "end": 18750, "loc": { "start": { "line": 547, "column": 25 }, "end": { "line": 547, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 18751, "end": 18753, "loc": { "start": { "line": 547, "column": 36 }, "end": { "line": 547, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "targetTagName", "start": 18761, "end": 18774, "loc": { "start": { "line": 548, "column": 6 }, "end": { "line": 548, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 18775, "end": 18778, "loc": { "start": { "line": 548, "column": 20 }, "end": { "line": 548, "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": 18779, "end": 18786, "loc": { "start": { "line": 548, "column": 24 }, "end": { "line": 548, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18786, "end": 18787, "loc": { "start": { "line": 548, "column": 31 }, "end": { "line": 548, "column": 32 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 18788, "end": 18790, "loc": { "start": { "line": 548, "column": 33 }, "end": { "line": 548, "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": 18800, "end": 18801, "loc": { "start": { "line": 549, "column": 8 }, "end": { "line": 549, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 18801, "end": 18809, "loc": { "start": { "line": 549, "column": 9 }, "end": { "line": 549, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18809, "end": 18810, "loc": { "start": { "line": 549, "column": 17 }, "end": { "line": 549, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 18810, "end": 18817, "loc": { "start": { "line": 549, "column": 18 }, "end": { "line": 549, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18817, "end": 18818, "loc": { "start": { "line": 549, "column": 25 }, "end": { "line": 549, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableCaretPositioning", "start": 18818, "end": 18841, "loc": { "start": { "line": 549, "column": 26 }, "end": { "line": 549, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18847, "end": 18848, "loc": { "start": { "line": 550, "column": 4 }, "end": { "line": 550, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18848, "end": 18849, "loc": { "start": { "line": 550, "column": 5 }, "end": { "line": 550, "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": 18857, "end": 19005, "loc": { "start": { "line": 551, "column": 6 }, "end": { "line": 554, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 19015, "end": 19023, "loc": { "start": { "line": 555, "column": 8 }, "end": { "line": 555, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19023, "end": 19024, "loc": { "start": { "line": 555, "column": 16 }, "end": { "line": 555, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 19024, "end": 19037, "loc": { "start": { "line": 555, "column": 17 }, "end": { "line": 555, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19038, "end": 19039, "loc": { "start": { "line": 555, "column": 31 }, "end": { "line": 555, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 19040, "end": 19045, "loc": { "start": { "line": 555, "column": 33 }, "end": { "line": 555, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19045, "end": 19046, "loc": { "start": { "line": 555, "column": 38 }, "end": { "line": 555, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 19046, "end": 19052, "loc": { "start": { "line": 555, "column": 39 }, "end": { "line": 555, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19052, "end": 19053, "loc": { "start": { "line": 555, "column": 45 }, "end": { "line": 555, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 19053, "end": 19067, "loc": { "start": { "line": 555, "column": 46 }, "end": { "line": 555, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19067, "end": 19068, "loc": { "start": { "line": 555, "column": 60 }, "end": { "line": 555, "column": 61 } } }, { "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": 19080, "end": 19082, "loc": { "start": { "line": 557, "column": 8 }, "end": { "line": 557, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19082, "end": 19083, "loc": { "start": { "line": 557, "column": 10 }, "end": { "line": 557, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 19083, "end": 19091, "loc": { "start": { "line": 557, "column": 11 }, "end": { "line": 557, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19091, "end": 19092, "loc": { "start": { "line": 557, "column": 19 }, "end": { "line": 557, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19092, "end": 19099, "loc": { "start": { "line": 557, "column": 20 }, "end": { "line": 557, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19099, "end": 19100, "loc": { "start": { "line": 557, "column": 27 }, "end": { "line": 557, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 19100, "end": 19105, "loc": { "start": { "line": 557, "column": 28 }, "end": { "line": 557, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19105, "end": 19106, "loc": { "start": { "line": 557, "column": 33 }, "end": { "line": 557, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19106, "end": 19107, "loc": { "start": { "line": 557, "column": 34 }, "end": { "line": 557, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 19119, "end": 19126, "loc": { "start": { "line": 558, "column": 10 }, "end": { "line": 558, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19126, "end": 19127, "loc": { "start": { "line": 558, "column": 17 }, "end": { "line": 558, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 19127, "end": 19130, "loc": { "start": { "line": 558, "column": 18 }, "end": { "line": 558, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19130, "end": 19131, "loc": { "start": { "line": 558, "column": 21 }, "end": { "line": 558, "column": 22 } } }, { "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": 19131, "end": 19143, "loc": { "start": { "line": 558, "column": 22 }, "end": { "line": 558, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19143, "end": 19144, "loc": { "start": { "line": 558, "column": 34 }, "end": { "line": 558, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 19145, "end": 19150, "loc": { "start": { "line": 558, "column": 36 }, "end": { "line": 558, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19150, "end": 19151, "loc": { "start": { "line": 558, "column": 41 }, "end": { "line": 558, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 19151, "end": 19157, "loc": { "start": { "line": 558, "column": 42 }, "end": { "line": 558, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19157, "end": 19158, "loc": { "start": { "line": 558, "column": 48 }, "end": { "line": 558, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 19158, "end": 19172, "loc": { "start": { "line": 558, "column": 49 }, "end": { "line": 558, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19172, "end": 19173, "loc": { "start": { "line": 558, "column": 63 }, "end": { "line": 558, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 19174, "end": 19179, "loc": { "start": { "line": 558, "column": 65 }, "end": { "line": 558, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19179, "end": 19180, "loc": { "start": { "line": 558, "column": 70 }, "end": { "line": 558, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 19180, "end": 19186, "loc": { "start": { "line": 558, "column": 71 }, "end": { "line": 558, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19186, "end": 19187, "loc": { "start": { "line": 558, "column": 77 }, "end": { "line": 558, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 19187, "end": 19194, "loc": { "start": { "line": 558, "column": 78 }, "end": { "line": 558, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19194, "end": 19195, "loc": { "start": { "line": 558, "column": 85 }, "end": { "line": 558, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 19195, "end": 19206, "loc": { "start": { "line": 558, "column": 86 }, "end": { "line": 558, "column": 97 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19206, "end": 19207, "loc": { "start": { "line": 558, "column": 97 }, "end": { "line": 558, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19207, "end": 19208, "loc": { "start": { "line": 558, "column": 98 }, "end": { "line": 558, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19208, "end": 19209, "loc": { "start": { "line": 558, "column": 99 }, "end": { "line": 558, "column": 100 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19210, "end": 19211, "loc": { "start": { "line": 558, "column": 101 }, "end": { "line": 558, "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": 19211, "end": 19212, "loc": { "start": { "line": 558, "column": 102 }, "end": { "line": 558, "column": 103 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19212, "end": 19214, "loc": { "start": { "line": 558, "column": 103 }, "end": { "line": 558, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "instance", "start": 19214, "end": 19222, "loc": { "start": { "line": 558, "column": 105 }, "end": { "line": 558, "column": 113 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19222, "end": 19223, "loc": { "start": { "line": 558, "column": 113 }, "end": { "line": 558, "column": 114 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 19223, "end": 19239, "loc": { "start": { "line": 558, "column": 114 }, "end": { "line": 558, "column": 130 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19239, "end": 19240, "loc": { "start": { "line": 558, "column": 130 }, "end": { "line": 558, "column": 131 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 19240, "end": 19241, "loc": { "start": { "line": 558, "column": 131 }, "end": { "line": 558, "column": 132 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19241, "end": 19242, "loc": { "start": { "line": 558, "column": 132 }, "end": { "line": 558, "column": 133 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19242, "end": 19243, "loc": { "start": { "line": 558, "column": 133 }, "end": { "line": 558, "column": 134 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19243, "end": 19244, "loc": { "start": { "line": 558, "column": 134 }, "end": { "line": 558, "column": 135 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19252, "end": 19253, "loc": { "start": { "line": 559, "column": 6 }, "end": { "line": 559, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19264, "end": 19265, "loc": { "start": { "line": 560, "column": 4 }, "end": { "line": 560, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19271, "end": 19272, "loc": { "start": { "line": 561, "column": 4 }, "end": { "line": 561, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19272, "end": 19273, "loc": { "start": { "line": 561, "column": 5 }, "end": { "line": 561, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19273, "end": 19274, "loc": { "start": { "line": 561, "column": 6 }, "end": { "line": 561, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19278, "end": 19279, "loc": { "start": { "line": 562, "column": 2 }, "end": { "line": 562, "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": 19285, "end": 19405, "loc": { "start": { "line": 564, "column": 2 }, "end": { "line": 566, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 19409, "end": 19415, "loc": { "start": { "line": 567, "column": 2 }, "end": { "line": 567, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19415, "end": 19416, "loc": { "start": { "line": 567, "column": 8 }, "end": { "line": 567, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19416, "end": 19417, "loc": { "start": { "line": 567, "column": 9 }, "end": { "line": 567, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19417, "end": 19418, "loc": { "start": { "line": 567, "column": 10 }, "end": { "line": 567, "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": 19424, "end": 19426, "loc": { "start": { "line": 568, "column": 4 }, "end": { "line": 568, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19426, "end": 19427, "loc": { "start": { "line": 568, "column": 6 }, "end": { "line": 568, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 19427, "end": 19431, "loc": { "start": { "line": 568, "column": 7 }, "end": { "line": 568, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19431, "end": 19432, "loc": { "start": { "line": 568, "column": 11 }, "end": { "line": 568, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19432, "end": 19439, "loc": { "start": { "line": 568, "column": 12 }, "end": { "line": 568, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19439, "end": 19440, "loc": { "start": { "line": 568, "column": 19 }, "end": { "line": 568, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 19440, "end": 19445, "loc": { "start": { "line": 568, "column": 20 }, "end": { "line": 568, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19445, "end": 19446, "loc": { "start": { "line": 568, "column": 25 }, "end": { "line": 568, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19446, "end": 19447, "loc": { "start": { "line": 568, "column": 26 }, "end": { "line": 568, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 19455, "end": 19462, "loc": { "start": { "line": 569, "column": 6 }, "end": { "line": 569, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19462, "end": 19463, "loc": { "start": { "line": 569, "column": 13 }, "end": { "line": 569, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 19463, "end": 19466, "loc": { "start": { "line": 569, "column": 14 }, "end": { "line": 569, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19466, "end": 19467, "loc": { "start": { "line": 569, "column": 17 }, "end": { "line": 569, "column": 18 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19467, "end": 19468, "loc": { "start": { "line": 569, "column": 18 }, "end": { "line": 569, "column": 19 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 19468, "end": 19468, "loc": { "start": { "line": 569, "column": 19 }, "end": { "line": 569, "column": 19 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19468, "end": 19470, "loc": { "start": { "line": 569, "column": 19 }, "end": { "line": 569, "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": 19470, "end": 19474, "loc": { "start": { "line": 569, "column": 21 }, "end": { "line": 569, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19474, "end": 19475, "loc": { "start": { "line": 569, "column": 25 }, "end": { "line": 569, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOMClass", "start": 19475, "end": 19491, "loc": { "start": { "line": 569, "column": 26 }, "end": { "line": 569, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19491, "end": 19492, "loc": { "start": { "line": 569, "column": 42 }, "end": { "line": 569, "column": 43 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " Initialized", "start": 19492, "end": 19504, "loc": { "start": { "line": 569, "column": 43 }, "end": { "line": 569, "column": 55 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19504, "end": 19505, "loc": { "start": { "line": 569, "column": 55 }, "end": { "line": 569, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19505, "end": 19506, "loc": { "start": { "line": 569, "column": 56 }, "end": { "line": 569, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19512, "end": 19513, "loc": { "start": { "line": 570, "column": 4 }, "end": { "line": 570, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Caret handling\r\n ", "start": 19521, "end": 19556, "loc": { "start": { "line": 572, "column": 4 }, "end": { "line": 574, "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": 19562, "end": 19566, "loc": { "start": { "line": 575, "column": 4 }, "end": { "line": 575, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19566, "end": 19567, "loc": { "start": { "line": 575, "column": 8 }, "end": { "line": 575, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleCaret", "start": 19567, "end": 19578, "loc": { "start": { "line": 575, "column": 9 }, "end": { "line": 575, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19578, "end": 19579, "loc": { "start": { "line": 575, "column": 20 }, "end": { "line": 575, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19579, "end": 19580, "loc": { "start": { "line": 575, "column": 21 }, "end": { "line": 575, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19580, "end": 19581, "loc": { "start": { "line": 575, "column": 22 }, "end": { "line": 575, "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": 19589, "end": 19591, "loc": { "start": { "line": 577, "column": 4 }, "end": { "line": 577, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19591, "end": 19592, "loc": { "start": { "line": 577, "column": 6 }, "end": { "line": 577, "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": 19592, "end": 19598, "loc": { "start": { "line": 577, "column": 7 }, "end": { "line": 577, "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": 19599, "end": 19603, "loc": { "start": { "line": 577, "column": 14 }, "end": { "line": 577, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19603, "end": 19604, "loc": { "start": { "line": 577, "column": 18 }, "end": { "line": 577, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19604, "end": 19611, "loc": { "start": { "line": 577, "column": 19 }, "end": { "line": 577, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19611, "end": 19612, "loc": { "start": { "line": 577, "column": 26 }, "end": { "line": 577, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 19612, "end": 19618, "loc": { "start": { "line": 577, "column": 27 }, "end": { "line": 577, "column": 33 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19619, "end": 19622, "loc": { "start": { "line": 577, "column": 34 }, "end": { "line": 577, "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": 19623, "end": 19633, "loc": { "start": { "line": 577, "column": 38 }, "end": { "line": 577, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19633, "end": 19634, "loc": { "start": { "line": 577, "column": 48 }, "end": { "line": 577, "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": 19642, "end": 19646, "loc": { "start": { "line": 578, "column": 6 }, "end": { "line": 578, "column": 10 } } }, { "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": 578, "column": 10 }, "end": { "line": 578, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19647, "end": 19654, "loc": { "start": { "line": 578, "column": 11 }, "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": 19654, "end": 19655, "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": "onInit", "start": 19655, "end": 19661, "loc": { "start": { "line": 578, "column": 19 }, "end": { "line": 578, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19661, "end": 19662, "loc": { "start": { "line": 578, "column": 25 }, "end": { "line": 578, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19662, "end": 19663, "loc": { "start": { "line": 578, "column": 26 }, "end": { "line": 578, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19663, "end": 19664, "loc": { "start": { "line": 578, "column": 27 }, "end": { "line": 578, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19668, "end": 19669, "loc": { "start": { "line": 579, "column": 2 }, "end": { "line": 579, "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": 19675, "end": 19793, "loc": { "start": { "line": 581, "column": 2 }, "end": { "line": 583, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19797, "end": 19805, "loc": { "start": { "line": 584, "column": 2 }, "end": { "line": 584, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19805, "end": 19806, "loc": { "start": { "line": 584, "column": 10 }, "end": { "line": 584, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19806, "end": 19807, "loc": { "start": { "line": 584, "column": 11 }, "end": { "line": 584, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19807, "end": 19808, "loc": { "start": { "line": 584, "column": 12 }, "end": { "line": 584, "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": 19814, "end": 19816, "loc": { "start": { "line": 585, "column": 4 }, "end": { "line": 585, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19816, "end": 19817, "loc": { "start": { "line": 585, "column": 6 }, "end": { "line": 585, "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": 19817, "end": 19823, "loc": { "start": { "line": 585, "column": 7 }, "end": { "line": 585, "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": 19824, "end": 19828, "loc": { "start": { "line": 585, "column": 14 }, "end": { "line": 585, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19828, "end": 19829, "loc": { "start": { "line": 585, "column": 18 }, "end": { "line": 585, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19829, "end": 19836, "loc": { "start": { "line": 585, "column": 19 }, "end": { "line": 585, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19836, "end": 19837, "loc": { "start": { "line": 585, "column": 26 }, "end": { "line": 585, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19837, "end": 19845, "loc": { "start": { "line": 585, "column": 27 }, "end": { "line": 585, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19846, "end": 19849, "loc": { "start": { "line": 585, "column": 36 }, "end": { "line": 585, "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": 19850, "end": 19860, "loc": { "start": { "line": 585, "column": 40 }, "end": { "line": 585, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19860, "end": 19861, "loc": { "start": { "line": 585, "column": 50 }, "end": { "line": 585, "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": 19869, "end": 19873, "loc": { "start": { "line": 586, "column": 6 }, "end": { "line": 586, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19873, "end": 19874, "loc": { "start": { "line": 586, "column": 10 }, "end": { "line": 586, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 19874, "end": 19881, "loc": { "start": { "line": 586, "column": 11 }, "end": { "line": 586, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19881, "end": 19882, "loc": { "start": { "line": 586, "column": 18 }, "end": { "line": 586, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 19882, "end": 19890, "loc": { "start": { "line": 586, "column": 19 }, "end": { "line": 586, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19890, "end": 19891, "loc": { "start": { "line": 586, "column": 27 }, "end": { "line": 586, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19891, "end": 19892, "loc": { "start": { "line": 586, "column": 28 }, "end": { "line": 586, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19892, "end": 19893, "loc": { "start": { "line": 586, "column": 29 }, "end": { "line": 586, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19897, "end": 19898, "loc": { "start": { "line": 587, "column": 2 }, "end": { "line": 587, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Executes the callback function once all modules have been loaded\r\n ", "start": 19903, "end": 19982, "loc": { "start": { "line": 589, "column": 1 }, "end": { "line": 591, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 19986, "end": 20001, "loc": { "start": { "line": 592, "column": 2 }, "end": { "line": 592, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20001, "end": 20002, "loc": { "start": { "line": 592, "column": 17 }, "end": { "line": 592, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20002, "end": 20003, "loc": { "start": { "line": 592, "column": 18 }, "end": { "line": 592, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20003, "end": 20004, "loc": { "start": { "line": 592, "column": 19 }, "end": { "line": 592, "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": 20010, "end": 20012, "loc": { "start": { "line": 593, "column": 4 }, "end": { "line": 593, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20012, "end": 20013, "loc": { "start": { "line": 593, "column": 6 }, "end": { "line": 593, "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": 20013, "end": 20019, "loc": { "start": { "line": 593, "column": 7 }, "end": { "line": 593, "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": 20020, "end": 20024, "loc": { "start": { "line": 593, "column": 14 }, "end": { "line": 593, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20024, "end": 20025, "loc": { "start": { "line": 593, "column": 18 }, "end": { "line": 593, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20025, "end": 20032, "loc": { "start": { "line": 593, "column": 19 }, "end": { "line": 593, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20032, "end": 20033, "loc": { "start": { "line": 593, "column": 26 }, "end": { "line": 593, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 20033, "end": 20048, "loc": { "start": { "line": 593, "column": 27 }, "end": { "line": 593, "column": 42 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 20049, "end": 20052, "loc": { "start": { "line": 593, "column": 43 }, "end": { "line": 593, "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": 20053, "end": 20063, "loc": { "start": { "line": 593, "column": 47 }, "end": { "line": 593, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20063, "end": 20064, "loc": { "start": { "line": 593, "column": 57 }, "end": { "line": 593, "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": 20072, "end": 20076, "loc": { "start": { "line": 594, "column": 6 }, "end": { "line": 594, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20076, "end": 20077, "loc": { "start": { "line": 594, "column": 10 }, "end": { "line": 594, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20077, "end": 20084, "loc": { "start": { "line": 594, "column": 11 }, "end": { "line": 594, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20084, "end": 20085, "loc": { "start": { "line": 594, "column": 18 }, "end": { "line": 594, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 20085, "end": 20100, "loc": { "start": { "line": 594, "column": 19 }, "end": { "line": 594, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20100, "end": 20101, "loc": { "start": { "line": 594, "column": 34 }, "end": { "line": 594, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20101, "end": 20102, "loc": { "start": { "line": 594, "column": 35 }, "end": { "line": 594, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20102, "end": 20103, "loc": { "start": { "line": 594, "column": 36 }, "end": { "line": 594, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20107, "end": 20108, "loc": { "start": { "line": 595, "column": 2 }, "end": { "line": 595, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Register module\r\n ", "start": 20114, "end": 20146, "loc": { "start": { "line": 597, "column": 2 }, "end": { "line": 599, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerModule", "start": 20150, "end": 20164, "loc": { "start": { "line": 600, "column": 2 }, "end": { "line": 600, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20165, "end": 20166, "loc": { "start": { "line": 600, "column": 17 }, "end": { "line": 600, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20167, "end": 20168, "loc": { "start": { "line": 600, "column": 19 }, "end": { "line": 600, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20168, "end": 20172, "loc": { "start": { "line": 600, "column": 20 }, "end": { "line": 600, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20172, "end": 20173, "loc": { "start": { "line": 600, "column": 24 }, "end": { "line": 600, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 20174, "end": 20186, "loc": { "start": { "line": 600, "column": 26 }, "end": { "line": 600, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20186, "end": 20187, "loc": { "start": { "line": 600, "column": 38 }, "end": { "line": 600, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20188, "end": 20190, "loc": { "start": { "line": 600, "column": 40 }, "end": { "line": 600, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20191, "end": 20192, "loc": { "start": { "line": 600, "column": 43 }, "end": { "line": 600, "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": 20198, "end": 20200, "loc": { "start": { "line": 601, "column": 4 }, "end": { "line": 601, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20200, "end": 20201, "loc": { "start": { "line": 601, "column": 6 }, "end": { "line": 601, "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": 20201, "end": 20202, "loc": { "start": { "line": 601, "column": 7 }, "end": { "line": 601, "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": 20202, "end": 20206, "loc": { "start": { "line": 601, "column": 8 }, "end": { "line": 601, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20206, "end": 20207, "loc": { "start": { "line": 601, "column": 12 }, "end": { "line": 601, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20207, "end": 20214, "loc": { "start": { "line": 601, "column": 13 }, "end": { "line": 601, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20214, "end": 20215, "loc": { "start": { "line": 601, "column": 20 }, "end": { "line": 601, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20215, "end": 20219, "loc": { "start": { "line": 601, "column": 21 }, "end": { "line": 601, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20219, "end": 20220, "loc": { "start": { "line": 601, "column": 25 }, "end": { "line": 601, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20220, "end": 20221, "loc": { "start": { "line": 601, "column": 26 }, "end": { "line": 601, "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": 20229, "end": 20233, "loc": { "start": { "line": 602, "column": 6 }, "end": { "line": 602, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20233, "end": 20234, "loc": { "start": { "line": 602, "column": 10 }, "end": { "line": 602, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20234, "end": 20241, "loc": { "start": { "line": 602, "column": 11 }, "end": { "line": 602, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20241, "end": 20242, "loc": { "start": { "line": 602, "column": 18 }, "end": { "line": 602, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20242, "end": 20246, "loc": { "start": { "line": 602, "column": 19 }, "end": { "line": 602, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20246, "end": 20247, "loc": { "start": { "line": 602, "column": 23 }, "end": { "line": 602, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20248, "end": 20249, "loc": { "start": { "line": 602, "column": 25 }, "end": { "line": 602, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20250, "end": 20251, "loc": { "start": { "line": 602, "column": 27 }, "end": { "line": 602, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20251, "end": 20252, "loc": { "start": { "line": 602, "column": 28 }, "end": { "line": 602, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20252, "end": 20253, "loc": { "start": { "line": 602, "column": 29 }, "end": { "line": 602, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initCallback", "start": 20261, "end": 20273, "loc": { "start": { "line": 604, "column": 4 }, "end": { "line": 604, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20273, "end": 20274, "loc": { "start": { "line": 604, "column": 16 }, "end": { "line": 604, "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": 20274, "end": 20278, "loc": { "start": { "line": 604, "column": 17 }, "end": { "line": 604, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20278, "end": 20279, "loc": { "start": { "line": 604, "column": 21 }, "end": { "line": 604, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20279, "end": 20286, "loc": { "start": { "line": 604, "column": 22 }, "end": { "line": 604, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20286, "end": 20287, "loc": { "start": { "line": 604, "column": 29 }, "end": { "line": 604, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20287, "end": 20291, "loc": { "start": { "line": 604, "column": 30 }, "end": { "line": 604, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20291, "end": 20292, "loc": { "start": { "line": 604, "column": 34 }, "end": { "line": 604, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20292, "end": 20293, "loc": { "start": { "line": 604, "column": 35 }, "end": { "line": 604, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20293, "end": 20294, "loc": { "start": { "line": 604, "column": 36 }, "end": { "line": 604, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20298, "end": 20299, "loc": { "start": { "line": 605, "column": 2 }, "end": { "line": 605, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Load modules\r\n ", "start": 20305, "end": 20334, "loc": { "start": { "line": 607, "column": 2 }, "end": { "line": 609, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "loadModules", "start": 20338, "end": 20349, "loc": { "start": { "line": 610, "column": 2 }, "end": { "line": 610, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20349, "end": 20350, "loc": { "start": { "line": 610, "column": 13 }, "end": { "line": 610, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20350, "end": 20351, "loc": { "start": { "line": 610, "column": 14 }, "end": { "line": 610, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20351, "end": 20352, "loc": { "start": { "line": 610, "column": 15 }, "end": { "line": 610, "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": 20358, "end": 20360, "loc": { "start": { "line": 611, "column": 4 }, "end": { "line": 611, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20360, "end": 20361, "loc": { "start": { "line": 611, "column": 6 }, "end": { "line": 611, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 20361, "end": 20366, "loc": { "start": { "line": 611, "column": 7 }, "end": { "line": 611, "column": 12 } } }, { "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": 12 }, "end": { "line": 611, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 20367, "end": 20374, "loc": { "start": { "line": 611, "column": 13 }, "end": { "line": 611, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20374, "end": 20375, "loc": { "start": { "line": 611, "column": 20 }, "end": { "line": 611, "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": 20375, "end": 20379, "loc": { "start": { "line": 611, "column": 21 }, "end": { "line": 611, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20379, "end": 20380, "loc": { "start": { "line": 611, "column": 25 }, "end": { "line": 611, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 20380, "end": 20387, "loc": { "start": { "line": 611, "column": 26 }, "end": { "line": 611, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20387, "end": 20388, "loc": { "start": { "line": 611, "column": 33 }, "end": { "line": 611, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20388, "end": 20395, "loc": { "start": { "line": 611, "column": 34 }, "end": { "line": 611, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20395, "end": 20396, "loc": { "start": { "line": 611, "column": 41 }, "end": { "line": 611, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20396, "end": 20397, "loc": { "start": { "line": 611, "column": 42 }, "end": { "line": 611, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20397, "end": 20398, "loc": { "start": { "line": 611, "column": 43 }, "end": { "line": 611, "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": 20406, "end": 20410, "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": 20410, "end": 20411, "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": "options", "start": 20411, "end": 20418, "loc": { "start": { "line": 612, "column": 11 }, "end": { "line": 612, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20418, "end": 20419, "loc": { "start": { "line": 612, "column": 18 }, "end": { "line": 612, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 20419, "end": 20426, "loc": { "start": { "line": 612, "column": 19 }, "end": { "line": 612, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20426, "end": 20427, "loc": { "start": { "line": 612, "column": 26 }, "end": { "line": 612, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 20427, "end": 20434, "loc": { "start": { "line": 612, "column": 27 }, "end": { "line": 612, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20434, "end": 20435, "loc": { "start": { "line": 612, "column": 34 }, "end": { "line": 612, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 20435, "end": 20441, "loc": { "start": { "line": 612, "column": 35 }, "end": { "line": 612, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20442, "end": 20444, "loc": { "start": { "line": 612, "column": 42 }, "end": { "line": 612, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20445, "end": 20446, "loc": { "start": { "line": 612, "column": 45 }, "end": { "line": 612, "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": 20456, "end": 20459, "loc": { "start": { "line": 613, "column": 8 }, "end": { "line": 613, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20460, "end": 20466, "loc": { "start": { "line": 613, "column": 12 }, "end": { "line": 613, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20467, "end": 20468, "loc": { "start": { "line": 613, "column": 19 }, "end": { "line": 613, "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": 20469, "end": 20472, "loc": { "start": { "line": 613, "column": 21 }, "end": { "line": 613, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Module", "start": 20473, "end": 20479, "loc": { "start": { "line": 613, "column": 25 }, "end": { "line": 613, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20479, "end": 20480, "loc": { "start": { "line": 613, "column": 31 }, "end": { "line": 613, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20480, "end": 20481, "loc": { "start": { "line": 613, "column": 32 }, "end": { "line": 613, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20481, "end": 20482, "loc": { "start": { "line": 613, "column": 33 }, "end": { "line": 613, "column": 34 } } }, { "type": "CommentBlock", "value": " istanbul ignore next ", "start": 20494, "end": 20520, "loc": { "start": { "line": 615, "column": 8 }, "end": { "line": 615, "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": 20530, "end": 20532, "loc": { "start": { "line": 616, "column": 8 }, "end": { "line": 616, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20532, "end": 20533, "loc": { "start": { "line": 616, "column": 10 }, "end": { "line": 616, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20533, "end": 20539, "loc": { "start": { "line": 616, "column": 11 }, "end": { "line": 616, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20539, "end": 20540, "loc": { "start": { "line": 616, "column": 17 }, "end": { "line": 616, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 20540, "end": 20551, "loc": { "start": { "line": 616, "column": 18 }, "end": { "line": 616, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20551, "end": 20552, "loc": { "start": { "line": 616, "column": 29 }, "end": { "line": 616, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20552, "end": 20556, "loc": { "start": { "line": 616, "column": 30 }, "end": { "line": 616, "column": 34 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 20557, "end": 20559, "loc": { "start": { "line": 616, "column": 35 }, "end": { "line": 616, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20560, "end": 20566, "loc": { "start": { "line": 616, "column": 38 }, "end": { "line": 616, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20566, "end": 20567, "loc": { "start": { "line": 616, "column": 44 }, "end": { "line": 616, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 20567, "end": 20578, "loc": { "start": { "line": 616, "column": 45 }, "end": { "line": 616, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20578, "end": 20579, "loc": { "start": { "line": 616, "column": 56 }, "end": { "line": 616, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20579, "end": 20583, "loc": { "start": { "line": 616, "column": 57 }, "end": { "line": 616, "column": 61 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 20584, "end": 20587, "loc": { "start": { "line": 616, "column": 62 }, "end": { "line": 616, "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": 20588, "end": 20598, "loc": { "start": { "line": 616, "column": 66 }, "end": { "line": 616, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20598, "end": 20599, "loc": { "start": { "line": 616, "column": 76 }, "end": { "line": 616, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20599, "end": 20600, "loc": { "start": { "line": 616, "column": 77 }, "end": { "line": 616, "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": 20612, "end": 20615, "loc": { "start": { "line": 617, "column": 10 }, "end": { "line": 617, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 20616, "end": 20624, "loc": { "start": { "line": 617, "column": 14 }, "end": { "line": 617, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20625, "end": 20626, "loc": { "start": { "line": 617, "column": 23 }, "end": { "line": 617, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20627, "end": 20628, "loc": { "start": { "line": 617, "column": 25 }, "end": { "line": 617, "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": 20628, "end": 20635, "loc": { "start": { "line": 617, "column": 26 }, "end": { "line": 617, "column": 33 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20635, "end": 20637, "loc": { "start": { "line": 617, "column": 33 }, "end": { "line": 617, "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": 20637, "end": 20641, "loc": { "start": { "line": 617, "column": 35 }, "end": { "line": 617, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20641, "end": 20642, "loc": { "start": { "line": 617, "column": 39 }, "end": { "line": 617, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 20642, "end": 20651, "loc": { "start": { "line": 617, "column": 40 }, "end": { "line": 617, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20651, "end": 20652, "loc": { "start": { "line": 617, "column": 49 }, "end": { "line": 617, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 20652, "end": 20661, "loc": { "start": { "line": 617, "column": 50 }, "end": { "line": 617, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20661, "end": 20662, "loc": { "start": { "line": 617, "column": 59 }, "end": { "line": 617, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20662, "end": 20668, "loc": { "start": { "line": 617, "column": 60 }, "end": { "line": 617, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20668, "end": 20669, "loc": { "start": { "line": 617, "column": 66 }, "end": { "line": 617, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 20669, "end": 20680, "loc": { "start": { "line": 617, "column": 67 }, "end": { "line": 617, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20680, "end": 20681, "loc": { "start": { "line": 617, "column": 78 }, "end": { "line": 617, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 20681, "end": 20685, "loc": { "start": { "line": 617, "column": 79 }, "end": { "line": 617, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20685, "end": 20686, "loc": { "start": { "line": 617, "column": 83 }, "end": { "line": 617, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20686, "end": 20687, "loc": { "start": { "line": 617, "column": 84 }, "end": { "line": 617, "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": 20687, "end": 20687, "loc": { "start": { "line": 617, "column": 85 }, "end": { "line": 617, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20687, "end": 20688, "loc": { "start": { "line": 617, "column": 85 }, "end": { "line": 617, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20688, "end": 20689, "loc": { "start": { "line": 617, "column": 86 }, "end": { "line": 617, "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": 20701, "end": 20705, "loc": { "start": { "line": 618, "column": 10 }, "end": { "line": 618, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20705, "end": 20706, "loc": { "start": { "line": 618, "column": 14 }, "end": { "line": 618, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20706, "end": 20727, "loc": { "start": { "line": 618, "column": 15 }, "end": { "line": 618, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20728, "end": 20729, "loc": { "start": { "line": 618, "column": 37 }, "end": { "line": 618, "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": 20730, "end": 20734, "loc": { "start": { "line": 618, "column": 39 }, "end": { "line": 618, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20734, "end": 20735, "loc": { "start": { "line": 618, "column": 43 }, "end": { "line": 618, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20735, "end": 20756, "loc": { "start": { "line": 618, "column": 44 }, "end": { "line": 618, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20757, "end": 20758, "loc": { "start": { "line": 618, "column": 66 }, "end": { "line": 618, "column": 67 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20759, "end": 20760, "loc": { "start": { "line": 618, "column": 68 }, "end": { "line": 618, "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": 20760, "end": 20761, "loc": { "start": { "line": 618, "column": 69 }, "end": { "line": 618, "column": 70 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20761, "end": 20763, "loc": { "start": { "line": 618, "column": 70 }, "end": { "line": 618, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classStr", "start": 20763, "end": 20771, "loc": { "start": { "line": 618, "column": 72 }, "end": { "line": 618, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20771, "end": 20772, "loc": { "start": { "line": 618, "column": 80 }, "end": { "line": 618, "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": 20772, "end": 20772, "loc": { "start": { "line": 618, "column": 81 }, "end": { "line": 618, "column": 81 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20772, "end": 20773, "loc": { "start": { "line": 618, "column": 81 }, "end": { "line": 618, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20773, "end": 20774, "loc": { "start": { "line": 618, "column": 82 }, "end": { "line": 618, "column": 83 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20784, "end": 20785, "loc": { "start": { "line": 619, "column": 8 }, "end": { "line": 619, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "module", "start": 20797, "end": 20803, "loc": { "start": { "line": 621, "column": 8 }, "end": { "line": 621, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20803, "end": 20804, "loc": { "start": { "line": 621, "column": 14 }, "end": { "line": 621, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "init", "start": 20804, "end": 20808, "loc": { "start": { "line": 621, "column": 15 }, "end": { "line": 621, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20808, "end": 20809, "loc": { "start": { "line": 621, "column": 19 }, "end": { "line": 621, "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": 20809, "end": 20813, "loc": { "start": { "line": 621, "column": 20 }, "end": { "line": 621, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20813, "end": 20814, "loc": { "start": { "line": 621, "column": 24 }, "end": { "line": 621, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20814, "end": 20815, "loc": { "start": { "line": 621, "column": 25 }, "end": { "line": 621, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20823, "end": 20824, "loc": { "start": { "line": 622, "column": 6 }, "end": { "line": 622, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20824, "end": 20825, "loc": { "start": { "line": 622, "column": 7 }, "end": { "line": 622, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20825, "end": 20826, "loc": { "start": { "line": 622, "column": 8 }, "end": { "line": 622, "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": 20836, "end": 20840, "loc": { "start": { "line": 624, "column": 6 }, "end": { "line": 624, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20840, "end": 20841, "loc": { "start": { "line": 624, "column": 10 }, "end": { "line": 624, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20841, "end": 20862, "loc": { "start": { "line": 624, "column": 11 }, "end": { "line": 624, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 20863, "end": 20864, "loc": { "start": { "line": 624, "column": 33 }, "end": { "line": 624, "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": 20865, "end": 20869, "loc": { "start": { "line": 624, "column": 35 }, "end": { "line": 624, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20869, "end": 20870, "loc": { "start": { "line": 624, "column": 39 }, "end": { "line": 624, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 20870, "end": 20891, "loc": { "start": { "line": 624, "column": 40 }, "end": { "line": 624, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 20892, "end": 20893, "loc": { "start": { "line": 624, "column": 62 }, "end": { "line": 624, "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": 20894, "end": 20911, "loc": { "start": { "line": 624, "column": 64 }, "end": { "line": 624, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20911, "end": 20912, "loc": { "start": { "line": 624, "column": 81 }, "end": { "line": 624, "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": 20922, "end": 20926, "loc": { "start": { "line": 626, "column": 6 }, "end": { "line": 626, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20926, "end": 20927, "loc": { "start": { "line": 626, "column": 10 }, "end": { "line": 626, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 20927, "end": 20933, "loc": { "start": { "line": 626, "column": 11 }, "end": { "line": 626, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20933, "end": 20934, "loc": { "start": { "line": 626, "column": 17 }, "end": { "line": 626, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20934, "end": 20935, "loc": { "start": { "line": 626, "column": 18 }, "end": { "line": 626, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20935, "end": 20936, "loc": { "start": { "line": 626, "column": 19 }, "end": { "line": 626, "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": 20944, "end": 20948, "loc": { "start": { "line": 627, "column": 6 }, "end": { "line": 627, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20948, "end": 20949, "loc": { "start": { "line": 627, "column": 10 }, "end": { "line": 627, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onModulesLoaded", "start": 20949, "end": 20964, "loc": { "start": { "line": 627, "column": 11 }, "end": { "line": 627, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20964, "end": 20965, "loc": { "start": { "line": 627, "column": 26 }, "end": { "line": 627, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20965, "end": 20966, "loc": { "start": { "line": 627, "column": 27 }, "end": { "line": 627, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20966, "end": 20967, "loc": { "start": { "line": 627, "column": 28 }, "end": { "line": 627, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20973, "end": 20974, "loc": { "start": { "line": 628, "column": 4 }, "end": { "line": 628, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20978, "end": 20979, "loc": { "start": { "line": 629, "column": 2 }, "end": { "line": 629, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Get module prop\r\n ", "start": 20985, "end": 21017, "loc": { "start": { "line": 631, "column": 2 }, "end": { "line": 633, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModuleProp", "start": 21021, "end": 21034, "loc": { "start": { "line": 634, "column": 2 }, "end": { "line": 634, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21035, "end": 21036, "loc": { "start": { "line": 634, "column": 16 }, "end": { "line": 634, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21037, "end": 21038, "loc": { "start": { "line": 634, "column": 18 }, "end": { "line": 634, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 21038, "end": 21042, "loc": { "start": { "line": 634, "column": 19 }, "end": { "line": 634, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21042, "end": 21043, "loc": { "start": { "line": 634, "column": 23 }, "end": { "line": 634, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 21044, "end": 21048, "loc": { "start": { "line": 634, "column": 25 }, "end": { "line": 634, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21048, "end": 21049, "loc": { "start": { "line": 634, "column": 29 }, "end": { "line": 634, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21050, "end": 21052, "loc": { "start": { "line": 634, "column": 31 }, "end": { "line": 634, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21053, "end": 21054, "loc": { "start": { "line": 634, "column": 34 }, "end": { "line": 634, "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": 21060, "end": 21062, "loc": { "start": { "line": 635, "column": 4 }, "end": { "line": 635, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21062, "end": 21063, "loc": { "start": { "line": 635, "column": 6 }, "end": { "line": 635, "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": 21063, "end": 21064, "loc": { "start": { "line": 635, "column": 7 }, "end": { "line": 635, "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": 21064, "end": 21068, "loc": { "start": { "line": 635, "column": 8 }, "end": { "line": 635, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21068, "end": 21069, "loc": { "start": { "line": 635, "column": 12 }, "end": { "line": 635, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 21069, "end": 21076, "loc": { "start": { "line": 635, "column": 13 }, "end": { "line": 635, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21076, "end": 21077, "loc": { "start": { "line": 635, "column": 20 }, "end": { "line": 635, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 21077, "end": 21081, "loc": { "start": { "line": 635, "column": 21 }, "end": { "line": 635, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21081, "end": 21082, "loc": { "start": { "line": 635, "column": 25 }, "end": { "line": 635, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21082, "end": 21083, "loc": { "start": { "line": 635, "column": 26 }, "end": { "line": 635, "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": 21091, "end": 21097, "loc": { "start": { "line": 636, "column": 6 }, "end": { "line": 636, "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": 21098, "end": 21103, "loc": { "start": { "line": 636, "column": 13 }, "end": { "line": 636, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21103, "end": 21104, "loc": { "start": { "line": 636, "column": 18 }, "end": { "line": 636, "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": 21116, "end": 21122, "loc": { "start": { "line": 638, "column": 4 }, "end": { "line": 638, "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": 21123, "end": 21127, "loc": { "start": { "line": 638, "column": 11 }, "end": { "line": 638, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21127, "end": 21128, "loc": { "start": { "line": 638, "column": 15 }, "end": { "line": 638, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 21128, "end": 21135, "loc": { "start": { "line": 638, "column": 16 }, "end": { "line": 638, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21135, "end": 21136, "loc": { "start": { "line": 638, "column": 23 }, "end": { "line": 638, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 21136, "end": 21140, "loc": { "start": { "line": 638, "column": 24 }, "end": { "line": 638, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21140, "end": 21141, "loc": { "start": { "line": 638, "column": 28 }, "end": { "line": 638, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21141, "end": 21142, "loc": { "start": { "line": 638, "column": 29 }, "end": { "line": 638, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prop", "start": 21142, "end": 21146, "loc": { "start": { "line": 638, "column": 30 }, "end": { "line": 638, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21146, "end": 21147, "loc": { "start": { "line": 638, "column": 34 }, "end": { "line": 638, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21147, "end": 21148, "loc": { "start": { "line": 638, "column": 35 }, "end": { "line": 638, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21152, "end": 21153, "loc": { "start": { "line": 639, "column": 2 }, "end": { "line": 639, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * getModulesList\r\n ", "start": 21159, "end": 21190, "loc": { "start": { "line": 641, "column": 2 }, "end": { "line": 643, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getModulesList", "start": 21194, "end": 21208, "loc": { "start": { "line": 644, "column": 2 }, "end": { "line": 644, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21209, "end": 21210, "loc": { "start": { "line": 644, "column": 17 }, "end": { "line": 644, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21211, "end": 21212, "loc": { "start": { "line": 644, "column": 19 }, "end": { "line": 644, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21212, "end": 21213, "loc": { "start": { "line": 644, "column": 20 }, "end": { "line": 644, "column": 21 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21214, "end": 21216, "loc": { "start": { "line": 644, "column": 22 }, "end": { "line": 644, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21217, "end": 21218, "loc": { "start": { "line": 644, "column": 25 }, "end": { "line": 644, "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": 21224, "end": 21230, "loc": { "start": { "line": 645, "column": 4 }, "end": { "line": 645, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 21231, "end": 21237, "loc": { "start": { "line": 645, "column": 11 }, "end": { "line": 645, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21237, "end": 21238, "loc": { "start": { "line": 645, "column": 17 }, "end": { "line": 645, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keys", "start": 21238, "end": 21242, "loc": { "start": { "line": 645, "column": 18 }, "end": { "line": 645, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21242, "end": 21243, "loc": { "start": { "line": 645, "column": 22 }, "end": { "line": 645, "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": 21243, "end": 21247, "loc": { "start": { "line": 645, "column": 23 }, "end": { "line": 645, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21247, "end": 21248, "loc": { "start": { "line": 645, "column": 27 }, "end": { "line": 645, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modules", "start": 21248, "end": 21255, "loc": { "start": { "line": 645, "column": 28 }, "end": { "line": 645, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21255, "end": 21256, "loc": { "start": { "line": 645, "column": 35 }, "end": { "line": 645, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21256, "end": 21257, "loc": { "start": { "line": 645, "column": 36 }, "end": { "line": 645, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21261, "end": 21262, "loc": { "start": { "line": 646, "column": 2 }, "end": { "line": 646, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Renders rows and buttons as per options\r\n ", "start": 21268, "end": 21324, "loc": { "start": { "line": 648, "column": 2 }, "end": { "line": 650, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "render", "start": 21328, "end": 21334, "loc": { "start": { "line": 651, "column": 2 }, "end": { "line": 651, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21334, "end": 21335, "loc": { "start": { "line": 651, "column": 8 }, "end": { "line": 651, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21335, "end": 21336, "loc": { "start": { "line": 651, "column": 9 }, "end": { "line": 651, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21336, "end": 21337, "loc": { "start": { "line": 651, "column": 10 }, "end": { "line": 651, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Clear keyboard\r\n ", "start": 21343, "end": 21378, "loc": { "start": { "line": 652, "column": 4 }, "end": { "line": 654, "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": 21384, "end": 21388, "loc": { "start": { "line": 655, "column": 4 }, "end": { "line": 655, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21388, "end": 21389, "loc": { "start": { "line": 655, "column": 8 }, "end": { "line": 655, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 21389, "end": 21394, "loc": { "start": { "line": 655, "column": 9 }, "end": { "line": 655, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21394, "end": 21395, "loc": { "start": { "line": 655, "column": 14 }, "end": { "line": 655, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21395, "end": 21396, "loc": { "start": { "line": 655, "column": 15 }, "end": { "line": 655, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21396, "end": 21397, "loc": { "start": { "line": 655, "column": 16 }, "end": { "line": 655, "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": 21405, "end": 21408, "loc": { "start": { "line": 657, "column": 4 }, "end": { "line": 657, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 21409, "end": 21420, "loc": { "start": { "line": 657, "column": 8 }, "end": { "line": 657, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21421, "end": 21422, "loc": { "start": { "line": 657, "column": 20 }, "end": { "line": 657, "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": 21423, "end": 21427, "loc": { "start": { "line": 657, "column": 22 }, "end": { "line": 657, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21427, "end": 21428, "loc": { "start": { "line": 657, "column": 26 }, "end": { "line": 657, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21428, "end": 21435, "loc": { "start": { "line": 657, "column": 27 }, "end": { "line": 657, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21435, "end": 21436, "loc": { "start": { "line": 657, "column": 34 }, "end": { "line": 657, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 21436, "end": 21442, "loc": { "start": { "line": 657, "column": 35 }, "end": { "line": 657, "column": 41 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21443, "end": 21444, "loc": { "start": { "line": 657, "column": 42 }, "end": { "line": 657, "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": 21445, "end": 21463, "loc": { "start": { "line": 657, "column": 44 }, "end": { "line": 657, "column": 62 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21464, "end": 21465, "loc": { "start": { "line": 657, "column": 63 }, "end": { "line": 657, "column": 64 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21466, "end": 21467, "loc": { "start": { "line": 657, "column": 65 }, "end": { "line": 657, "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": 21467, "end": 21477, "loc": { "start": { "line": 657, "column": 66 }, "end": { "line": 657, "column": 76 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21477, "end": 21479, "loc": { "start": { "line": 657, "column": 76 }, "end": { "line": 657, "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": 21479, "end": 21483, "loc": { "start": { "line": 657, "column": 78 }, "end": { "line": 657, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21483, "end": 21484, "loc": { "start": { "line": 657, "column": 82 }, "end": { "line": 657, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21484, "end": 21491, "loc": { "start": { "line": 657, "column": 83 }, "end": { "line": 657, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21491, "end": 21492, "loc": { "start": { "line": 657, "column": 90 }, "end": { "line": 657, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 21492, "end": 21502, "loc": { "start": { "line": 657, "column": 91 }, "end": { "line": 657, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21502, "end": 21503, "loc": { "start": { "line": 657, "column": 101 }, "end": { "line": 657, "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": 21503, "end": 21503, "loc": { "start": { "line": 657, "column": 102 }, "end": { "line": 657, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21503, "end": 21504, "loc": { "start": { "line": 657, "column": 102 }, "end": { "line": 657, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21504, "end": 21505, "loc": { "start": { "line": 657, "column": 103 }, "end": { "line": 657, "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": 21511, "end": 21514, "loc": { "start": { "line": 658, "column": 4 }, "end": { "line": 658, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 21515, "end": 21521, "loc": { "start": { "line": 658, "column": 8 }, "end": { "line": 658, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21522, "end": 21523, "loc": { "start": { "line": 658, "column": 15 }, "end": { "line": 658, "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": 21524, "end": 21528, "loc": { "start": { "line": 658, "column": 17 }, "end": { "line": 658, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21528, "end": 21529, "loc": { "start": { "line": 658, "column": 21 }, "end": { "line": 658, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21529, "end": 21536, "loc": { "start": { "line": 658, "column": 22 }, "end": { "line": 658, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21536, "end": 21537, "loc": { "start": { "line": 658, "column": 29 }, "end": { "line": 658, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 21537, "end": 21543, "loc": { "start": { "line": 658, "column": 30 }, "end": { "line": 658, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 21544, "end": 21546, "loc": { "start": { "line": 658, "column": 37 }, "end": { "line": 658, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeyboardLayout", "start": 21547, "end": 21561, "loc": { "start": { "line": 658, "column": 40 }, "end": { "line": 658, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21561, "end": 21562, "loc": { "start": { "line": 658, "column": 54 }, "end": { "line": 658, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultLayout", "start": 21562, "end": 21578, "loc": { "start": { "line": 658, "column": 55 }, "end": { "line": 658, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21578, "end": 21579, "loc": { "start": { "line": 658, "column": 71 }, "end": { "line": 658, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21579, "end": 21580, "loc": { "start": { "line": 658, "column": 72 }, "end": { "line": 658, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21580, "end": 21581, "loc": { "start": { "line": 658, "column": 73 }, "end": { "line": 658, "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": 21587, "end": 21590, "loc": { "start": { "line": 659, "column": 4 }, "end": { "line": 659, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 21591, "end": 21605, "loc": { "start": { "line": 659, "column": 8 }, "end": { "line": 659, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21606, "end": 21607, "loc": { "start": { "line": 659, "column": 23 }, "end": { "line": 659, "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": 21608, "end": 21612, "loc": { "start": { "line": 659, "column": 25 }, "end": { "line": 659, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21612, "end": 21613, "loc": { "start": { "line": 659, "column": 29 }, "end": { "line": 659, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21613, "end": 21620, "loc": { "start": { "line": 659, "column": 30 }, "end": { "line": 659, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21620, "end": 21621, "loc": { "start": { "line": 659, "column": 37 }, "end": { "line": 659, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 21621, "end": 21635, "loc": { "start": { "line": 659, "column": 38 }, "end": { "line": 659, "column": 52 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 21636, "end": 21638, "loc": { "start": { "line": 659, "column": 53 }, "end": { "line": 659, "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": 21639, "end": 21644, "loc": { "start": { "line": 659, "column": 56 }, "end": { "line": 659, "column": 61 } } }, { "type": "CommentBlock", "value": "*\r\n * Account for buttonTheme, if set\r\n ", "start": 21652, "end": 21704, "loc": { "start": { "line": 661, "column": 4 }, "end": { "line": 663, "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": 21710, "end": 21713, "loc": { "start": { "line": 664, "column": 4 }, "end": { "line": 664, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 21714, "end": 21732, "loc": { "start": { "line": 664, "column": 8 }, "end": { "line": 664, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 21733, "end": 21734, "loc": { "start": { "line": 664, "column": 27 }, "end": { "line": 664, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21735, "end": 21736, "loc": { "start": { "line": 664, "column": 29 }, "end": { "line": 664, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21736, "end": 21737, "loc": { "start": { "line": 664, "column": 30 }, "end": { "line": 664, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21737, "end": 21738, "loc": { "start": { "line": 664, "column": 31 }, "end": { "line": 664, "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": 21744, "end": 21746, "loc": { "start": { "line": 665, "column": 4 }, "end": { "line": 665, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21746, "end": 21747, "loc": { "start": { "line": 665, "column": 6 }, "end": { "line": 665, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Array", "start": 21747, "end": 21752, "loc": { "start": { "line": 665, "column": 7 }, "end": { "line": 665, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21752, "end": 21753, "loc": { "start": { "line": 665, "column": 12 }, "end": { "line": 665, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isArray", "start": 21753, "end": 21760, "loc": { "start": { "line": 665, "column": 13 }, "end": { "line": 665, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21760, "end": 21761, "loc": { "start": { "line": 665, "column": 20 }, "end": { "line": 665, "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": 21761, "end": 21765, "loc": { "start": { "line": 665, "column": 21 }, "end": { "line": 665, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21765, "end": 21766, "loc": { "start": { "line": 665, "column": 25 }, "end": { "line": 665, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21766, "end": 21773, "loc": { "start": { "line": 665, "column": 26 }, "end": { "line": 665, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21773, "end": 21774, "loc": { "start": { "line": 665, "column": 33 }, "end": { "line": 665, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 21774, "end": 21785, "loc": { "start": { "line": 665, "column": 34 }, "end": { "line": 665, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21785, "end": 21786, "loc": { "start": { "line": 665, "column": 45 }, "end": { "line": 665, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21786, "end": 21787, "loc": { "start": { "line": 665, "column": 46 }, "end": { "line": 665, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21787, "end": 21788, "loc": { "start": { "line": 665, "column": 47 }, "end": { "line": 665, "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": 21796, "end": 21800, "loc": { "start": { "line": 666, "column": 6 }, "end": { "line": 666, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21800, "end": 21801, "loc": { "start": { "line": 666, "column": 10 }, "end": { "line": 666, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 21801, "end": 21808, "loc": { "start": { "line": 666, "column": 11 }, "end": { "line": 666, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21808, "end": 21809, "loc": { "start": { "line": 666, "column": 18 }, "end": { "line": 666, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTheme", "start": 21809, "end": 21820, "loc": { "start": { "line": 666, "column": 19 }, "end": { "line": 666, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21820, "end": 21821, "loc": { "start": { "line": 666, "column": 30 }, "end": { "line": 666, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 21821, "end": 21828, "loc": { "start": { "line": 666, "column": 31 }, "end": { "line": 666, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21828, "end": 21829, "loc": { "start": { "line": 666, "column": 38 }, "end": { "line": 666, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21829, "end": 21837, "loc": { "start": { "line": 666, "column": 39 }, "end": { "line": 666, "column": 47 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21838, "end": 21840, "loc": { "start": { "line": 666, "column": 48 }, "end": { "line": 666, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21841, "end": 21842, "loc": { "start": { "line": 666, "column": 51 }, "end": { "line": 666, "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": 21852, "end": 21854, "loc": { "start": { "line": 667, "column": 8 }, "end": { "line": 667, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21854, "end": 21855, "loc": { "start": { "line": 667, "column": 10 }, "end": { "line": 667, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21855, "end": 21863, "loc": { "start": { "line": 667, "column": 11 }, "end": { "line": 667, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21863, "end": 21864, "loc": { "start": { "line": 667, "column": 19 }, "end": { "line": 667, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21864, "end": 21871, "loc": { "start": { "line": 667, "column": 20 }, "end": { "line": 667, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 21872, "end": 21874, "loc": { "start": { "line": 667, "column": 28 }, "end": { "line": 667, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21875, "end": 21883, "loc": { "start": { "line": 667, "column": 31 }, "end": { "line": 667, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21883, "end": 21884, "loc": { "start": { "line": 667, "column": 39 }, "end": { "line": 667, "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": 21884, "end": 21889, "loc": { "start": { "line": 667, "column": 40 }, "end": { "line": 667, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21889, "end": 21890, "loc": { "start": { "line": 667, "column": 45 }, "end": { "line": 667, "column": 46 } } }, { "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": 667, "column": 46 }, "end": { "line": 667, "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": 21903, "end": 21906, "loc": { "start": { "line": 668, "column": 10 }, "end": { "line": 668, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21907, "end": 21919, "loc": { "start": { "line": 668, "column": 14 }, "end": { "line": 668, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21919, "end": 21920, "loc": { "start": { "line": 668, "column": 26 }, "end": { "line": 668, "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": 21934, "end": 21936, "loc": { "start": { "line": 670, "column": 10 }, "end": { "line": 670, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21936, "end": 21937, "loc": { "start": { "line": 670, "column": 12 }, "end": { "line": 670, "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": 21937, "end": 21943, "loc": { "start": { "line": 670, "column": 13 }, "end": { "line": 670, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 21944, "end": 21952, "loc": { "start": { "line": 670, "column": 20 }, "end": { "line": 670, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 21952, "end": 21953, "loc": { "start": { "line": 670, "column": 28 }, "end": { "line": 670, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 21953, "end": 21960, "loc": { "start": { "line": 670, "column": 29 }, "end": { "line": 670, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 21961, "end": 21964, "loc": { "start": { "line": 670, "column": 37 }, "end": { "line": 670, "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": 21965, "end": 21973, "loc": { "start": { "line": 670, "column": 41 }, "end": { "line": 670, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21973, "end": 21974, "loc": { "start": { "line": 670, "column": 49 }, "end": { "line": 670, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 21974, "end": 21975, "loc": { "start": { "line": 670, "column": 50 }, "end": { "line": 670, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 21989, "end": 22001, "loc": { "start": { "line": 671, "column": 12 }, "end": { "line": 671, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22002, "end": 22003, "loc": { "start": { "line": 671, "column": 25 }, "end": { "line": 671, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 22004, "end": 22012, "loc": { "start": { "line": 671, "column": 27 }, "end": { "line": 671, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22012, "end": 22013, "loc": { "start": { "line": 671, "column": 35 }, "end": { "line": 671, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttons", "start": 22013, "end": 22020, "loc": { "start": { "line": 671, "column": 36 }, "end": { "line": 671, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22020, "end": 22021, "loc": { "start": { "line": 671, "column": 43 }, "end": { "line": 671, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 22021, "end": 22026, "loc": { "start": { "line": 671, "column": 44 }, "end": { "line": 671, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22026, "end": 22027, "loc": { "start": { "line": 671, "column": 49 }, "end": { "line": 671, "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": 22027, "end": 22030, "loc": { "start": { "line": 671, "column": 50 }, "end": { "line": 671, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22030, "end": 22031, "loc": { "start": { "line": 671, "column": 53 }, "end": { "line": 671, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22031, "end": 22032, "loc": { "start": { "line": 671, "column": 54 }, "end": { "line": 671, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22044, "end": 22045, "loc": { "start": { "line": 672, "column": 10 }, "end": { "line": 672, "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": 22059, "end": 22061, "loc": { "start": { "line": 674, "column": 10 }, "end": { "line": 674, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22061, "end": 22062, "loc": { "start": { "line": 674, "column": 12 }, "end": { "line": 674, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 22062, "end": 22074, "loc": { "start": { "line": 674, "column": 13 }, "end": { "line": 674, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22074, "end": 22075, "loc": { "start": { "line": 674, "column": 25 }, "end": { "line": 674, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22075, "end": 22076, "loc": { "start": { "line": 674, "column": 26 }, "end": { "line": 674, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButtons", "start": 22090, "end": 22102, "loc": { "start": { "line": 675, "column": 12 }, "end": { "line": 675, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22102, "end": 22103, "loc": { "start": { "line": 675, "column": 24 }, "end": { "line": 675, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 22103, "end": 22110, "loc": { "start": { "line": 675, "column": 25 }, "end": { "line": 675, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22110, "end": 22111, "loc": { "start": { "line": 675, "column": 32 }, "end": { "line": 675, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 22111, "end": 22122, "loc": { "start": { "line": 675, "column": 33 }, "end": { "line": 675, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22123, "end": 22125, "loc": { "start": { "line": 675, "column": 45 }, "end": { "line": 675, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22126, "end": 22127, "loc": { "start": { "line": 675, "column": 48 }, "end": { "line": 675, "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": 22143, "end": 22146, "loc": { "start": { "line": 676, "column": 14 }, "end": { "line": 676, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 22147, "end": 22158, "loc": { "start": { "line": 676, "column": 18 }, "end": { "line": 676, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22159, "end": 22160, "loc": { "start": { "line": 676, "column": 30 }, "end": { "line": 676, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 22161, "end": 22179, "loc": { "start": { "line": 676, "column": 32 }, "end": { "line": 676, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22179, "end": 22180, "loc": { "start": { "line": 676, "column": 50 }, "end": { "line": 676, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 22180, "end": 22191, "loc": { "start": { "line": 676, "column": 51 }, "end": { "line": 676, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22191, "end": 22192, "loc": { "start": { "line": 676, "column": 62 }, "end": { "line": 676, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22192, "end": 22193, "loc": { "start": { "line": 676, "column": 63 }, "end": { "line": 676, "column": 64 } } }, { "type": "CommentLine", "value": " If the button has already been added", "start": 22211, "end": 22250, "loc": { "start": { "line": 678, "column": 14 }, "end": { "line": 678, "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": 22266, "end": 22268, "loc": { "start": { "line": 679, "column": 14 }, "end": { "line": 679, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22268, "end": 22269, "loc": { "start": { "line": 679, "column": 16 }, "end": { "line": 679, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 22269, "end": 22280, "loc": { "start": { "line": 679, "column": 17 }, "end": { "line": 679, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22280, "end": 22281, "loc": { "start": { "line": 679, "column": 28 }, "end": { "line": 679, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22281, "end": 22282, "loc": { "start": { "line": 679, "column": 29 }, "end": { "line": 679, "column": 30 } } }, { "type": "CommentLine", "value": " Making sure we don't add duplicate classes, even when buttonTheme has duplicates", "start": 22300, "end": 22383, "loc": { "start": { "line": 680, "column": 16 }, "end": { "line": 680, "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": 22401, "end": 22403, "loc": { "start": { "line": 681, "column": 16 }, "end": { "line": 681, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22403, "end": 22404, "loc": { "start": { "line": 681, "column": 18 }, "end": { "line": 681, "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": 22404, "end": 22405, "loc": { "start": { "line": 681, "column": 19 }, "end": { "line": 681, "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": 22405, "end": 22409, "loc": { "start": { "line": 681, "column": 20 }, "end": { "line": 681, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22409, "end": 22410, "loc": { "start": { "line": 681, "column": 24 }, "end": { "line": 681, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 22410, "end": 22419, "loc": { "start": { "line": 681, "column": 25 }, "end": { "line": 681, "column": 34 } } }, { "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": 681, "column": 34 }, "end": { "line": 681, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 22420, "end": 22432, "loc": { "start": { "line": 681, "column": 35 }, "end": { "line": 681, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22432, "end": 22433, "loc": { "start": { "line": 681, "column": 47 }, "end": { "line": 681, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 22433, "end": 22444, "loc": { "start": { "line": 681, "column": 48 }, "end": { "line": 681, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22444, "end": 22445, "loc": { "start": { "line": 681, "column": 59 }, "end": { "line": 681, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 22445, "end": 22450, "loc": { "start": { "line": 681, "column": 60 }, "end": { "line": 681, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22450, "end": 22451, "loc": { "start": { "line": 681, "column": 65 }, "end": { "line": 681, "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": 22451, "end": 22454, "loc": { "start": { "line": 681, "column": 66 }, "end": { "line": 681, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22454, "end": 22455, "loc": { "start": { "line": 681, "column": 69 }, "end": { "line": 681, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22455, "end": 22456, "loc": { "start": { "line": 681, "column": 70 }, "end": { "line": 681, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 22457, "end": 22465, "loc": { "start": { "line": 681, "column": 72 }, "end": { "line": 681, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22465, "end": 22466, "loc": { "start": { "line": 681, "column": 80 }, "end": { "line": 681, "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": 22466, "end": 22471, "loc": { "start": { "line": 681, "column": 81 }, "end": { "line": 681, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22471, "end": 22472, "loc": { "start": { "line": 681, "column": 86 }, "end": { "line": 681, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22472, "end": 22473, "loc": { "start": { "line": 681, "column": 87 }, "end": { "line": 681, "column": 88 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22473, "end": 22474, "loc": { "start": { "line": 681, "column": 88 }, "end": { "line": 681, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 22494, "end": 22512, "loc": { "start": { "line": 682, "column": 18 }, "end": { "line": 682, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22512, "end": 22513, "loc": { "start": { "line": 682, "column": 36 }, "end": { "line": 682, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 22513, "end": 22524, "loc": { "start": { "line": 682, "column": 37 }, "end": { "line": 682, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22524, "end": 22525, "loc": { "start": { "line": 682, "column": 48 }, "end": { "line": 682, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22526, "end": 22527, "loc": { "start": { "line": 682, "column": 50 }, "end": { "line": 682, "column": 51 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22528, "end": 22529, "loc": { "start": { "line": 682, "column": 52 }, "end": { "line": 682, "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": 22529, "end": 22529, "loc": { "start": { "line": 682, "column": 53 }, "end": { "line": 682, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22529, "end": 22531, "loc": { "start": { "line": 682, "column": 53 }, "end": { "line": 682, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeParsed", "start": 22531, "end": 22542, "loc": { "start": { "line": 682, "column": 55 }, "end": { "line": 682, "column": 66 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22542, "end": 22543, "loc": { "start": { "line": 682, "column": 66 }, "end": { "line": 682, "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": 22543, "end": 22544, "loc": { "start": { "line": 682, "column": 67 }, "end": { "line": 682, "column": 68 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22544, "end": 22546, "loc": { "start": { "line": 682, "column": 68 }, "end": { "line": 682, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 22546, "end": 22554, "loc": { "start": { "line": 682, "column": 70 }, "end": { "line": 682, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22554, "end": 22555, "loc": { "start": { "line": 682, "column": 78 }, "end": { "line": 682, "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": 22555, "end": 22560, "loc": { "start": { "line": 682, "column": 79 }, "end": { "line": 682, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22560, "end": 22561, "loc": { "start": { "line": 682, "column": 84 }, "end": { "line": 682, "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": 22561, "end": 22561, "loc": { "start": { "line": 682, "column": 85 }, "end": { "line": 682, "column": 85 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22561, "end": 22562, "loc": { "start": { "line": 682, "column": 85 }, "end": { "line": 682, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22562, "end": 22563, "loc": { "start": { "line": 682, "column": 86 }, "end": { "line": 682, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22581, "end": 22582, "loc": { "start": { "line": 683, "column": 16 }, "end": { "line": 683, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22598, "end": 22599, "loc": { "start": { "line": 684, "column": 14 }, "end": { "line": 684, "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": 22600, "end": 22604, "loc": { "start": { "line": 684, "column": 16 }, "end": { "line": 684, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22605, "end": 22606, "loc": { "start": { "line": 684, "column": 21 }, "end": { "line": 684, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 22624, "end": 22642, "loc": { "start": { "line": 685, "column": 16 }, "end": { "line": 685, "column": 34 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22642, "end": 22643, "loc": { "start": { "line": 685, "column": 34 }, "end": { "line": 685, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeButton", "start": 22643, "end": 22654, "loc": { "start": { "line": 685, "column": 35 }, "end": { "line": 685, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22654, "end": 22655, "loc": { "start": { "line": 685, "column": 46 }, "end": { "line": 685, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 22656, "end": 22657, "loc": { "start": { "line": 685, "column": 48 }, "end": { "line": 685, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "themeObj", "start": 22658, "end": 22666, "loc": { "start": { "line": 685, "column": 50 }, "end": { "line": 685, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22666, "end": 22667, "loc": { "start": { "line": 685, "column": 58 }, "end": { "line": 685, "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": 22667, "end": 22672, "loc": { "start": { "line": 685, "column": 59 }, "end": { "line": 685, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22672, "end": 22673, "loc": { "start": { "line": 685, "column": 64 }, "end": { "line": 685, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22689, "end": 22690, "loc": { "start": { "line": 686, "column": 14 }, "end": { "line": 686, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22704, "end": 22705, "loc": { "start": { "line": 687, "column": 12 }, "end": { "line": 687, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22705, "end": 22706, "loc": { "start": { "line": 687, "column": 13 }, "end": { "line": 687, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22706, "end": 22707, "loc": { "start": { "line": 687, "column": 14 }, "end": { "line": 687, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22719, "end": 22720, "loc": { "start": { "line": 688, "column": 10 }, "end": { "line": 688, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22730, "end": 22731, "loc": { "start": { "line": 689, "column": 8 }, "end": { "line": 689, "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": 22732, "end": 22736, "loc": { "start": { "line": 689, "column": 10 }, "end": { "line": 689, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22737, "end": 22738, "loc": { "start": { "line": 689, "column": 15 }, "end": { "line": 689, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 22750, "end": 22757, "loc": { "start": { "line": 690, "column": 10 }, "end": { "line": 690, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22757, "end": 22758, "loc": { "start": { "line": 690, "column": 17 }, "end": { "line": 690, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 22758, "end": 22762, "loc": { "start": { "line": 690, "column": 18 }, "end": { "line": 690, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22762, "end": 22763, "loc": { "start": { "line": 690, "column": 22 }, "end": { "line": 690, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22763, "end": 22764, "loc": { "start": { "line": 690, "column": 23 }, "end": { "line": 690, "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": 22764, "end": 22852, "loc": { "start": { "line": 690, "column": 24 }, "end": { "line": 690, "column": 112 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22852, "end": 22853, "loc": { "start": { "line": 690, "column": 112 }, "end": { "line": 690, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22853, "end": 22854, "loc": { "start": { "line": 690, "column": 113 }, "end": { "line": 690, "column": 114 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22864, "end": 22865, "loc": { "start": { "line": 691, "column": 8 }, "end": { "line": 691, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22873, "end": 22874, "loc": { "start": { "line": 692, "column": 6 }, "end": { "line": 692, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22874, "end": 22875, "loc": { "start": { "line": 692, "column": 7 }, "end": { "line": 692, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22875, "end": 22876, "loc": { "start": { "line": 692, "column": 8 }, "end": { "line": 692, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22882, "end": 22883, "loc": { "start": { "line": 693, "column": 4 }, "end": { "line": 693, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding themeClass, layoutClass to keyboardDOM\r\n ", "start": 22891, "end": 22957, "loc": { "start": { "line": 695, "column": 4 }, "end": { "line": 697, "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": 22963, "end": 22967, "loc": { "start": { "line": 698, "column": 4 }, "end": { "line": 698, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22967, "end": 22968, "loc": { "start": { "line": 698, "column": 8 }, "end": { "line": 698, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 22968, "end": 22979, "loc": { "start": { "line": 698, "column": 9 }, "end": { "line": 698, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 22979, "end": 22980, "loc": { "start": { "line": 698, "column": 20 }, "end": { "line": 698, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 22980, "end": 22989, "loc": { "start": { "line": 698, "column": 21 }, "end": { "line": 698, "column": 30 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 22990, "end": 22992, "loc": { "start": { "line": 698, "column": 31 }, "end": { "line": 698, "column": 33 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22993, "end": 22994, "loc": { "start": { "line": 698, "column": 34 }, "end": { "line": 698, "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": 22994, "end": 22995, "loc": { "start": { "line": 698, "column": 35 }, "end": { "line": 698, "column": 36 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22995, "end": 22997, "loc": { "start": { "line": 698, "column": 36 }, "end": { "line": 698, "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": 22997, "end": 23001, "loc": { "start": { "line": 698, "column": 38 }, "end": { "line": 698, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23001, "end": 23002, "loc": { "start": { "line": 698, "column": 42 }, "end": { "line": 698, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23002, "end": 23009, "loc": { "start": { "line": 698, "column": 43 }, "end": { "line": 698, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23009, "end": 23010, "loc": { "start": { "line": 698, "column": 50 }, "end": { "line": 698, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "theme", "start": 23010, "end": 23015, "loc": { "start": { "line": 698, "column": 51 }, "end": { "line": 698, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23015, "end": 23016, "loc": { "start": { "line": 698, "column": 56 }, "end": { "line": 698, "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": 23016, "end": 23017, "loc": { "start": { "line": 698, "column": 57 }, "end": { "line": 698, "column": 58 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23017, "end": 23019, "loc": { "start": { "line": 698, "column": 58 }, "end": { "line": 698, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutClass", "start": 23019, "end": 23030, "loc": { "start": { "line": 698, "column": 60 }, "end": { "line": 698, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23030, "end": 23031, "loc": { "start": { "line": 698, "column": 71 }, "end": { "line": 698, "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": 23031, "end": 23032, "loc": { "start": { "line": 698, "column": 72 }, "end": { "line": 698, "column": 73 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23032, "end": 23034, "loc": { "start": { "line": 698, "column": 73 }, "end": { "line": 698, "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": 23034, "end": 23038, "loc": { "start": { "line": 698, "column": 75 }, "end": { "line": 698, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23038, "end": 23039, "loc": { "start": { "line": 698, "column": 79 }, "end": { "line": 698, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardPluginClasses", "start": 23039, "end": 23060, "loc": { "start": { "line": 698, "column": 80 }, "end": { "line": 698, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23060, "end": 23061, "loc": { "start": { "line": 698, "column": 101 }, "end": { "line": 698, "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": 23061, "end": 23061, "loc": { "start": { "line": 698, "column": 102 }, "end": { "line": 698, "column": 102 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23061, "end": 23062, "loc": { "start": { "line": 698, "column": 102 }, "end": { "line": 698, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23062, "end": 23063, "loc": { "start": { "line": 698, "column": 103 }, "end": { "line": 698, "column": 104 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each row\r\n ", "start": 23071, "end": 23118, "loc": { "start": { "line": 700, "column": 4 }, "end": { "line": 702, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layout", "start": 23124, "end": 23130, "loc": { "start": { "line": 703, "column": 4 }, "end": { "line": 703, "column": 10 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23130, "end": 23131, "loc": { "start": { "line": 703, "column": 10 }, "end": { "line": 703, "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": 23131, "end": 23135, "loc": { "start": { "line": 703, "column": 11 }, "end": { "line": 703, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23135, "end": 23136, "loc": { "start": { "line": 703, "column": 15 }, "end": { "line": 703, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23136, "end": 23143, "loc": { "start": { "line": 703, "column": 16 }, "end": { "line": 703, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23143, "end": 23144, "loc": { "start": { "line": 703, "column": 23 }, "end": { "line": 703, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 23144, "end": 23154, "loc": { "start": { "line": 703, "column": 24 }, "end": { "line": 703, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23154, "end": 23155, "loc": { "start": { "line": 703, "column": 34 }, "end": { "line": 703, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23155, "end": 23156, "loc": { "start": { "line": 703, "column": 35 }, "end": { "line": 703, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 23156, "end": 23163, "loc": { "start": { "line": 703, "column": 36 }, "end": { "line": 703, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23163, "end": 23164, "loc": { "start": { "line": 703, "column": 43 }, "end": { "line": 703, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23164, "end": 23165, "loc": { "start": { "line": 703, "column": 44 }, "end": { "line": 703, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 23165, "end": 23168, "loc": { "start": { "line": 703, "column": 45 }, "end": { "line": 703, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23168, "end": 23169, "loc": { "start": { "line": 703, "column": 48 }, "end": { "line": 703, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 23170, "end": 23176, "loc": { "start": { "line": 703, "column": 50 }, "end": { "line": 703, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23176, "end": 23177, "loc": { "start": { "line": 703, "column": 56 }, "end": { "line": 703, "column": 57 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23178, "end": 23180, "loc": { "start": { "line": 703, "column": 58 }, "end": { "line": 703, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23181, "end": 23182, "loc": { "start": { "line": 703, "column": 61 }, "end": { "line": 703, "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": 23190, "end": 23193, "loc": { "start": { "line": 704, "column": 6 }, "end": { "line": 704, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 23194, "end": 23202, "loc": { "start": { "line": 704, "column": 10 }, "end": { "line": 704, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23203, "end": 23204, "loc": { "start": { "line": 704, "column": 19 }, "end": { "line": 704, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 23205, "end": 23208, "loc": { "start": { "line": 704, "column": 21 }, "end": { "line": 704, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23208, "end": 23209, "loc": { "start": { "line": 704, "column": 24 }, "end": { "line": 704, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 23209, "end": 23214, "loc": { "start": { "line": 704, "column": 25 }, "end": { "line": 704, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23214, "end": 23215, "loc": { "start": { "line": 704, "column": 30 }, "end": { "line": 704, "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": 23215, "end": 23218, "loc": { "start": { "line": 704, "column": 31 }, "end": { "line": 704, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23218, "end": 23219, "loc": { "start": { "line": 704, "column": 34 }, "end": { "line": 704, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23219, "end": 23220, "loc": { "start": { "line": 704, "column": 35 }, "end": { "line": 704, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating empty row\r\n ", "start": 23230, "end": 23273, "loc": { "start": { "line": 706, "column": 6 }, "end": { "line": 708, "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": 23281, "end": 23284, "loc": { "start": { "line": 709, "column": 6 }, "end": { "line": 709, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23285, "end": 23291, "loc": { "start": { "line": 709, "column": 10 }, "end": { "line": 709, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23292, "end": 23293, "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": "document", "start": 23294, "end": 23302, "loc": { "start": { "line": 709, "column": 19 }, "end": { "line": 709, "column": 27 } } }, { "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": 27 }, "end": { "line": 709, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 23303, "end": 23316, "loc": { "start": { "line": 709, "column": 28 }, "end": { "line": 709, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23316, "end": 23317, "loc": { "start": { "line": 709, "column": 41 }, "end": { "line": 709, "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": 23317, "end": 23322, "loc": { "start": { "line": 709, "column": 42 }, "end": { "line": 709, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23322, "end": 23323, "loc": { "start": { "line": 709, "column": 47 }, "end": { "line": 709, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23323, "end": 23324, "loc": { "start": { "line": 709, "column": 48 }, "end": { "line": 709, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 23332, "end": 23338, "loc": { "start": { "line": 710, "column": 6 }, "end": { "line": 710, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23338, "end": 23339, "loc": { "start": { "line": 710, "column": 12 }, "end": { "line": 710, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 23339, "end": 23348, "loc": { "start": { "line": 710, "column": 13 }, "end": { "line": 710, "column": 22 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 23349, "end": 23351, "loc": { "start": { "line": 710, "column": 23 }, "end": { "line": 710, "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": 23352, "end": 23360, "loc": { "start": { "line": 710, "column": 26 }, "end": { "line": 710, "column": 34 } } }, { "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": 710, "column": 34 }, "end": { "line": 710, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Iterating through each button in row\r\n ", "start": 23371, "end": 23432, "loc": { "start": { "line": 712, "column": 6 }, "end": { "line": 714, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowArray", "start": 23440, "end": 23448, "loc": { "start": { "line": 715, "column": 6 }, "end": { "line": 715, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23448, "end": 23449, "loc": { "start": { "line": 715, "column": 14 }, "end": { "line": 715, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 23449, "end": 23456, "loc": { "start": { "line": 715, "column": 15 }, "end": { "line": 715, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23456, "end": 23457, "loc": { "start": { "line": 715, "column": 22 }, "end": { "line": 715, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23457, "end": 23458, "loc": { "start": { "line": 715, "column": 23 }, "end": { "line": 715, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23458, "end": 23464, "loc": { "start": { "line": 715, "column": 24 }, "end": { "line": 715, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23464, "end": 23465, "loc": { "start": { "line": 715, "column": 30 }, "end": { "line": 715, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 23466, "end": 23472, "loc": { "start": { "line": 715, "column": 32 }, "end": { "line": 715, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23472, "end": 23473, "loc": { "start": { "line": 715, "column": 38 }, "end": { "line": 715, "column": 39 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23474, "end": 23476, "loc": { "start": { "line": 715, "column": 40 }, "end": { "line": 715, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23477, "end": 23478, "loc": { "start": { "line": 715, "column": 43 }, "end": { "line": 715, "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": 23488, "end": 23491, "loc": { "start": { "line": 716, "column": 8 }, "end": { "line": 716, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 23492, "end": 23503, "loc": { "start": { "line": 716, "column": 12 }, "end": { "line": 716, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23504, "end": 23505, "loc": { "start": { "line": 716, "column": 24 }, "end": { "line": 716, "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": 23506, "end": 23510, "loc": { "start": { "line": 716, "column": 26 }, "end": { "line": 716, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23510, "end": 23511, "loc": { "start": { "line": 716, "column": 30 }, "end": { "line": 716, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 23511, "end": 23520, "loc": { "start": { "line": 716, "column": 31 }, "end": { "line": 716, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23520, "end": 23521, "loc": { "start": { "line": 716, "column": 40 }, "end": { "line": 716, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 23521, "end": 23535, "loc": { "start": { "line": 716, "column": 41 }, "end": { "line": 716, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23535, "end": 23536, "loc": { "start": { "line": 716, "column": 55 }, "end": { "line": 716, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23536, "end": 23542, "loc": { "start": { "line": 716, "column": 56 }, "end": { "line": 716, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23542, "end": 23543, "loc": { "start": { "line": 716, "column": 62 }, "end": { "line": 716, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23543, "end": 23544, "loc": { "start": { "line": 716, "column": 63 }, "end": { "line": 716, "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": 23554, "end": 23557, "loc": { "start": { "line": 717, "column": 8 }, "end": { "line": 717, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 23558, "end": 23574, "loc": { "start": { "line": 717, "column": 12 }, "end": { "line": 717, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23575, "end": 23576, "loc": { "start": { "line": 717, "column": 29 }, "end": { "line": 717, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemesParsed", "start": 23577, "end": 23595, "loc": { "start": { "line": 717, "column": 31 }, "end": { "line": 717, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23595, "end": 23596, "loc": { "start": { "line": 717, "column": 49 }, "end": { "line": 717, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23596, "end": 23602, "loc": { "start": { "line": 717, "column": 50 }, "end": { "line": 717, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23602, "end": 23603, "loc": { "start": { "line": 717, "column": 56 }, "end": { "line": 717, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23603, "end": 23604, "loc": { "start": { "line": 717, "column": 57 }, "end": { "line": 717, "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": 23614, "end": 23617, "loc": { "start": { "line": 718, "column": 8 }, "end": { "line": 718, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 23618, "end": 23635, "loc": { "start": { "line": 718, "column": 12 }, "end": { "line": 718, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23636, "end": 23637, "loc": { "start": { "line": 718, "column": 30 }, "end": { "line": 718, "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": 23638, "end": 23642, "loc": { "start": { "line": 718, "column": 32 }, "end": { "line": 718, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23642, "end": 23643, "loc": { "start": { "line": 718, "column": 36 }, "end": { "line": 718, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "utilities", "start": 23643, "end": 23652, "loc": { "start": { "line": 718, "column": 37 }, "end": { "line": 718, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23652, "end": 23653, "loc": { "start": { "line": 718, "column": 46 }, "end": { "line": 718, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 23653, "end": 23673, "loc": { "start": { "line": 718, "column": 47 }, "end": { "line": 718, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23673, "end": 23674, "loc": { "start": { "line": 718, "column": 67 }, "end": { "line": 718, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 23674, "end": 23680, "loc": { "start": { "line": 718, "column": 68 }, "end": { "line": 718, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23680, "end": 23681, "loc": { "start": { "line": 718, "column": 74 }, "end": { "line": 718, "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": 23682, "end": 23686, "loc": { "start": { "line": 718, "column": 76 }, "end": { "line": 718, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23686, "end": 23687, "loc": { "start": { "line": 718, "column": 80 }, "end": { "line": 718, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23687, "end": 23694, "loc": { "start": { "line": 718, "column": 81 }, "end": { "line": 718, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23694, "end": 23695, "loc": { "start": { "line": 718, "column": 88 }, "end": { "line": 718, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 23695, "end": 23702, "loc": { "start": { "line": 718, "column": 89 }, "end": { "line": 718, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23702, "end": 23703, "loc": { "start": { "line": 718, "column": 96 }, "end": { "line": 718, "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": 23704, "end": 23708, "loc": { "start": { "line": 718, "column": 98 }, "end": { "line": 718, "column": 102 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23708, "end": 23709, "loc": { "start": { "line": 718, "column": 102 }, "end": { "line": 718, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 23709, "end": 23716, "loc": { "start": { "line": 718, "column": 103 }, "end": { "line": 718, "column": 110 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23716, "end": 23717, "loc": { "start": { "line": 718, "column": 110 }, "end": { "line": 718, "column": 111 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 23717, "end": 23729, "loc": { "start": { "line": 718, "column": 111 }, "end": { "line": 718, "column": 123 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23729, "end": 23730, "loc": { "start": { "line": 718, "column": 123 }, "end": { "line": 718, "column": 124 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23730, "end": 23731, "loc": { "start": { "line": 718, "column": 124 }, "end": { "line": 718, "column": 125 } } }, { "type": "CommentBlock", "value": "*\r\n * Creating button\r\n ", "start": 23743, "end": 23787, "loc": { "start": { "line": 720, "column": 8 }, "end": { "line": 722, "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": 23797, "end": 23800, "loc": { "start": { "line": 723, "column": 8 }, "end": { "line": 723, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23801, "end": 23810, "loc": { "start": { "line": 723, "column": 12 }, "end": { "line": 723, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 23811, "end": 23812, "loc": { "start": { "line": 723, "column": 22 }, "end": { "line": 723, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 23813, "end": 23821, "loc": { "start": { "line": 723, "column": 24 }, "end": { "line": 723, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23821, "end": 23822, "loc": { "start": { "line": 723, "column": 32 }, "end": { "line": 723, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 23822, "end": 23835, "loc": { "start": { "line": 723, "column": 33 }, "end": { "line": 723, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23835, "end": 23836, "loc": { "start": { "line": 723, "column": 46 }, "end": { "line": 723, "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": 23836, "end": 23841, "loc": { "start": { "line": 723, "column": 47 }, "end": { "line": 723, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23841, "end": 23842, "loc": { "start": { "line": 723, "column": 52 }, "end": { "line": 723, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23842, "end": 23843, "loc": { "start": { "line": 723, "column": 53 }, "end": { "line": 723, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 23853, "end": 23862, "loc": { "start": { "line": 724, "column": 8 }, "end": { "line": 724, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23862, "end": 23863, "loc": { "start": { "line": 724, "column": 17 }, "end": { "line": 724, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "className", "start": 23863, "end": 23872, "loc": { "start": { "line": 724, "column": 18 }, "end": { "line": 724, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 23873, "end": 23875, "loc": { "start": { "line": 724, "column": 28 }, "end": { "line": 724, "column": 30 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23876, "end": 23877, "loc": { "start": { "line": 724, "column": 31 }, "end": { "line": 724, "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": 23877, "end": 23887, "loc": { "start": { "line": 724, "column": 32 }, "end": { "line": 724, "column": 42 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23887, "end": 23889, "loc": { "start": { "line": 724, "column": 42 }, "end": { "line": 724, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fctBtnClass", "start": 23889, "end": 23900, "loc": { "start": { "line": 724, "column": 44 }, "end": { "line": 724, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23900, "end": 23901, "loc": { "start": { "line": 724, "column": 55 }, "end": { "line": 724, "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": 23901, "end": 23901, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 56 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23901, "end": 23903, "loc": { "start": { "line": 724, "column": 56 }, "end": { "line": 724, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 23903, "end": 23919, "loc": { "start": { "line": 724, "column": 58 }, "end": { "line": 724, "column": 74 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23920, "end": 23921, "loc": { "start": { "line": 724, "column": 75 }, "end": { "line": 724, "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": 23922, "end": 23925, "loc": { "start": { "line": 724, "column": 77 }, "end": { "line": 724, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 23925, "end": 23926, "loc": { "start": { "line": 724, "column": 80 }, "end": { "line": 724, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonThemeClass", "start": 23926, "end": 23942, "loc": { "start": { "line": 724, "column": 81 }, "end": { "line": 724, "column": 97 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23943, "end": 23944, "loc": { "start": { "line": 724, "column": 98 }, "end": { "line": 724, "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": 23945, "end": 23947, "loc": { "start": { "line": 724, "column": 100 }, "end": { "line": 724, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23947, "end": 23948, "loc": { "start": { "line": 724, "column": 102 }, "end": { "line": 724, "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": 23948, "end": 23948, "loc": { "start": { "line": 724, "column": 103 }, "end": { "line": 724, "column": 103 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23948, "end": 23949, "loc": { "start": { "line": 724, "column": 103 }, "end": { "line": 724, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 23949, "end": 23950, "loc": { "start": { "line": 724, "column": 104 }, "end": { "line": 724, "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": 23970, "end": 23972, "loc": { "start": { "line": 726, "column": 8 }, "end": { "line": 726, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23973, "end": 23974, "loc": { "start": { "line": 726, "column": 11 }, "end": { "line": 726, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 23974, "end": 23988, "loc": { "start": { "line": 726, "column": 12 }, "end": { "line": 726, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23988, "end": 23989, "loc": { "start": { "line": 726, "column": 26 }, "end": { "line": 726, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 23990, "end": 23991, "loc": { "start": { "line": 726, "column": 28 }, "end": { "line": 726, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24003, "end": 24012, "loc": { "start": { "line": 727, "column": 10 }, "end": { "line": 727, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24012, "end": 24013, "loc": { "start": { "line": 727, "column": 19 }, "end": { "line": 727, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ontouchstart", "start": 24013, "end": 24025, "loc": { "start": { "line": 727, "column": 20 }, "end": { "line": 727, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24026, "end": 24027, "loc": { "start": { "line": 727, "column": 33 }, "end": { "line": 727, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24028, "end": 24029, "loc": { "start": { "line": 727, "column": 35 }, "end": { "line": 727, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24029, "end": 24030, "loc": { "start": { "line": 727, "column": 36 }, "end": { "line": 727, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24030, "end": 24031, "loc": { "start": { "line": 727, "column": 37 }, "end": { "line": 727, "column": 38 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24032, "end": 24034, "loc": { "start": { "line": 727, "column": 39 }, "end": { "line": 727, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24035, "end": 24036, "loc": { "start": { "line": 727, "column": 42 }, "end": { "line": 727, "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": 24050, "end": 24054, "loc": { "start": { "line": 728, "column": 12 }, "end": { "line": 728, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24054, "end": 24055, "loc": { "start": { "line": 728, "column": 16 }, "end": { "line": 728, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 24055, "end": 24074, "loc": { "start": { "line": 728, "column": 17 }, "end": { "line": 728, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24074, "end": 24075, "loc": { "start": { "line": 728, "column": 36 }, "end": { "line": 728, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24075, "end": 24081, "loc": { "start": { "line": 728, "column": 37 }, "end": { "line": 728, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24081, "end": 24082, "loc": { "start": { "line": 728, "column": 43 }, "end": { "line": 728, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24082, "end": 24083, "loc": { "start": { "line": 728, "column": 44 }, "end": { "line": 728, "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": 24097, "end": 24101, "loc": { "start": { "line": 729, "column": 12 }, "end": { "line": 729, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24101, "end": 24102, "loc": { "start": { "line": 729, "column": 16 }, "end": { "line": 729, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 24102, "end": 24123, "loc": { "start": { "line": 729, "column": 17 }, "end": { "line": 729, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24123, "end": 24124, "loc": { "start": { "line": 729, "column": 38 }, "end": { "line": 729, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24124, "end": 24130, "loc": { "start": { "line": 729, "column": 39 }, "end": { "line": 729, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24130, "end": 24131, "loc": { "start": { "line": 729, "column": 45 }, "end": { "line": 729, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24132, "end": 24133, "loc": { "start": { "line": 729, "column": 47 }, "end": { "line": 729, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24133, "end": 24134, "loc": { "start": { "line": 729, "column": 48 }, "end": { "line": 729, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24134, "end": 24135, "loc": { "start": { "line": 729, "column": 49 }, "end": { "line": 729, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24147, "end": 24148, "loc": { "start": { "line": 730, "column": 10 }, "end": { "line": 730, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24160, "end": 24169, "loc": { "start": { "line": 731, "column": 10 }, "end": { "line": 731, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24169, "end": 24170, "loc": { "start": { "line": 731, "column": 19 }, "end": { "line": 731, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ontouchend", "start": 24170, "end": 24180, "loc": { "start": { "line": 731, "column": 20 }, "end": { "line": 731, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24181, "end": 24182, "loc": { "start": { "line": 731, "column": 31 }, "end": { "line": 731, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24183, "end": 24184, "loc": { "start": { "line": 731, "column": 33 }, "end": { "line": 731, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24185, "end": 24187, "loc": { "start": { "line": 731, "column": 35 }, "end": { "line": 731, "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": 24188, "end": 24192, "loc": { "start": { "line": 731, "column": 38 }, "end": { "line": 731, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24192, "end": 24193, "loc": { "start": { "line": 731, "column": 42 }, "end": { "line": 731, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 24193, "end": 24212, "loc": { "start": { "line": 731, "column": 43 }, "end": { "line": 731, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24212, "end": 24213, "loc": { "start": { "line": 731, "column": 62 }, "end": { "line": 731, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24213, "end": 24214, "loc": { "start": { "line": 731, "column": 63 }, "end": { "line": 731, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24214, "end": 24215, "loc": { "start": { "line": 731, "column": 64 }, "end": { "line": 731, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24227, "end": 24236, "loc": { "start": { "line": 732, "column": 10 }, "end": { "line": 732, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24236, "end": 24237, "loc": { "start": { "line": 732, "column": 19 }, "end": { "line": 732, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ontouchcancel", "start": 24237, "end": 24250, "loc": { "start": { "line": 732, "column": 20 }, "end": { "line": 732, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24251, "end": 24252, "loc": { "start": { "line": 732, "column": 34 }, "end": { "line": 732, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24253, "end": 24254, "loc": { "start": { "line": 732, "column": 36 }, "end": { "line": 732, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24255, "end": 24257, "loc": { "start": { "line": 732, "column": 38 }, "end": { "line": 732, "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": 24258, "end": 24262, "loc": { "start": { "line": 732, "column": 41 }, "end": { "line": 732, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24262, "end": 24263, "loc": { "start": { "line": 732, "column": 45 }, "end": { "line": 732, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 24263, "end": 24282, "loc": { "start": { "line": 732, "column": 46 }, "end": { "line": 732, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24282, "end": 24283, "loc": { "start": { "line": 732, "column": 65 }, "end": { "line": 732, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24283, "end": 24284, "loc": { "start": { "line": 732, "column": 66 }, "end": { "line": 732, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24284, "end": 24285, "loc": { "start": { "line": 732, "column": 67 }, "end": { "line": 732, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24295, "end": 24296, "loc": { "start": { "line": 733, "column": 8 }, "end": { "line": 733, "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": 24297, "end": 24301, "loc": { "start": { "line": 733, "column": 10 }, "end": { "line": 733, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24302, "end": 24303, "loc": { "start": { "line": 733, "column": 15 }, "end": { "line": 733, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24315, "end": 24324, "loc": { "start": { "line": 734, "column": 10 }, "end": { "line": 734, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24324, "end": 24325, "loc": { "start": { "line": 734, "column": 19 }, "end": { "line": 734, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onclick", "start": 24325, "end": 24332, "loc": { "start": { "line": 734, "column": 20 }, "end": { "line": 734, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24333, "end": 24334, "loc": { "start": { "line": 734, "column": 28 }, "end": { "line": 734, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24335, "end": 24336, "loc": { "start": { "line": 734, "column": 30 }, "end": { "line": 734, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24336, "end": 24337, "loc": { "start": { "line": 734, "column": 31 }, "end": { "line": 734, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24338, "end": 24340, "loc": { "start": { "line": 734, "column": 33 }, "end": { "line": 734, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24341, "end": 24342, "loc": { "start": { "line": 734, "column": 36 }, "end": { "line": 734, "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": 24356, "end": 24360, "loc": { "start": { "line": 735, "column": 12 }, "end": { "line": 735, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24360, "end": 24361, "loc": { "start": { "line": 735, "column": 16 }, "end": { "line": 735, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMouseHold", "start": 24361, "end": 24372, "loc": { "start": { "line": 735, "column": 17 }, "end": { "line": 735, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24373, "end": 24374, "loc": { "start": { "line": 735, "column": 29 }, "end": { "line": 735, "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": 24375, "end": 24380, "loc": { "start": { "line": 735, "column": 31 }, "end": { "line": 735, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24380, "end": 24381, "loc": { "start": { "line": 735, "column": 36 }, "end": { "line": 735, "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": 24395, "end": 24399, "loc": { "start": { "line": 736, "column": 12 }, "end": { "line": 736, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24399, "end": 24400, "loc": { "start": { "line": 736, "column": 16 }, "end": { "line": 736, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonClicked", "start": 24400, "end": 24419, "loc": { "start": { "line": 736, "column": 17 }, "end": { "line": 736, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24419, "end": 24420, "loc": { "start": { "line": 736, "column": 36 }, "end": { "line": 736, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24420, "end": 24426, "loc": { "start": { "line": 736, "column": 37 }, "end": { "line": 736, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24426, "end": 24427, "loc": { "start": { "line": 736, "column": 43 }, "end": { "line": 736, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24427, "end": 24428, "loc": { "start": { "line": 736, "column": 44 }, "end": { "line": 736, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24440, "end": 24441, "loc": { "start": { "line": 737, "column": 10 }, "end": { "line": 737, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24453, "end": 24462, "loc": { "start": { "line": 738, "column": 10 }, "end": { "line": 738, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24462, "end": 24463, "loc": { "start": { "line": 738, "column": 19 }, "end": { "line": 738, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmousedown", "start": 24463, "end": 24474, "loc": { "start": { "line": 738, "column": 20 }, "end": { "line": 738, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24475, "end": 24476, "loc": { "start": { "line": 738, "column": 32 }, "end": { "line": 738, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24477, "end": 24478, "loc": { "start": { "line": 738, "column": 34 }, "end": { "line": 738, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24478, "end": 24479, "loc": { "start": { "line": 738, "column": 35 }, "end": { "line": 738, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24479, "end": 24480, "loc": { "start": { "line": 738, "column": 36 }, "end": { "line": 738, "column": 37 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24481, "end": 24483, "loc": { "start": { "line": 738, "column": 38 }, "end": { "line": 738, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24484, "end": 24485, "loc": { "start": { "line": 738, "column": 41 }, "end": { "line": 738, "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": 24499, "end": 24501, "loc": { "start": { "line": 739, "column": 12 }, "end": { "line": 739, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24502, "end": 24503, "loc": { "start": { "line": 739, "column": 15 }, "end": { "line": 739, "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": 24503, "end": 24507, "loc": { "start": { "line": 739, "column": 16 }, "end": { "line": 739, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24507, "end": 24508, "loc": { "start": { "line": 739, "column": 20 }, "end": { "line": 739, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 24508, "end": 24515, "loc": { "start": { "line": 739, "column": 21 }, "end": { "line": 739, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24515, "end": 24516, "loc": { "start": { "line": 739, "column": 28 }, "end": { "line": 739, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventMouseDownDefault", "start": 24516, "end": 24539, "loc": { "start": { "line": 739, "column": 29 }, "end": { "line": 739, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24539, "end": 24540, "loc": { "start": { "line": 739, "column": 52 }, "end": { "line": 739, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24541, "end": 24542, "loc": { "start": { "line": 739, "column": 54 }, "end": { "line": 739, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24542, "end": 24543, "loc": { "start": { "line": 739, "column": 55 }, "end": { "line": 739, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 24543, "end": 24557, "loc": { "start": { "line": 739, "column": 56 }, "end": { "line": 739, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24557, "end": 24558, "loc": { "start": { "line": 739, "column": 70 }, "end": { "line": 739, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24558, "end": 24559, "loc": { "start": { "line": 739, "column": 71 }, "end": { "line": 739, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24559, "end": 24560, "loc": { "start": { "line": 739, "column": 72 }, "end": { "line": 739, "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": 24574, "end": 24578, "loc": { "start": { "line": 740, "column": 12 }, "end": { "line": 740, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24578, "end": 24579, "loc": { "start": { "line": 740, "column": 16 }, "end": { "line": 740, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseDown", "start": 24579, "end": 24600, "loc": { "start": { "line": 740, "column": 17 }, "end": { "line": 740, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24600, "end": 24601, "loc": { "start": { "line": 740, "column": 38 }, "end": { "line": 740, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24601, "end": 24607, "loc": { "start": { "line": 740, "column": 39 }, "end": { "line": 740, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24607, "end": 24608, "loc": { "start": { "line": 740, "column": 45 }, "end": { "line": 740, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "e", "start": 24609, "end": 24610, "loc": { "start": { "line": 740, "column": 47 }, "end": { "line": 740, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24610, "end": 24611, "loc": { "start": { "line": 740, "column": 48 }, "end": { "line": 740, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24611, "end": 24612, "loc": { "start": { "line": 740, "column": 49 }, "end": { "line": 740, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24624, "end": 24625, "loc": { "start": { "line": 741, "column": 10 }, "end": { "line": 741, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24635, "end": 24636, "loc": { "start": { "line": 742, "column": 8 }, "end": { "line": 742, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding identifier\r\n ", "start": 24656, "end": 24702, "loc": { "start": { "line": 744, "column": 8 }, "end": { "line": 746, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 24712, "end": 24721, "loc": { "start": { "line": 747, "column": 8 }, "end": { "line": 747, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24721, "end": 24722, "loc": { "start": { "line": 747, "column": 17 }, "end": { "line": 747, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 24722, "end": 24734, "loc": { "start": { "line": 747, "column": 18 }, "end": { "line": 747, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24734, "end": 24735, "loc": { "start": { "line": 747, "column": 30 }, "end": { "line": 747, "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": 24735, "end": 24747, "loc": { "start": { "line": 747, "column": 31 }, "end": { "line": 747, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24747, "end": 24748, "loc": { "start": { "line": 747, "column": 43 }, "end": { "line": 747, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 24749, "end": 24755, "loc": { "start": { "line": 747, "column": 45 }, "end": { "line": 747, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24755, "end": 24756, "loc": { "start": { "line": 747, "column": 51 }, "end": { "line": 747, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24756, "end": 24757, "loc": { "start": { "line": 747, "column": 52 }, "end": { "line": 747, "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": 24769, "end": 24924, "loc": { "start": { "line": 749, "column": 8 }, "end": { "line": 752, "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": 24934, "end": 24937, "loc": { "start": { "line": 753, "column": 8 }, "end": { "line": 753, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 24938, "end": 24947, "loc": { "start": { "line": 753, "column": 12 }, "end": { "line": 753, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 24948, "end": 24949, "loc": { "start": { "line": 753, "column": 22 }, "end": { "line": 753, "column": 23 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24950, "end": 24951, "loc": { "start": { "line": 753, "column": 24 }, "end": { "line": 753, "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": 24951, "end": 24951, "loc": { "start": { "line": 753, "column": 25 }, "end": { "line": 753, "column": 25 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24951, "end": 24953, "loc": { "start": { "line": 753, "column": 25 }, "end": { "line": 753, "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": 24953, "end": 24957, "loc": { "start": { "line": 753, "column": 27 }, "end": { "line": 753, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24957, "end": 24958, "loc": { "start": { "line": 753, "column": 31 }, "end": { "line": 753, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 24958, "end": 24965, "loc": { "start": { "line": 753, "column": 32 }, "end": { "line": 753, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24965, "end": 24966, "loc": { "start": { "line": 753, "column": 39 }, "end": { "line": 753, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layoutName", "start": 24966, "end": 24976, "loc": { "start": { "line": 753, "column": 40 }, "end": { "line": 753, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24976, "end": 24977, "loc": { "start": { "line": 753, "column": 50 }, "end": { "line": 753, "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": 24977, "end": 24979, "loc": { "start": { "line": 753, "column": 51 }, "end": { "line": 753, "column": 53 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24979, "end": 24981, "loc": { "start": { "line": 753, "column": 53 }, "end": { "line": 753, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rIndex", "start": 24981, "end": 24987, "loc": { "start": { "line": 753, "column": 55 }, "end": { "line": 753, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24987, "end": 24988, "loc": { "start": { "line": 753, "column": 61 }, "end": { "line": 753, "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": 24988, "end": 24989, "loc": { "start": { "line": 753, "column": 62 }, "end": { "line": 753, "column": 63 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24989, "end": 24991, "loc": { "start": { "line": 753, "column": 63 }, "end": { "line": 753, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bIndex", "start": 24991, "end": 24997, "loc": { "start": { "line": 753, "column": 65 }, "end": { "line": 753, "column": 71 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24997, "end": 24998, "loc": { "start": { "line": 753, "column": 71 }, "end": { "line": 753, "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": 24998, "end": 24998, "loc": { "start": { "line": 753, "column": 72 }, "end": { "line": 753, "column": 72 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24998, "end": 24999, "loc": { "start": { "line": 753, "column": 72 }, "end": { "line": 753, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 24999, "end": 25000, "loc": { "start": { "line": 753, "column": 73 }, "end": { "line": 753, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25010, "end": 25019, "loc": { "start": { "line": 754, "column": 8 }, "end": { "line": 754, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25019, "end": 25020, "loc": { "start": { "line": 754, "column": 17 }, "end": { "line": 754, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 25020, "end": 25032, "loc": { "start": { "line": 754, "column": 18 }, "end": { "line": 754, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25032, "end": 25033, "loc": { "start": { "line": 754, "column": 30 }, "end": { "line": 754, "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": 25033, "end": 25048, "loc": { "start": { "line": 754, "column": 31 }, "end": { "line": 754, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25048, "end": 25049, "loc": { "start": { "line": 754, "column": 46 }, "end": { "line": 754, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonUID", "start": 25050, "end": 25059, "loc": { "start": { "line": 754, "column": 48 }, "end": { "line": 754, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25059, "end": 25060, "loc": { "start": { "line": 754, "column": 57 }, "end": { "line": 754, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25060, "end": 25061, "loc": { "start": { "line": 754, "column": 58 }, "end": { "line": 754, "column": 59 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding display label\r\n ", "start": 25073, "end": 25122, "loc": { "start": { "line": 756, "column": 8 }, "end": { "line": 758, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25132, "end": 25141, "loc": { "start": { "line": 759, "column": 8 }, "end": { "line": 759, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25141, "end": 25142, "loc": { "start": { "line": 759, "column": 17 }, "end": { "line": 759, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 25142, "end": 25154, "loc": { "start": { "line": 759, "column": 18 }, "end": { "line": 759, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25154, "end": 25155, "loc": { "start": { "line": 759, "column": 30 }, "end": { "line": 759, "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": 25155, "end": 25174, "loc": { "start": { "line": 759, "column": 31 }, "end": { "line": 759, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25174, "end": 25175, "loc": { "start": { "line": 759, "column": 50 }, "end": { "line": 759, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 25176, "end": 25193, "loc": { "start": { "line": 759, "column": 52 }, "end": { "line": 759, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25193, "end": 25194, "loc": { "start": { "line": 759, "column": 69 }, "end": { "line": 759, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25194, "end": 25195, "loc": { "start": { "line": 759, "column": 70 }, "end": { "line": 759, "column": 71 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding button label to button\r\n ", "start": 25207, "end": 25265, "loc": { "start": { "line": 761, "column": 8 }, "end": { "line": 763, "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": 25275, "end": 25278, "loc": { "start": { "line": 764, "column": 8 }, "end": { "line": 764, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 25279, "end": 25292, "loc": { "start": { "line": 764, "column": 12 }, "end": { "line": 764, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25293, "end": 25294, "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": "document", "start": 25295, "end": 25303, "loc": { "start": { "line": 764, "column": 28 }, "end": { "line": 764, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25303, "end": 25304, "loc": { "start": { "line": 764, "column": 36 }, "end": { "line": 764, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElement", "start": 25304, "end": 25317, "loc": { "start": { "line": 764, "column": 37 }, "end": { "line": 764, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25317, "end": 25318, "loc": { "start": { "line": 764, "column": 50 }, "end": { "line": 764, "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": 25318, "end": 25324, "loc": { "start": { "line": 764, "column": 51 }, "end": { "line": 764, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25324, "end": 25325, "loc": { "start": { "line": 764, "column": 57 }, "end": { "line": 764, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25325, "end": 25326, "loc": { "start": { "line": 764, "column": 58 }, "end": { "line": 764, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 25336, "end": 25349, "loc": { "start": { "line": 765, "column": 8 }, "end": { "line": 765, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25349, "end": 25350, "loc": { "start": { "line": 765, "column": 21 }, "end": { "line": 765, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHTML", "start": 25350, "end": 25359, "loc": { "start": { "line": 765, "column": 22 }, "end": { "line": 765, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25360, "end": 25361, "loc": { "start": { "line": 765, "column": 32 }, "end": { "line": 765, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDisplayName", "start": 25362, "end": 25379, "loc": { "start": { "line": 765, "column": 34 }, "end": { "line": 765, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25379, "end": 25380, "loc": { "start": { "line": 765, "column": 51 }, "end": { "line": 765, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25390, "end": 25399, "loc": { "start": { "line": 766, "column": 8 }, "end": { "line": 766, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25399, "end": 25400, "loc": { "start": { "line": 766, "column": 17 }, "end": { "line": 766, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 25400, "end": 25411, "loc": { "start": { "line": 766, "column": 18 }, "end": { "line": 766, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25411, "end": 25412, "loc": { "start": { "line": 766, "column": 29 }, "end": { "line": 766, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonSpanDOM", "start": 25412, "end": 25425, "loc": { "start": { "line": 766, "column": 30 }, "end": { "line": 766, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25425, "end": 25426, "loc": { "start": { "line": 766, "column": 43 }, "end": { "line": 766, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25426, "end": 25427, "loc": { "start": { "line": 766, "column": 44 }, "end": { "line": 766, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Adding to buttonElements\r\n ", "start": 25439, "end": 25492, "loc": { "start": { "line": 768, "column": 8 }, "end": { "line": 770, "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": 25502, "end": 25504, "loc": { "start": { "line": 771, "column": 8 }, "end": { "line": 771, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25504, "end": 25505, "loc": { "start": { "line": 771, "column": 10 }, "end": { "line": 771, "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": 25505, "end": 25506, "loc": { "start": { "line": 771, "column": 11 }, "end": { "line": 771, "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": 25506, "end": 25510, "loc": { "start": { "line": 771, "column": 12 }, "end": { "line": 771, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25510, "end": 25511, "loc": { "start": { "line": 771, "column": 16 }, "end": { "line": 771, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 25511, "end": 25525, "loc": { "start": { "line": 771, "column": 17 }, "end": { "line": 771, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25525, "end": 25526, "loc": { "start": { "line": 771, "column": 31 }, "end": { "line": 771, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 25526, "end": 25532, "loc": { "start": { "line": 771, "column": 32 }, "end": { "line": 771, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25532, "end": 25533, "loc": { "start": { "line": 771, "column": 38 }, "end": { "line": 771, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25533, "end": 25534, "loc": { "start": { "line": 771, "column": 39 }, "end": { "line": 771, "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": 25546, "end": 25550, "loc": { "start": { "line": 772, "column": 10 }, "end": { "line": 772, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25550, "end": 25551, "loc": { "start": { "line": 772, "column": 14 }, "end": { "line": 772, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 25551, "end": 25565, "loc": { "start": { "line": 772, "column": 15 }, "end": { "line": 772, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25565, "end": 25566, "loc": { "start": { "line": 772, "column": 29 }, "end": { "line": 772, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 25566, "end": 25572, "loc": { "start": { "line": 772, "column": 30 }, "end": { "line": 772, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25572, "end": 25573, "loc": { "start": { "line": 772, "column": 36 }, "end": { "line": 772, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 25574, "end": 25575, "loc": { "start": { "line": 772, "column": 38 }, "end": { "line": 772, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25576, "end": 25577, "loc": { "start": { "line": 772, "column": 40 }, "end": { "line": 772, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25577, "end": 25578, "loc": { "start": { "line": 772, "column": 41 }, "end": { "line": 772, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25578, "end": 25579, "loc": { "start": { "line": 772, "column": 42 }, "end": { "line": 772, "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": 25591, "end": 25595, "loc": { "start": { "line": 774, "column": 8 }, "end": { "line": 774, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25595, "end": 25596, "loc": { "start": { "line": 774, "column": 12 }, "end": { "line": 774, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonElements", "start": 25596, "end": 25610, "loc": { "start": { "line": 774, "column": 13 }, "end": { "line": 774, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25610, "end": 25611, "loc": { "start": { "line": 774, "column": 27 }, "end": { "line": 774, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 25611, "end": 25617, "loc": { "start": { "line": 774, "column": 28 }, "end": { "line": 774, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25617, "end": 25618, "loc": { "start": { "line": 774, "column": 34 }, "end": { "line": 774, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25618, "end": 25619, "loc": { "start": { "line": 774, "column": 35 }, "end": { "line": 774, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 25619, "end": 25623, "loc": { "start": { "line": 774, "column": 36 }, "end": { "line": 774, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25623, "end": 25624, "loc": { "start": { "line": 774, "column": 40 }, "end": { "line": 774, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25624, "end": 25633, "loc": { "start": { "line": 774, "column": 41 }, "end": { "line": 774, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25633, "end": 25634, "loc": { "start": { "line": 774, "column": 50 }, "end": { "line": 774, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25634, "end": 25635, "loc": { "start": { "line": 774, "column": 51 }, "end": { "line": 774, "column": 52 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending button to row\r\n ", "start": 25647, "end": 25699, "loc": { "start": { "line": 776, "column": 8 }, "end": { "line": 778, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 25709, "end": 25715, "loc": { "start": { "line": 779, "column": 8 }, "end": { "line": 779, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25715, "end": 25716, "loc": { "start": { "line": 779, "column": 14 }, "end": { "line": 779, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 25716, "end": 25727, "loc": { "start": { "line": 779, "column": 15 }, "end": { "line": 779, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25727, "end": 25728, "loc": { "start": { "line": 779, "column": 26 }, "end": { "line": 779, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonDOM", "start": 25728, "end": 25737, "loc": { "start": { "line": 779, "column": 27 }, "end": { "line": 779, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25737, "end": 25738, "loc": { "start": { "line": 779, "column": 36 }, "end": { "line": 779, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25738, "end": 25739, "loc": { "start": { "line": 779, "column": 37 }, "end": { "line": 779, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25749, "end": 25750, "loc": { "start": { "line": 781, "column": 6 }, "end": { "line": 781, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25750, "end": 25751, "loc": { "start": { "line": 781, "column": 7 }, "end": { "line": 781, "column": 8 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25751, "end": 25752, "loc": { "start": { "line": 781, "column": 8 }, "end": { "line": 781, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Appending row to keyboard\r\n ", "start": 25762, "end": 25812, "loc": { "start": { "line": 783, "column": 6 }, "end": { "line": 785, "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": 25820, "end": 25824, "loc": { "start": { "line": 786, "column": 6 }, "end": { "line": 786, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25824, "end": 25825, "loc": { "start": { "line": 786, "column": 10 }, "end": { "line": 786, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyboardDOM", "start": 25825, "end": 25836, "loc": { "start": { "line": 786, "column": 11 }, "end": { "line": 786, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25836, "end": 25837, "loc": { "start": { "line": 786, "column": 22 }, "end": { "line": 786, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "appendChild", "start": 25837, "end": 25848, "loc": { "start": { "line": 786, "column": 23 }, "end": { "line": 786, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25848, "end": 25849, "loc": { "start": { "line": 786, "column": 34 }, "end": { "line": 786, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowDOM", "start": 25849, "end": 25855, "loc": { "start": { "line": 786, "column": 35 }, "end": { "line": 786, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25855, "end": 25856, "loc": { "start": { "line": 786, "column": 41 }, "end": { "line": 786, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25856, "end": 25857, "loc": { "start": { "line": 786, "column": 42 }, "end": { "line": 786, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25863, "end": 25864, "loc": { "start": { "line": 787, "column": 4 }, "end": { "line": 787, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25864, "end": 25865, "loc": { "start": { "line": 787, "column": 5 }, "end": { "line": 787, "column": 6 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25865, "end": 25866, "loc": { "start": { "line": 787, "column": 6 }, "end": { "line": 787, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onRender\r\n ", "start": 25874, "end": 25911, "loc": { "start": { "line": 789, "column": 4 }, "end": { "line": 791, "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": 25917, "end": 25921, "loc": { "start": { "line": 792, "column": 4 }, "end": { "line": 792, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25921, "end": 25922, "loc": { "start": { "line": 792, "column": 8 }, "end": { "line": 792, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 25922, "end": 25930, "loc": { "start": { "line": 792, "column": 9 }, "end": { "line": 792, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25930, "end": 25931, "loc": { "start": { "line": 792, "column": 17 }, "end": { "line": 792, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25931, "end": 25932, "loc": { "start": { "line": 792, "column": 18 }, "end": { "line": 792, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25932, "end": 25933, "loc": { "start": { "line": 792, "column": 19 }, "end": { "line": 792, "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": 25941, "end": 25943, "loc": { "start": { "line": 794, "column": 4 }, "end": { "line": 794, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25943, "end": 25944, "loc": { "start": { "line": 794, "column": 6 }, "end": { "line": 794, "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": 25944, "end": 25945, "loc": { "start": { "line": 794, "column": 7 }, "end": { "line": 794, "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": 25945, "end": 25949, "loc": { "start": { "line": 794, "column": 8 }, "end": { "line": 794, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 25949, "end": 25950, "loc": { "start": { "line": 794, "column": 12 }, "end": { "line": 794, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 25950, "end": 25961, "loc": { "start": { "line": 794, "column": 13 }, "end": { "line": 794, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25961, "end": 25962, "loc": { "start": { "line": 794, "column": 24 }, "end": { "line": 794, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 25962, "end": 25963, "loc": { "start": { "line": 794, "column": 25 }, "end": { "line": 794, "column": 26 } } }, { "type": "CommentBlock", "value": "*\r\n * Ensures that onInit is only called once per instantiation\r\n ", "start": 25971, "end": 26053, "loc": { "start": { "line": 795, "column": 6 }, "end": { "line": 797, "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": 26061, "end": 26065, "loc": { "start": { "line": 798, "column": 6 }, "end": { "line": 798, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26065, "end": 26066, "loc": { "start": { "line": 798, "column": 10 }, "end": { "line": 798, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialized", "start": 26066, "end": 26077, "loc": { "start": { "line": 798, "column": 11 }, "end": { "line": 798, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26078, "end": 26079, "loc": { "start": { "line": 798, "column": 23 }, "end": { "line": 798, "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": 26080, "end": 26084, "loc": { "start": { "line": 798, "column": 25 }, "end": { "line": 798, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26084, "end": 26085, "loc": { "start": { "line": 798, "column": 29 }, "end": { "line": 798, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * Handling mouseup\r\n ", "start": 26095, "end": 26136, "loc": { "start": { "line": 800, "column": 6 }, "end": { "line": 802, "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": 26144, "end": 26146, "loc": { "start": { "line": 803, "column": 6 }, "end": { "line": 803, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26147, "end": 26148, "loc": { "start": { "line": 803, "column": 9 }, "end": { "line": 803, "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": 26148, "end": 26149, "loc": { "start": { "line": 803, "column": 10 }, "end": { "line": 803, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "useTouchEvents", "start": 26149, "end": 26163, "loc": { "start": { "line": 803, "column": 11 }, "end": { "line": 803, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26163, "end": 26164, "loc": { "start": { "line": 803, "column": 25 }, "end": { "line": 803, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26165, "end": 26166, "loc": { "start": { "line": 803, "column": 27 }, "end": { "line": 803, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 26176, "end": 26184, "loc": { "start": { "line": 804, "column": 8 }, "end": { "line": 804, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26184, "end": 26185, "loc": { "start": { "line": 804, "column": 16 }, "end": { "line": 804, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onmouseup", "start": 26185, "end": 26194, "loc": { "start": { "line": 804, "column": 17 }, "end": { "line": 804, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 26195, "end": 26196, "loc": { "start": { "line": 804, "column": 27 }, "end": { "line": 804, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26197, "end": 26198, "loc": { "start": { "line": 804, "column": 29 }, "end": { "line": 804, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26198, "end": 26199, "loc": { "start": { "line": 804, "column": 30 }, "end": { "line": 804, "column": 31 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26200, "end": 26202, "loc": { "start": { "line": 804, "column": 32 }, "end": { "line": 804, "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": 26203, "end": 26207, "loc": { "start": { "line": 804, "column": 35 }, "end": { "line": 804, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26207, "end": 26208, "loc": { "start": { "line": 804, "column": 39 }, "end": { "line": 804, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleButtonMouseUp", "start": 26208, "end": 26227, "loc": { "start": { "line": 804, "column": 40 }, "end": { "line": 804, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26227, "end": 26228, "loc": { "start": { "line": 804, "column": 59 }, "end": { "line": 804, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26228, "end": 26229, "loc": { "start": { "line": 804, "column": 60 }, "end": { "line": 804, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26229, "end": 26230, "loc": { "start": { "line": 804, "column": 61 }, "end": { "line": 804, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26238, "end": 26239, "loc": { "start": { "line": 805, "column": 6 }, "end": { "line": 805, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Calling onInit\r\n ", "start": 26249, "end": 26288, "loc": { "start": { "line": 807, "column": 6 }, "end": { "line": 809, "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": 26296, "end": 26300, "loc": { "start": { "line": 810, "column": 6 }, "end": { "line": 810, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26300, "end": 26301, "loc": { "start": { "line": 810, "column": 10 }, "end": { "line": 810, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onInit", "start": 26301, "end": 26307, "loc": { "start": { "line": 810, "column": 11 }, "end": { "line": 810, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26307, "end": 26308, "loc": { "start": { "line": 810, "column": 17 }, "end": { "line": 810, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26308, "end": 26309, "loc": { "start": { "line": 810, "column": 18 }, "end": { "line": 810, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26309, "end": 26310, "loc": { "start": { "line": 810, "column": 19 }, "end": { "line": 810, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26316, "end": 26317, "loc": { "start": { "line": 811, "column": 4 }, "end": { "line": 811, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26321, "end": 26322, "loc": { "start": { "line": 812, "column": 2 }, "end": { "line": 812, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 26324, "end": 26325, "loc": { "start": { "line": 813, "column": 0 }, "end": { "line": 813, "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": 26329, "end": 26335, "loc": { "start": { "line": 815, "column": 0 }, "end": { "line": 815, "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": 26336, "end": 26343, "loc": { "start": { "line": 815, "column": 7 }, "end": { "line": 815, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SimpleKeyboard", "start": 26344, "end": 26358, "loc": { "start": { "line": 815, "column": 15 }, "end": { "line": 815, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26358, "end": 26359, "loc": { "start": { "line": 815, "column": 29 }, "end": { "line": 815, "column": 30 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 26361, "end": 26361, "loc": { "start": { "line": 816, "column": 0 }, "end": { "line": 816, "column": 0 } } } ] }